Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.791e-05/4.796e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1884, allocations: 61.89 MB / 410.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5896/0.7781, allocations: 108.5 MB / 0.5067 GB, free: 11.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.7785, allocations: 68.62 kB / 0.5067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4642/1.243, allocations: 95.42 MB / 0.5999 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/1.243, allocations: 0 / 0.5999 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003555/1.243, allocations: 88 kB / 0.6 GB, free: 11.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.02011/1.263, allocations: 4.713 MB / 0.6046 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.263, allocations: 8.031 kB / 0.6046 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003623/1.267, allocations: 0.8036 MB / 0.6054 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/1.285, allocations: 2.236 MB / 0.6076 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3789/1.664, allocations: 4.927 MB / 0.6124 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/1.665, allocations: 328.3 kB / 0.6127 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/1.667, allocations: 429.7 kB / 0.6131 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/1.706, allocations: 11.45 MB / 0.6243 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004422/1.707, allocations: 64.3 kB / 0.6243 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002719/1.71, allocations: 212.7 kB / 0.6245 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003121/1.713, allocations: 1.153 MB / 0.6257 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03696/1.75, allocations: 9.712 MB / 0.6352 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/1.872, allocations: 50.84 MB / 0.6848 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/1.895, allocations: 5.844 MB / 0.6905 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005771/1.901, allocations: 3.141 MB / 0.6936 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01969/1.921, allocations: 9.294 MB / 0.7027 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01873/1.94, allocations: 3.377 MB / 0.706 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=211): time 1.163e-05/1.94, allocations: 3.938 kB / 0.706 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285): time 0.1757/2.115, allocations: 27.17 MB / 0.7325 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/2.115, allocations: 158.5 kB / 0.7326 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008668/2.124, allocations: 3.688 MB / 0.7362 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008722/2.125, allocations: 67.03 kB / 0.7363 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003483/2.129, allocations: 3.26 MB / 0.7395 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/2.13, allocations: 1.043 MB / 0.7405 GB, free: 49.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/2.132, allocations: 135.9 kB / 0.7406 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005119/2.132, allocations: 0.5837 MB / 0.7412 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007884/2.14, allocations: 3.243 MB / 0.7444 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/2.15, allocations: 6.819 MB / 0.751 GB, free: 37.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.161, allocations: 4.663 MB / 0.7556 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/2.161, allocations: 36 kB / 0.7556 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0522/2.213, allocations: 12 MB / 0.7673 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/2.213, allocations: 65.84 kB / 0.7674 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/2.214, allocations: 124 kB / 0.7675 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/2.23, allocations: 2.685 MB / 0.7702 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/2.241, allocations: 1.478 MB / 0.7716 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04256/2.283, allocations: 21.53 MB / 0.7926 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008492/2.292, allocations: 431.3 kB / 0.793 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/2.294, allocations: 391.9 kB / 0.7934 GB, free: 12.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (767): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.001953/2.296, allocations: 0.5995 MB / 0.794 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/2.297, allocations: 406.8 kB / 0.7944 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02682/2.324, allocations: 7.856 MB / 0.8021 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/2.324, allocations: 28 kB / 0.8021 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/2.324, allocations: 12 kB / 0.8021 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.135e-05/2.324, allocations: 15.95 kB / 0.8021 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4295/2.753, allocations: 14.61 MB / 0.8164 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-05/2.754, allocations: 3.297 kB / 0.8164 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004531/2.758, allocations: 397.4 kB / 0.8168 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/2.771, allocations: 2.44 MB / 0.8191 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008476/2.772, allocations: 49.73 kB / 0.8192 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04529/2.817, allocations: 21.35 MB / 0.84 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.817, allocations: 5.906 kB / 0.84 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/2.841, allocations: 8.225 MB / 0.8481 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/2.843, allocations: 457.1 kB / 0.8485 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.845, allocations: 47.53 kB / 0.8486 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/2.85, allocations: 215.5 kB / 0.8488 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/2.851, allocations: 193.1 kB / 0.8489 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006577/2.852, allocations: 73.94 kB / 0.849 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006236/2.858, allocations: 2.566 MB / 0.8515 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/2.858, allocations: 3.094 kB / 0.8515 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009252/2.867, allocations: 1.375 MB / 0.8529 GB, free: 107.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02756/2.895, allocations: 9.698 MB / 0.8623 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02625/2.921, allocations: 8.388 MB / 0.8705 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.921, allocations: 0 / 0.8705 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/2.931, allocations: 3.89 MB / 0.8743 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/2.935, allocations: 439.9 kB / 0.8748 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/2.971, allocations: 11.61 MB / 0.8861 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007756/2.978, allocations: 3.683 MB / 0.8897 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01004/2.988, allocations: 2.147 MB / 0.8918 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005462/2.994, allocations: 2.095 MB / 0.8938 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/2.994, allocations: 0 / 0.8938 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/3.231, allocations: 105.9 MB / 0.9972 GB, free: 260 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/3.232, allocations: 228.2 kB / 0.9974 GB, free: 24 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/9.876, allocations: 4 kB / 0.9974 GB, free: 20 kB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat