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.781/1.781, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.297e-05, allocations: 0 / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 38.76 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.4476, allocations: 95.27 MB / 353.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.448, allocations: 79.95 kB / 353.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296/1.744, allocations: 228.6 MB / 0.5686 GB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.744, allocations: 4 kB / 0.5686 GB, free: 18.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007032/1.745, allocations: 233.3 kB / 0.5688 GB, free: 18.32 MB / 330.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.05781/1.803, allocations: 12.28 MB / 0.5808 GB, free: 5.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/1.803, allocations: 8.031 kB / 0.5808 GB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04471/1.847, allocations: 3.994 MB / 0.5847 GB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05369/1.901, allocations: 12.17 MB / 0.5966 GB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008201/1.902, allocations: 391.9 kB / 0.597 GB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006581/1.909, allocations: 0.695 MB / 0.5977 GB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.337/2.246, allocations: 21.49 MB / 0.6187 GB, free: 42.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07208/2.318, allocations: 26.42 MB / 0.6445 GB, free: 37.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007094/2.319, allocations: 103 kB / 0.6446 GB, free: 37.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006428/2.325, allocations: 54.75 kB / 0.6446 GB, free: 37.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005628/2.331, allocations: 2.581 MB / 0.6471 GB, free: 37.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5149/2.846, allocations: 116.9 MB / 0.7613 GB, free: 69.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/2.866, allocations: 10.49 MB / 0.7715 GB, free: 68.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/2.882, allocations: 8.497 MB / 0.7798 GB, free: 68.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06784/2.95, allocations: 30.89 MB / 0.81 GB, free: 58.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/2.95, allocations: 88.64 kB / 0.8101 GB, free: 58.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=483): time 9.037e-06/2.95, allocations: 0 / 0.8101 GB, free: 58.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=708): time 0.835/3.785, allocations: 114.9 MB / 0.9223 GB, free: 63.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/3.786, allocations: 199.5 kB / 0.9225 GB, free: 63.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.016/3.802, allocations: 6.079 MB / 0.9284 GB, free: 63.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002494/3.804, allocations: 29.27 kB / 0.9284 GB, free: 63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006422/3.811, allocations: 7.205 MB / 0.9355 GB, free: 58.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004778/3.815, allocations: 2.428 MB / 0.9378 GB, free: 57.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003339/3.819, allocations: 0 / 0.9378 GB, free: 57.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001447/3.82, allocations: 0.9138 MB / 0.9387 GB, free: 56.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02236/3.843, allocations: 9.704 MB / 0.9482 GB, free: 56.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02809/3.871, allocations: 16.53 MB / 0.9643 GB, free: 44.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03508/3.906, allocations: 12.91 MB / 0.977 GB, free: 39.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003451/3.906, allocations: 69 kB / 0.977 GB, free: 39.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.07082/3.977, allocations: 25.81 MB / 1.002 GB, free: 30.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/3.977, allocations: 107.4 kB / 1.002 GB, free: 30.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004123/3.978, allocations: 238.9 kB / 1.003 GB, free: 30.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/3.978, allocations: 371.4 kB / 1.003 GB, free: 30.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03649/4.015, allocations: 4.299 MB / 1.007 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004725/4.015, allocations: 482.9 kB / 1.008 GB, free: 29.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02796/4.043, allocations: 0.9545 MB / 1.008 GB, free: 28.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004614/4.048, allocations: 0.7574 MB / 1.009 GB, free: 27.74 MB / 394.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.007195/4.055, allocations: 0.7745 MB / 1.01 GB, free: 26.97 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03922/4.095, allocations: 17.33 MB / 1.027 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003706/4.098, allocations: 0.7481 MB / 1.028 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.376/4.474, allocations: 19.84 MB / 1.047 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001525/4.475, allocations: 69.83 kB / 1.047 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/4.475, allocations: 1.656 kB / 1.047 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001993/4.475, allocations: 32.45 kB / 1.047 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1083/4.583, allocations: 38.47 MB / 1.085 GB, free: 55.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/4.583, allocations: 0 / 1.085 GB, free: 55.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0261/4.609, allocations: 2.119 MB / 1.087 GB, free: 55.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/4.609, allocations: 25.38 kB / 1.087 GB, free: 55.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002392/4.612, allocations: 13.61 kB / 1.087 GB, free: 55.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.362e-05/4.612, allocations: 25.88 kB / 1.087 GB, free: 55.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/4.612, allocations: 1.781 kB / 1.087 GB, free: 55.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07007/4.682, allocations: 31.9 MB / 1.118 GB, free: 40.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01/4.692, allocations: 2.637 MB / 1.121 GB, free: 39.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004951/4.697, allocations: 5.312 kB / 1.121 GB, free: 39.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01467/4.712, allocations: 0.6491 MB / 1.121 GB, free: 39.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00323/4.715, allocations: 358.9 kB / 1.122 GB, free: 39.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002158/4.717, allocations: 180 kB / 1.122 GB, free: 39.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01102/4.728, allocations: 4.048 MB / 1.126 GB, free: 38.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.022e-06/4.729, allocations: 0 / 1.126 GB, free: 38.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.02067/4.749, allocations: 2.751 MB / 1.128 GB, free: 38.21 MB / 394.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.07272/4.822, allocations: 32.89 MB / 1.16 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.06865/4.891, allocations: 23.14 MB / 1.183 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/4.891, allocations: 0 / 1.183 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3326/5.223, allocations: 9.526 MB / 1.192 GB, free: 84.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008487/5.232, allocations: 0.6302 MB / 1.193 GB, free: 84.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/5.345, allocations: 31.59 MB / 1.224 GB, free: 80.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02389/5.369, allocations: 8.237 MB / 1.232 GB, free: 79.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.03098/5.4, allocations: 5.145 MB / 1.237 GB, free: 79.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02/5.42, allocations: 5.57 MB / 1.242 GB, free: 78.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/5.42, allocations: 0 / 1.242 GB, free: 78.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/6.527, allocations: 208.4 MB / 1.446 GB, free: 22.48 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/6.527, allocations: 162 kB / 1.446 GB, free: 22.29 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/16.99, allocations: 4.031 kB / 1.446 GB, free: 22.29 MB / 410.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