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.91/1.91, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.633e-05/4.651e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 38.76 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.4461, allocations: 95.93 MB / 359.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.4465, allocations: 91.94 kB / 359.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43/1.877, allocations: 234 MB / 0.5799 GB, free: 30.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.899e-06/1.877, allocations: 0 / 0.5799 GB, free: 30.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007211/1.878, allocations: 235.5 kB / 0.5802 GB, free: 30.3 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.05628/1.934, allocations: 12.3 MB / 0.5922 GB, free: 19.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.934, allocations: 8.031 kB / 0.5922 GB, free: 19.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01042/1.944, allocations: 2 MB / 0.5941 GB, free: 17.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03486/1.979, allocations: 3.982 MB / 0.598 GB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04684/2.026, allocations: 12.18 MB / 0.6099 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/2.027, allocations: 0.886 MB / 0.6108 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007238/2.035, allocations: 1.182 MB / 0.6119 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4284/2.463, allocations: 33.52 MB / 0.6447 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009249/2.464, allocations: 101.6 kB / 0.6448 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007502/2.472, allocations: 0.5344 MB / 0.6453 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006002/2.478, allocations: 2.581 MB / 0.6478 GB, free: 30.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1128/2.591, allocations: 30.6 MB / 0.6777 GB, free: 29.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6049/3.195, allocations: 120.6 MB / 0.7955 GB, free: 29.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09622/3.292, allocations: 17.26 MB / 0.8123 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02814/3.32, allocations: 8.726 MB / 0.8209 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/3.43, allocations: 31.08 MB / 0.8512 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/3.43, allocations: 88.25 kB / 0.8513 GB, free: 21.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=489): time 9.528e-06/3.43, allocations: 3.594 kB / 0.8513 GB, free: 21.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=726): time 1.097/4.527, allocations: 122.2 MB / 0.9707 GB, free: 140 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/4.527, allocations: 201.7 kB / 0.9709 GB, free: 139.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/4.549, allocations: 6.907 MB / 0.9776 GB, free: 139.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002739/4.552, allocations: 139.3 kB / 0.9777 GB, free: 139.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007029/4.559, allocations: 7.076 MB / 0.9846 GB, free: 136 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005576/4.564, allocations: 2.572 MB / 0.9872 GB, free: 134.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004286/4.569, allocations: 289.7 kB / 0.9874 GB, free: 134.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002397/4.571, allocations: 0.9135 MB / 0.9883 GB, free: 134.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02707/4.598, allocations: 10.09 MB / 0.9982 GB, free: 134.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03305/4.631, allocations: 16.7 MB / 1.014 GB, free: 122.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03423/4.666, allocations: 12.87 MB / 1.027 GB, free: 117.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004161/4.666, allocations: 68.12 kB / 1.027 GB, free: 117.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.08012/4.746, allocations: 27.24 MB / 1.054 GB, free: 106.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/4.746, allocations: 104.4 kB / 1.054 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004002/4.747, allocations: 223.5 kB / 1.054 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/4.747, allocations: 348.5 kB / 1.054 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03901/4.786, allocations: 4.268 MB / 1.059 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/4.787, allocations: 454.9 kB / 1.059 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02578/4.813, allocations: 1.22 MB / 1.06 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006104/4.819, allocations: 0.7557 MB / 1.061 GB, free: 105.9 MB / 474.7 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.01084/4.83, allocations: 1.135 MB / 1.062 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006022/4.836, allocations: 0.7967 MB / 1.063 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08114/4.917, allocations: 19.39 MB / 1.082 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001491/4.918, allocations: 72 kB / 1.082 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-05/4.918, allocations: 1.969 kB / 1.082 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002696/4.918, allocations: 37.47 kB / 1.082 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.143/5.061, allocations: 42.32 MB / 1.123 GB, free: 53.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.682e-05/5.061, allocations: 12.12 kB / 1.123 GB, free: 53.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0264/5.087, allocations: 2.151 MB / 1.125 GB, free: 51.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/5.088, allocations: 30.39 kB / 1.125 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002602/5.09, allocations: 137.5 kB / 1.125 GB, free: 51.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001181/5.09, allocations: 39.83 kB / 1.125 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/5.09, allocations: 4 kB / 1.125 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4175/5.508, allocations: 33.85 MB / 1.159 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01159/5.52, allocations: 2.709 MB / 1.161 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005176/5.525, allocations: 121.1 kB / 1.161 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/5.541, allocations: 0.7595 MB / 1.162 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00358/5.545, allocations: 400.5 kB / 1.162 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00264/5.547, allocations: 178.8 kB / 1.163 GB, free: 129.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0152/5.563, allocations: 4.779 MB / 1.167 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/5.563, allocations: 0 / 1.167 GB, free: 129.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02211/5.585, allocations: 3.166 MB / 1.17 GB, free: 129.1 MB / 474.7 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.1277/5.713, allocations: 35.34 MB / 1.205 GB, free: 112.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.08621/5.799, allocations: 22.91 MB / 1.227 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/5.799, allocations: 7.906 kB / 1.227 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03559/5.835, allocations: 9.719 MB / 1.237 GB, free: 95.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01389/5.849, allocations: 0.8591 MB / 1.238 GB, free: 94.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1675/6.016, allocations: 32.66 MB / 1.269 GB, free: 66.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03218/6.048, allocations: 8.269 MB / 1.278 GB, free: 60.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.04864/6.097, allocations: 5.059 MB / 1.282 GB, free: 56.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03218/6.13, allocations: 5.583 MB / 1.288 GB, free: 51.75 MB / 474.7 MB Notification: Performance of SimCode: time 2.465e-06/6.13, allocations: 0 / 1.288 GB, free: 51.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/7.399, allocations: 225.5 MB / 1.508 GB, free: 106.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/7.399, allocations: 172.1 kB / 1.508 GB, free: 106.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/18.07, allocations: 0 / 1.508 GB, free: 106.2 MB / 474.7 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