Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.456e-05, allocations: 10.8 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 50.42 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.5756, allocations: 111.9 MB / 454.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.576, allocations: 88.77 kB / 454.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075/1.651, allocations: 185.4 MB / 0.6251 GB, free: 66.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.651, allocations: 0 / 0.6251 GB, free: 66.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000828/1.652, allocations: 188 kB / 0.6253 GB, free: 66.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.03882/1.691, allocations: 9.125 MB / 0.6342 GB, free: 57.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.691, allocations: 12.03 kB / 0.6342 GB, free: 57.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007313/1.698, allocations: 1.4 MB / 0.6356 GB, free: 55.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1191/1.818, allocations: 16.64 MB / 0.6518 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04921/1.867, allocations: 13.65 MB / 0.6652 GB, free: 25.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007986/1.868, allocations: 0.6298 MB / 0.6658 GB, free: 24.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004585/1.872, allocations: 0.8588 MB / 0.6666 GB, free: 23.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06374/1.936, allocations: 19.15 MB / 0.6853 GB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008901/1.937, allocations: 111 kB / 0.6854 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004244/1.941, allocations: 391.9 kB / 0.6858 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/1.945, allocations: 1.608 MB / 0.6874 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7315/2.677, allocations: 15.08 MB / 0.7021 GB, free: 64.76 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/2.819, allocations: 80.42 MB / 0.7807 GB, free: 17.86 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03861/2.857, allocations: 7.84 MB / 0.7883 GB, free: 15.36 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008531/2.866, allocations: 4.011 MB / 0.7922 GB, free: 13.54 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03261/2.899, allocations: 14.03 MB / 0.8059 GB, free: 5.852 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.577e-05/2.899, allocations: 75.95 kB / 0.806 GB, free: 5.785 MB / 442.8 MB Notification: Performance of pre-optimization done (n=310): time 6.893e-06/2.899, allocations: 0 / 0.806 GB, free: 5.785 MB / 442.8 MB Notification: Performance of matching and sorting (n=417): time 0.3146/3.214, allocations: 41.36 MB / 0.8464 GB, free: 13.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/3.214, allocations: 409.9 kB / 0.8468 GB, free: 12.61 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01902/3.233, allocations: 6.493 MB / 0.8531 GB, free: 6.449 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001094/3.234, allocations: 93.7 kB / 0.8532 GB, free: 6.352 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007243/3.241, allocations: 5.816 MB / 0.8589 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002746/3.244, allocations: 1.508 MB / 0.8604 GB, free: 15.03 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/3.245, allocations: 191.8 kB / 0.8605 GB, free: 14.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000805/3.246, allocations: 0.6987 MB / 0.8612 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/3.258, allocations: 4.203 MB / 0.8653 GB, free: 9.93 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.362/3.62, allocations: 9.132 MB / 0.8742 GB, free: 100.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/3.637, allocations: 6.163 MB / 0.8803 GB, free: 100.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002592/3.637, allocations: 50.53 kB / 0.8803 GB, free: 100.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.05946/3.697, allocations: 17 MB / 0.8969 GB, free: 99.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/3.697, allocations: 79.69 kB / 0.897 GB, free: 99.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/3.697, allocations: 178.8 kB / 0.8972 GB, free: 99.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02705/3.724, allocations: 4.905 MB / 0.902 GB, free: 99.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/3.736, allocations: 1.969 MB / 0.9039 GB, free: 99.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06286/3.799, allocations: 26.46 MB / 0.9297 GB, free: 93.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/3.812, allocations: 0.5366 MB / 0.9302 GB, free: 93.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002445/3.814, allocations: 0.5108 MB / 0.9307 GB, free: 93.02 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1061): * Single equations (assignments): 1056 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003669/3.818, allocations: 0.8069 MB / 0.9315 GB, free: 92.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/3.82, allocations: 0.7072 MB / 0.9322 GB, free: 92.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0431/3.863, allocations: 11.33 MB / 0.9433 GB, free: 88.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.627e-05/3.863, allocations: 40.09 kB / 0.9433 GB, free: 88.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.146e-05/3.863, allocations: 26.38 kB / 0.9434 GB, free: 88.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.114e-05/3.864, allocations: 21.94 kB / 0.9434 GB, free: 88.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08151/3.945, allocations: 24.7 MB / 0.9675 GB, free: 79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.308e-05/3.945, allocations: 10.67 kB / 0.9675 GB, free: 79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005316/3.95, allocations: 0.5648 MB / 0.9681 GB, free: 78.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02575/3.976, allocations: 4.475 MB / 0.9724 GB, free: 75.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/3.977, allocations: 81.81 kB / 0.9725 GB, free: 75.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05608/4.033, allocations: 23.33 MB / 0.9953 GB, free: 55.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/4.033, allocations: 8 kB / 0.9953 GB, free: 55.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05037/4.084, allocations: 18.38 MB / 1.013 GB, free: 39.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005627/4.09, allocations: 1.4 MB / 1.015 GB, free: 38.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/4.092, allocations: 79.81 kB / 1.015 GB, free: 37.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008482/4.101, allocations: 255.6 kB / 1.015 GB, free: 37.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/4.102, allocations: 301.2 kB / 1.015 GB, free: 37.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000547/4.103, allocations: 111.7 kB / 1.015 GB, free: 37.53 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01263/4.116, allocations: 4.673 MB / 1.02 GB, free: 33.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.433e-06/4.116, allocations: 0 / 1.02 GB, free: 33.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01431/4.13, allocations: 2.219 MB / 1.022 GB, free: 31.2 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 284 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 113} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05321/4.183, allocations: 20.32 MB / 1.042 GB, free: 11.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.3787/4.562, allocations: 10.44 MB / 1.052 GB, free: 104.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/4.562, allocations: 2.219 kB / 1.052 GB, free: 104.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01287/4.575, allocations: 4.521 MB / 1.057 GB, free: 104.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009479/4.584, allocations: 1.05 MB / 1.058 GB, free: 104.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07312/4.658, allocations: 20.86 MB / 1.078 GB, free: 101.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01594/4.674, allocations: 6.568 MB / 1.084 GB, free: 100.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01433/4.688, allocations: 2.938 MB / 1.087 GB, free: 100.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009783/4.698, allocations: 4.349 MB / 1.091 GB, free: 100.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.362e-06/4.698, allocations: 2.734 kB / 1.091 GB, free: 100.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8137/5.512, allocations: 178.5 MB / 1.266 GB, free: 91.51 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/5.512, allocations: 201.2 kB / 1.266 GB, free: 91.28 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.934/15.45, allocations: 0 / 1.266 GB, free: 91.28 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat does not exist to compare? outputFormat=mat