Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.889/1.889, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.554e-05, allocations: 4 kB / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 48.7 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5229, allocations: 92.92 MB / 409.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5232, allocations: 78.61 kB / 409.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6586/1.182, allocations: 92.83 MB / 0.4904 GB, free: 86.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/1.182, allocations: 0 / 0.4904 GB, free: 86.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000328/1.182, allocations: 85.73 kB / 0.4905 GB, free: 86.41 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.01815/1.2, allocations: 4.612 MB / 0.495 GB, free: 84.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.201, allocations: 8.281 kB / 0.495 GB, free: 84.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04865/1.249, allocations: 6.734 MB / 0.5015 GB, free: 84.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/1.271, allocations: 6.29 MB / 0.5077 GB, free: 83.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/1.272, allocations: 142.3 kB / 0.5078 GB, free: 83.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/1.273, allocations: 261.8 kB / 0.5081 GB, free: 83.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01543/1.288, allocations: 6.584 MB / 0.5145 GB, free: 83.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/1.311, allocations: 9.555 MB / 0.5238 GB, free: 80.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/1.312, allocations: 65.53 kB / 0.5239 GB, free: 80.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/1.313, allocations: 33.2 kB / 0.5239 GB, free: 80.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/1.315, allocations: 1.021 MB / 0.5249 GB, free: 80.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/1.377, allocations: 45.91 MB / 0.5698 GB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/1.382, allocations: 3.066 MB / 0.5727 GB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/1.385, allocations: 1.739 MB / 0.5744 GB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/1.388, allocations: 1.936 MB / 0.5763 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/1.388, allocations: 51.66 kB / 0.5764 GB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=186): time 6.111e-06/1.388, allocations: 3.625 kB / 0.5764 GB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=242): time 0.1109/1.499, allocations: 26.25 MB / 0.602 GB, free: 22.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/1.499, allocations: 205.9 kB / 0.6022 GB, free: 22.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005949/1.505, allocations: 3.269 MB / 0.6054 GB, free: 19.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007129/1.505, allocations: 25.7 kB / 0.6054 GB, free: 19.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.508, allocations: 3.281 MB / 0.6086 GB, free: 15.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.509, allocations: 0.8788 MB / 0.6095 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006208/1.51, allocations: 0 / 0.6095 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003558/1.51, allocations: 0.5789 MB / 0.6101 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006131/1.516, allocations: 3.304 MB / 0.6133 GB, free: 10.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009268/1.526, allocations: 7.032 MB / 0.6202 GB, free: 2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.536, allocations: 4.716 MB / 0.6248 GB, free: 13.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.536, allocations: 36 kB / 0.6248 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=852) (initialization): time 0.3489/1.885, allocations: 14.66 MB / 0.6391 GB, free: 86.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/1.885, allocations: 66.12 kB / 0.6392 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002881/1.886, allocations: 132 kB / 0.6393 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04301/1.929, allocations: 5.924 MB / 0.6451 GB, free: 86.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009885/1.939, allocations: 1.483 MB / 0.6465 GB, free: 86.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04924/1.988, allocations: 22.89 MB / 0.6689 GB, free: 83.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008297/1.996, allocations: 278.3 kB / 0.6692 GB, free: 83.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.998, allocations: 389.1 kB / 0.6695 GB, free: 83.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 770 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001588/1.999, allocations: 446.8 kB / 0.6699 GB, free: 83.53 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04738/2.047, allocations: 10.61 MB / 0.6803 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/2.048, allocations: 371.3 kB / 0.6807 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04798/2.096, allocations: 10.56 MB / 0.691 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-05/2.096, allocations: 27.05 kB / 0.691 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/2.096, allocations: 13.69 kB / 0.691 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/2.097, allocations: 15.59 kB / 0.691 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06917/2.166, allocations: 19.45 MB / 0.71 GB, free: 70.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/2.166, allocations: 3.938 kB / 0.71 GB, free: 70.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/2.17, allocations: 391.4 kB / 0.7104 GB, free: 70.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03524/2.205, allocations: 4.985 MB / 0.7153 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006323/2.206, allocations: 9.312 kB / 0.7153 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03753/2.243, allocations: 18.44 MB / 0.7333 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/2.243, allocations: 7.469 kB / 0.7333 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04982/2.293, allocations: 14.36 MB / 0.7473 GB, free: 38.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003487/2.296, allocations: 0.9288 MB / 0.7482 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.298, allocations: 11.95 kB / 0.7482 GB, free: 37.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004685/2.303, allocations: 138.4 kB / 0.7484 GB, free: 37.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/2.304, allocations: 155 kB / 0.7485 GB, free: 37.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004826/2.305, allocations: 69 kB / 0.7486 GB, free: 37.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005422/2.31, allocations: 2.206 MB / 0.7507 GB, free: 35.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.31, allocations: 0 / 0.7507 GB, free: 35.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00874/2.319, allocations: 1.163 MB / 0.7519 GB, free: 34.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05091/2.37, allocations: 16.18 MB / 0.7677 GB, free: 17.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01548/2.385, allocations: 7.629 MB / 0.7751 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.619e-05/2.385, allocations: 0 / 0.7751 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006262/2.392, allocations: 3.028 MB / 0.7781 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/2.396, allocations: 407.9 kB / 0.7785 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.43, allocations: 11.17 MB / 0.7894 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008315/2.438, allocations: 3.605 MB / 0.7929 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01012/2.448, allocations: 2.038 MB / 0.7949 GB, free: 6.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2929/2.741, allocations: 2.066 MB / 0.7969 GB, free: 96.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/2.741, allocations: 0 / 0.7969 GB, free: 96.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/2.97, allocations: 103.6 MB / 0.898 GB, free: 50.61 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/2.97, allocations: 154.8 kB / 0.8982 GB, free: 50.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.484/8.454, allocations: 0 / 0.8982 GB, free: 50.42 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat