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.966/1.966, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.398e-05, allocations: 0 / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.0976, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.549, allocations: 101.7 MB / 401.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5493, allocations: 88.2 kB / 401.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171/1.72, allocations: 234 MB / 0.6208 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.72, allocations: 0 / 0.6208 GB, free: 54.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007239/1.721, allocations: 234.4 kB / 0.621 GB, free: 54.49 MB / 410.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.05774/1.779, allocations: 12.3 MB / 0.633 GB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.779, allocations: 12.03 kB / 0.633 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01033/1.789, allocations: 1.995 MB / 0.635 GB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.034/1.823, allocations: 3.986 MB / 0.6389 GB, free: 36.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04508/1.868, allocations: 12.18 MB / 0.6508 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/1.869, allocations: 0.882 MB / 0.6516 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007287/1.877, allocations: 1.189 MB / 0.6528 GB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7619/2.639, allocations: 33.5 MB / 0.6855 GB, free: 37.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009004/2.64, allocations: 102.8 kB / 0.6856 GB, free: 37.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00737/2.647, allocations: 0.5404 MB / 0.6861 GB, free: 37.4 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006655/2.654, allocations: 2.581 MB / 0.6886 GB, free: 37.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1068/2.761, allocations: 30.6 MB / 0.7185 GB, free: 37.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2366/2.997, allocations: 120.4 MB / 0.8361 GB, free: 6.551 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4574/3.455, allocations: 19.19 MB / 0.8548 GB, free: 92.86 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01924/3.474, allocations: 8.726 MB / 0.8633 GB, free: 92.82 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07223/3.546, allocations: 31.09 MB / 0.8937 GB, free: 85.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.263e-05/3.546, allocations: 90.48 kB / 0.8938 GB, free: 85.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=489): time 9.458e-06/3.546, allocations: 0 / 0.8938 GB, free: 85.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=726): time 1.055/4.602, allocations: 122.2 MB / 1.013 GB, free: 85.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/4.602, allocations: 203.4 kB / 1.013 GB, free: 85.23 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02016/4.622, allocations: 6.906 MB / 1.02 GB, free: 84.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002455/4.625, allocations: 137.4 kB / 1.02 GB, free: 84.77 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006967/4.632, allocations: 7.073 MB / 1.027 GB, free: 82.15 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004981/4.637, allocations: 2.581 MB / 1.03 GB, free: 80.58 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003475/4.64, allocations: 288.3 kB / 1.03 GB, free: 80.58 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001536/4.642, allocations: 0.9079 MB / 1.031 GB, free: 80.25 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02466/4.666, allocations: 10.09 MB / 1.041 GB, free: 80.21 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02973/4.696, allocations: 16.7 MB / 1.057 GB, free: 71.96 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03005/4.726, allocations: 12.88 MB / 1.07 GB, free: 68.88 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000289/4.727, allocations: 65.81 kB / 1.07 GB, free: 68.88 MB / 458.8 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.07243/4.799, allocations: 27.24 MB / 1.096 GB, free: 58.27 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/4.799, allocations: 102.2 kB / 1.096 GB, free: 58.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003606/4.8, allocations: 229.5 kB / 1.096 GB, free: 58.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/4.8, allocations: 346.3 kB / 1.097 GB, free: 58.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03671/4.837, allocations: 4.263 MB / 1.101 GB, free: 57.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005667/4.838, allocations: 468 kB / 1.101 GB, free: 57.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02203/4.86, allocations: 1.218 MB / 1.103 GB, free: 57.55 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004096/4.864, allocations: 0.7517 MB / 1.103 GB, free: 57.43 MB / 458.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.00638/4.87, allocations: 1.138 MB / 1.104 GB, free: 56.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003066/4.873, allocations: 0.7917 MB / 1.105 GB, free: 56.09 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04978/4.923, allocations: 19.39 MB / 1.124 GB, free: 47.32 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.462e-05/4.923, allocations: 68.25 kB / 1.124 GB, free: 47.32 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/4.923, allocations: 3.469 kB / 1.124 GB, free: 47.32 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001593/4.923, allocations: 33.38 kB / 1.124 GB, free: 47.32 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1127/5.036, allocations: 42.32 MB / 1.166 GB, free: 12.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/5.036, allocations: 7.953 kB / 1.166 GB, free: 12.31 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02515/5.061, allocations: 2.152 MB / 1.168 GB, free: 10.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/5.062, allocations: 28 kB / 1.168 GB, free: 10.78 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002111/5.064, allocations: 125.5 kB / 1.168 GB, free: 10.66 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.839e-05/5.064, allocations: 35.55 kB / 1.168 GB, free: 10.63 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/5.064, allocations: 11.94 kB / 1.168 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4712/5.535, allocations: 34.87 MB / 1.202 GB, free: 76.93 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01032/5.545, allocations: 2.711 MB / 1.205 GB, free: 76.83 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004381/5.55, allocations: 117.7 kB / 1.205 GB, free: 76.83 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01474/5.565, allocations: 0.7645 MB / 1.205 GB, free: 76.83 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003138/5.568, allocations: 393.7 kB / 1.206 GB, free: 76.82 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001702/5.57, allocations: 177.2 kB / 1.206 GB, free: 76.82 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0129/5.582, allocations: 4.781 MB / 1.211 GB, free: 76.54 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.032e-06/5.583, allocations: 0 / 1.211 GB, free: 76.54 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01869/5.601, allocations: 3.169 MB / 1.214 GB, free: 76.54 MB / 458.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.07417/5.675, allocations: 35.36 MB / 1.248 GB, free: 61.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.05101/5.727, allocations: 22.91 MB / 1.271 GB, free: 52.24 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/5.727, allocations: 3.875 kB / 1.271 GB, free: 52.24 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0211/5.748, allocations: 9.719 MB / 1.28 GB, free: 47.07 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008305/5.756, allocations: 0.8594 MB / 1.281 GB, free: 46.34 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1041/5.86, allocations: 32.66 MB / 1.313 GB, free: 17.81 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02107/5.881, allocations: 8.272 MB / 1.321 GB, free: 11.79 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.03994/5.921, allocations: 5.057 MB / 1.326 GB, free: 8.59 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02504/5.946, allocations: 5.591 MB / 1.331 GB, free: 3.391 MB / 458.8 MB Notification: Performance of SimCode: time 1.613e-06/5.946, allocations: 0 / 1.331 GB, free: 3.391 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/7.238, allocations: 225.6 MB / 1.552 GB, free: 73.8 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/7.239, allocations: 166.2 kB / 1.552 GB, free: 73.59 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/17.78, allocations: 3.438 kB / 1.552 GB, free: 73.59 MB / 490.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