Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.681/2.681, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.378e-05/5.388e-05, allocations: 4 kB / 323.5 MB, free: 4.242 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4691, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.6662, allocations: 106.2 MB / 488.5 MB, free: 2.195 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.6665, allocations: 67.97 kB / 488.6 MB, free: 2.129 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7441/1.411, allocations: 94.09 MB / 0.569 GB, free: 106.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.164e-06/1.411, allocations: 0 / 0.569 GB, free: 106.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002826/1.411, allocations: 87.94 kB / 0.5691 GB, free: 106.2 MB / 458.8 MB 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.02318/1.434, allocations: 4.713 MB / 0.5737 GB, free: 101.5 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/1.434, allocations: 8.031 kB / 0.5737 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0116/1.446, allocations: 0.8018 MB / 0.5745 GB, free: 100.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/1.48, allocations: 2.239 MB / 0.5767 GB, free: 98.43 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02417/1.504, allocations: 5.087 MB / 0.5816 GB, free: 93.35 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/1.505, allocations: 328.2 kB / 0.5819 GB, free: 93.05 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/1.507, allocations: 439 kB / 0.5823 GB, free: 92.66 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03361/1.541, allocations: 11.46 MB / 0.5935 GB, free: 80.26 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/1.541, allocations: 59.45 kB / 0.5936 GB, free: 80.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/1.543, allocations: 213.6 kB / 0.5938 GB, free: 80.02 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/1.546, allocations: 1.162 MB / 0.5949 GB, free: 78.86 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/1.576, allocations: 9.703 MB / 0.6044 GB, free: 69.14 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0724/1.648, allocations: 50.85 MB / 0.6541 GB, free: 16.96 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/1.671, allocations: 5.858 MB / 0.6598 GB, free: 10.96 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005818/1.677, allocations: 3.143 MB / 0.6629 GB, free: 7.805 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/1.698, allocations: 9.305 MB / 0.6719 GB, free: 14.16 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01931/1.717, allocations: 3.381 MB / 0.6752 GB, free: 10.75 MB / 474.8 MB Notification: Performance of pre-optimization done (n=211): time 5.931e-06/1.717, allocations: 0 / 0.6752 GB, free: 10.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=285): time 0.1759/1.893, allocations: 27.22 MB / 0.7018 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.893, allocations: 162.5 kB / 0.702 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.904, allocations: 3.697 MB / 0.7056 GB, free: 11.58 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009077/1.905, allocations: 65.7 kB / 0.7057 GB, free: 11.51 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004756/1.91, allocations: 3.274 MB / 0.7089 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/1.912, allocations: 1.049 MB / 0.7099 GB, free: 7.129 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.913, allocations: 132 kB / 0.71 GB, free: 7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006675/1.914, allocations: 0.5831 MB / 0.7106 GB, free: 6.41 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009452/1.923, allocations: 3.238 MB / 0.7137 GB, free: 3.168 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3901/2.313, allocations: 6.81 MB / 0.7204 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/2.326, allocations: 4.662 MB / 0.7249 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/2.326, allocations: 37.12 kB / 0.725 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.04801/2.374, allocations: 12.01 MB / 0.7367 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/2.374, allocations: 57.56 kB / 0.7368 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002863/2.375, allocations: 132.3 kB / 0.7369 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/2.388, allocations: 2.672 MB / 0.7395 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/2.398, allocations: 1.474 MB / 0.7409 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04253/2.441, allocations: 21.55 MB / 0.762 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008799/2.449, allocations: 434.6 kB / 0.7624 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/2.451, allocations: 396.6 kB / 0.7628 GB, free: 123.6 MB / 0.4949 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.002049/2.454, allocations: 0.5945 MB / 0.7634 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/2.455, allocations: 408.2 kB / 0.7637 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02348/2.478, allocations: 7.852 MB / 0.7714 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-05/2.478, allocations: 33.67 kB / 0.7714 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/2.478, allocations: 14.44 kB / 0.7715 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.942e-05/2.478, allocations: 14.72 kB / 0.7715 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04301/2.521, allocations: 14.63 MB / 0.7858 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-05/2.521, allocations: 4 kB / 0.7858 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004515/2.526, allocations: 399.5 kB / 0.7861 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/2.538, allocations: 2.436 MB / 0.7885 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/2.539, allocations: 52.2 kB / 0.7886 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04084/2.58, allocations: 21.35 MB / 0.8094 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/2.58, allocations: 7.938 kB / 0.8094 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/2.604, allocations: 8.221 MB / 0.8175 GB, free: 80.63 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003798/2.608, allocations: 0.9956 MB / 0.8184 GB, free: 79.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/2.61, allocations: 52.92 kB / 0.8185 GB, free: 79.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004633/2.614, allocations: 210.1 kB / 0.8187 GB, free: 79.36 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001315/2.616, allocations: 191.1 kB / 0.8189 GB, free: 79.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004799/2.616, allocations: 79.98 kB / 0.8189 GB, free: 79.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006202/2.622, allocations: 2.574 MB / 0.8215 GB, free: 76.52 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.022e-06/2.622, allocations: 0 / 0.8215 GB, free: 76.52 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009343/2.632, allocations: 1.38 MB / 0.8228 GB, free: 75.15 MB / 0.4949 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.02571/2.657, allocations: 9.677 MB / 0.8323 GB, free: 65.46 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02089/2.678, allocations: 8.4 MB / 0.8405 GB, free: 57.03 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/2.678, allocations: 3.938 kB / 0.8405 GB, free: 57.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/2.691, allocations: 3.88 MB / 0.8442 GB, free: 53.11 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006015/2.697, allocations: 448.4 kB / 0.8447 GB, free: 52.68 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/2.738, allocations: 11.65 MB / 0.856 GB, free: 40.98 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00691/2.745, allocations: 3.67 MB / 0.8596 GB, free: 37.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009806/2.754, allocations: 2.157 MB / 0.8617 GB, free: 35.15 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005411/2.76, allocations: 2.098 MB / 0.8638 GB, free: 33.05 MB / 0.4949 GB Notification: Performance of SimCode: time 1.553e-06/2.76, allocations: 0 / 0.8638 GB, free: 33.05 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.635/3.395, allocations: 105.9 MB / 0.9673 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/3.395, allocations: 227.3 kB / 0.9675 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.328/9.723, allocations: 7.5 kB / 0.9675 GB, free: 119.5 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat