Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.62e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4948, allocations: 101 MB / 395.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.4952, allocations: 91.94 kB / 395.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433/1.928, allocations: 228.5 MB / 0.6092 GB, free: 32.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.928, allocations: 0 / 0.6092 GB, free: 32.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008097/1.929, allocations: 233 kB / 0.6095 GB, free: 32.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05758/1.986, allocations: 12.29 MB / 0.6215 GB, free: 28.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.986, allocations: 10.84 kB / 0.6215 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/2.021, allocations: 3.978 MB / 0.6254 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04633/2.067, allocations: 12.18 MB / 0.6372 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008849/2.068, allocations: 387.8 kB / 0.6376 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007371/2.075, allocations: 0.7013 MB / 0.6383 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.053/2.128, allocations: 21.49 MB / 0.6593 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09227/2.221, allocations: 27.42 MB / 0.6861 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007706/2.221, allocations: 99.09 kB / 0.6862 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006541/2.228, allocations: 52 kB / 0.6862 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006723/2.235, allocations: 2.582 MB / 0.6887 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5341/2.769, allocations: 116.8 MB / 0.8028 GB, free: 21.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/2.789, allocations: 10.5 MB / 0.8131 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01573/2.804, allocations: 8.501 MB / 0.8214 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07336/2.878, allocations: 30.88 MB / 0.8515 GB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/2.878, allocations: 91.08 kB / 0.8516 GB, free: 6.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=483): time 9.498e-06/2.878, allocations: 0 / 0.8516 GB, free: 6.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=708): time 0.8626/3.741, allocations: 115.5 MB / 0.9644 GB, free: 92.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/3.741, allocations: 197.6 kB / 0.9646 GB, free: 92.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/3.756, allocations: 6.075 MB / 0.9705 GB, free: 87.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002368/3.758, allocations: 28.56 kB / 0.9705 GB, free: 87.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005771/3.764, allocations: 7.206 MB / 0.9776 GB, free: 80.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00443/3.768, allocations: 2.43 MB / 0.9799 GB, free: 78.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003258/3.772, allocations: 1.219 kB / 0.9799 GB, free: 78.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001327/3.773, allocations: 0.9093 MB / 0.9808 GB, free: 78.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02201/3.795, allocations: 9.7 MB / 0.9903 GB, free: 69.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02615/3.821, allocations: 16.54 MB / 1.006 GB, free: 50.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03375/3.855, allocations: 12.92 MB / 1.019 GB, free: 39.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000283/3.855, allocations: 68 kB / 1.019 GB, free: 39.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.4453/4.301, allocations: 26.54 MB / 1.045 GB, free: 91.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/4.301, allocations: 106 kB / 1.045 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004005/4.301, allocations: 239.4 kB / 1.045 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/4.302, allocations: 363.5 kB / 1.046 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03724/4.339, allocations: 4.298 MB / 1.05 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005711/4.34, allocations: 483.9 kB / 1.05 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0231/4.363, allocations: 0.952 MB / 1.051 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004554/4.367, allocations: 0.7661 MB / 1.052 GB, free: 91.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1857): * Single equations (assignments): 1851 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007527/4.375, allocations: 0.7734 MB / 1.053 GB, free: 91.06 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04281/4.418, allocations: 17.32 MB / 1.07 GB, free: 90.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004236/4.422, allocations: 0.7473 MB / 1.07 GB, free: 90.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04825/4.47, allocations: 18.52 MB / 1.089 GB, free: 88.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/4.471, allocations: 74.12 kB / 1.089 GB, free: 88.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/4.471, allocations: 0 / 1.089 GB, free: 88.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001753/4.471, allocations: 34.39 kB / 1.089 GB, free: 88.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1021/4.573, allocations: 38.46 MB / 1.126 GB, free: 71.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/4.573, allocations: 0 / 1.126 GB, free: 71.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0269/4.6, allocations: 2.123 MB / 1.128 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/4.6, allocations: 23.5 kB / 1.128 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002877/4.603, allocations: 19.86 kB / 1.128 GB, free: 71.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001122/4.603, allocations: 25.38 kB / 1.128 GB, free: 71.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/4.603, allocations: 6.016 kB / 1.128 GB, free: 71.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07471/4.678, allocations: 31.9 MB / 1.16 GB, free: 44.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009841/4.688, allocations: 2.628 MB / 1.162 GB, free: 41.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004822/4.693, allocations: 4 kB / 1.162 GB, free: 41.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01553/4.708, allocations: 0.6566 MB / 1.163 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003231/4.712, allocations: 365.3 kB / 1.163 GB, free: 41.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001994/4.714, allocations: 172 kB / 1.163 GB, free: 41.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01109/4.725, allocations: 4.045 MB / 1.167 GB, free: 37.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/4.725, allocations: 0 / 1.167 GB, free: 37.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02021/4.745, allocations: 2.751 MB / 1.17 GB, free: 34.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07097/4.816, allocations: 32.89 MB / 1.202 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3854/5.202, allocations: 23.46 MB / 1.225 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/5.202, allocations: 0 / 1.225 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01989/5.221, allocations: 9.524 MB / 1.234 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007591/5.229, allocations: 0.6244 MB / 1.235 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.107/5.336, allocations: 31.58 MB / 1.266 GB, free: 93.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02335/5.36, allocations: 8.235 MB / 1.274 GB, free: 90.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.03182/5.392, allocations: 5.146 MB / 1.279 GB, free: 90.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02093/5.413, allocations: 5.569 MB / 1.284 GB, free: 85.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/5.413, allocations: 0 / 1.284 GB, free: 85.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/6.549, allocations: 208.4 MB / 1.488 GB, free: 28.31 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/6.549, allocations: 159.5 kB / 1.488 GB, free: 28.12 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/16.74, allocations: 0 / 1.488 GB, free: 28.12 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat