Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.13e-05/5.141e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.639/0.8106, allocations: 108.5 MB / 0.5067 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.8109, allocations: 71.97 kB / 0.5067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4602/1.271, allocations: 95.41 MB / 0.5999 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.344e-06/1.271, allocations: 0 / 0.5999 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003169/1.272, allocations: 88 kB / 0.6 GB, free: 11.43 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.01991/1.291, allocations: 4.713 MB / 0.6046 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.292, allocations: 8.031 kB / 0.6046 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003544/1.295, allocations: 0.8036 MB / 0.6054 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/1.313, allocations: 2.232 MB / 0.6076 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3779/1.691, allocations: 4.935 MB / 0.6124 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005984/1.692, allocations: 327.6 kB / 0.6127 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/1.694, allocations: 430.9 kB / 0.6131 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/1.733, allocations: 11.45 MB / 0.6243 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004097/1.734, allocations: 59.62 kB / 0.6244 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/1.736, allocations: 218.3 kB / 0.6246 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/1.739, allocations: 1.153 MB / 0.6257 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/1.774, allocations: 9.71 MB / 0.6352 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07628/1.85, allocations: 50.84 MB / 0.6848 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.874, allocations: 5.845 MB / 0.6905 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/1.88, allocations: 3.15 MB / 0.6936 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/1.901, allocations: 9.289 MB / 0.7027 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01865/1.919, allocations: 3.38 MB / 0.706 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=211): time 8.926e-06/1.919, allocations: 0 / 0.706 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285): time 0.1842/2.104, allocations: 27.17 MB / 0.7325 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/2.104, allocations: 165.8 kB / 0.7327 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008044/2.112, allocations: 3.682 MB / 0.7363 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008738/2.113, allocations: 66.25 kB / 0.7363 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003375/2.116, allocations: 3.262 MB / 0.7395 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/2.118, allocations: 1.045 MB / 0.7405 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/2.119, allocations: 136 kB / 0.7407 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004406/2.12, allocations: 0.5827 MB / 0.7412 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007604/2.127, allocations: 3.238 MB / 0.7444 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/2.137, allocations: 6.822 MB / 0.7511 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/2.148, allocations: 4.66 MB / 0.7556 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/2.148, allocations: 36 kB / 0.7556 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0388/2.187, allocations: 12 MB / 0.7674 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/2.187, allocations: 62.66 kB / 0.7674 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/2.187, allocations: 132.2 kB / 0.7675 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0292/2.216, allocations: 2.666 MB / 0.7701 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01828/2.235, allocations: 1.485 MB / 0.7716 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04217/2.277, allocations: 21.55 MB / 0.7926 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008672/2.286, allocations: 427.1 kB / 0.7931 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/2.288, allocations: 395.8 kB / 0.7934 GB, free: 12.89 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.002865/2.29, allocations: 0.5966 MB / 0.794 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/2.292, allocations: 406.6 kB / 0.7944 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/2.32, allocations: 7.868 MB / 0.8021 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.912e-05/2.32, allocations: 32 kB / 0.8021 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/2.32, allocations: 8 kB / 0.8021 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/2.32, allocations: 11.95 kB / 0.8021 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4498/2.77, allocations: 14.61 MB / 0.8164 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.579e-05/2.77, allocations: 2.125 kB / 0.8164 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004549/2.774, allocations: 398.6 kB / 0.8168 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01255/2.787, allocations: 2.435 MB / 0.8192 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008841/2.788, allocations: 52.83 kB / 0.8192 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04345/2.831, allocations: 21.34 MB / 0.8401 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.831, allocations: 3.281 kB / 0.8401 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.856, allocations: 8.229 MB / 0.8481 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/2.857, allocations: 451 kB / 0.8485 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/2.859, allocations: 52.28 kB / 0.8486 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004502/2.863, allocations: 216.6 kB / 0.8488 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.865, allocations: 182.8 kB / 0.849 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003937/2.865, allocations: 75.06 kB / 0.849 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005966/2.871, allocations: 2.575 MB / 0.8515 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.91e-07/2.871, allocations: 0 / 0.8515 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008653/2.88, allocations: 1.374 MB / 0.8529 GB, free: 107.6 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.03066/2.91, allocations: 9.7 MB / 0.8624 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02803/2.939, allocations: 8.385 MB / 0.8705 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/2.939, allocations: 0 / 0.8705 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.949, allocations: 3.89 MB / 0.8743 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/2.953, allocations: 439.4 kB / 0.8748 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/3.002, allocations: 11.62 MB / 0.8861 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006492/3.009, allocations: 3.675 MB / 0.8897 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00947/3.018, allocations: 2.16 MB / 0.8918 GB, free: 93.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005538/3.024, allocations: 2.093 MB / 0.8938 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/3.024, allocations: 0 / 0.8938 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/3.249, allocations: 105.9 MB / 0.9972 GB, free: 316 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/3.25, allocations: 236 kB / 0.9974 GB, free: 72 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/9.733, allocations: 0 / 0.9974 GB, free: 72 kB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat