Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.005e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2656, allocations: 38.76 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.4364, allocations: 95.94 MB / 359.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.4368, allocations: 91.94 kB / 359.9 MB, free: 9.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337/1.773, allocations: 234 MB / 0.58 GB, free: 30.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.773, allocations: 0 / 0.58 GB, free: 30.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007976/1.774, allocations: 231.6 kB / 0.5802 GB, free: 30.22 MB / 346.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.05819/1.832, allocations: 12.29 MB / 0.5922 GB, free: 19.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.833, allocations: 16.02 kB / 0.5922 GB, free: 19.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01031/1.843, allocations: 1.999 MB / 0.5942 GB, free: 17.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03387/1.877, allocations: 3.979 MB / 0.598 GB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0464/1.923, allocations: 12.18 MB / 0.6099 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/1.924, allocations: 0.8942 MB / 0.6108 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007705/1.932, allocations: 1.178 MB / 0.612 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6891/2.621, allocations: 33.37 MB / 0.6446 GB, free: 28.93 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009268/2.622, allocations: 99.03 kB / 0.6447 GB, free: 28.93 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006942/2.629, allocations: 0.5382 MB / 0.6452 GB, free: 28.93 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005814/2.635, allocations: 2.579 MB / 0.6477 GB, free: 28.91 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1094/2.745, allocations: 30.24 MB / 0.6772 GB, free: 27.14 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6442/3.389, allocations: 120.4 MB / 0.7948 GB, free: 28.1 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08977/3.479, allocations: 17.21 MB / 0.8116 GB, free: 27.42 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01805/3.497, allocations: 8.727 MB / 0.8201 GB, free: 27.37 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07126/3.568, allocations: 31.1 MB / 0.8505 GB, free: 18.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.521e-05/3.568, allocations: 83.95 kB / 0.8506 GB, free: 18.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=489): time 9.748e-06/3.568, allocations: 0 / 0.8506 GB, free: 18.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=726): time 1.209/4.777, allocations: 122.2 MB / 0.9699 GB, free: 136.3 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/4.777, allocations: 204.2 kB / 0.9701 GB, free: 136.2 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02772/4.805, allocations: 6.91 MB / 0.9768 GB, free: 135.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00353/4.808, allocations: 136.9 kB / 0.977 GB, free: 135.5 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009794/4.818, allocations: 7.071 MB / 0.9839 GB, free: 131.7 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006983/4.825, allocations: 2.572 MB / 0.9864 GB, free: 130.2 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004938/4.83, allocations: 296.4 kB / 0.9867 GB, free: 130.2 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.002227/4.833, allocations: 0.909 MB / 0.9876 GB, free: 129.8 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03842/4.871, allocations: 10.09 MB / 0.9974 GB, free: 129.8 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04584/4.917, allocations: 16.61 MB / 1.014 GB, free: 118.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03984/4.957, allocations: 12.88 MB / 1.026 GB, free: 113.2 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003351/4.957, allocations: 67.62 kB / 1.026 GB, free: 113.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.07238/5.03, allocations: 26.61 MB / 1.052 GB, free: 103 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/5.03, allocations: 102.4 kB / 1.052 GB, free: 103 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/5.03, allocations: 227 kB / 1.053 GB, free: 103 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/5.031, allocations: 350.3 kB / 1.053 GB, free: 103 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03753/5.068, allocations: 4.257 MB / 1.057 GB, free: 102.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/5.069, allocations: 462.9 kB / 1.058 GB, free: 102.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02362/5.093, allocations: 1.225 MB / 1.059 GB, free: 102.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004732/5.098, allocations: 0.743 MB / 1.059 GB, free: 102.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * 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 (1845): * Single equations (assignments): 1839 * 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.008613/5.106, allocations: 1.136 MB / 1.061 GB, free: 101.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004336/5.111, allocations: 0.7946 MB / 1.061 GB, free: 100.8 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05372/5.164, allocations: 19.39 MB / 1.08 GB, free: 83.91 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.445e-05/5.164, allocations: 72 kB / 1.08 GB, free: 83.84 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/5.165, allocations: 0 / 1.08 GB, free: 83.84 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001852/5.165, allocations: 39.25 kB / 1.08 GB, free: 83.84 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1198/5.285, allocations: 42.32 MB / 1.122 GB, free: 48.4 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/5.285, allocations: 4 kB / 1.122 GB, free: 48.39 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.026/5.311, allocations: 2.154 MB / 1.124 GB, free: 46.89 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/5.311, allocations: 32 kB / 1.124 GB, free: 46.86 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002631/5.314, allocations: 126.3 kB / 1.124 GB, free: 46.74 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/5.314, allocations: 35.89 kB / 1.124 GB, free: 46.71 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/5.314, allocations: 9.781 kB / 1.124 GB, free: 46.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4242/5.738, allocations: 35 MB / 1.158 GB, free: 128.3 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01102/5.749, allocations: 2.713 MB / 1.161 GB, free: 128.2 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004904/5.754, allocations: 117.9 kB / 1.161 GB, free: 128.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01594/5.77, allocations: 0.7663 MB / 1.162 GB, free: 128.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003288/5.773, allocations: 388.3 kB / 1.162 GB, free: 128.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002692/5.776, allocations: 186.4 kB / 1.162 GB, free: 128.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0144/5.79, allocations: 4.782 MB / 1.167 GB, free: 127.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.22e-07/5.79, allocations: 3 kB / 1.167 GB, free: 127.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02167/5.812, allocations: 3.165 MB / 1.17 GB, free: 127.5 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (710): * Single equations (assignments): 707 * 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.08145/5.894, allocations: 35.34 MB / 1.205 GB, free: 110.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.05258/5.946, allocations: 22.56 MB / 1.227 GB, free: 100.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/5.946, allocations: 4 kB / 1.227 GB, free: 100.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02218/5.969, allocations: 9.687 MB / 1.236 GB, free: 91.64 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009622/5.978, allocations: 0.845 MB / 1.237 GB, free: 90.91 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/6.088, allocations: 32.63 MB / 1.269 GB, free: 62.41 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02071/6.109, allocations: 8.269 MB / 1.277 GB, free: 56.39 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02988/6.139, allocations: 5.062 MB / 1.282 GB, free: 53.19 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01987/6.158, allocations: 5.578 MB / 1.287 GB, free: 47.99 MB / 474.8 MB Notification: Performance of SimCode: time 1.393e-06/6.159, allocations: 0 / 1.287 GB, free: 47.99 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/7.253, allocations: 224.2 MB / 1.506 GB, free: 106.4 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/7.254, allocations: 174.5 kB / 1.506 GB, free: 106.2 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/17.53, allocations: 0 / 1.506 GB, free: 106.2 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat