Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.61e-05/4.618e-05, allocations: 4 kB / 269.4 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5999, allocations: 96.2 MB / 413.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/0.6004, allocations: 89.12 kB / 413.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9886/1.589, allocations: 161.3 MB / 0.5612 GB, free: 82.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.589, allocations: 0 / 0.5612 GB, free: 82.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008063/1.59, allocations: 161.1 kB / 0.5614 GB, free: 82.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03267/1.623, allocations: 7.901 MB / 0.5691 GB, free: 79.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.623, allocations: 11.47 kB / 0.5691 GB, free: 79.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005746/1.628, allocations: 1.197 MB / 0.5703 GB, free: 79.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1206/1.749, allocations: 16.49 MB / 0.5864 GB, free: 78.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04507/1.794, allocations: 13.5 MB / 0.5995 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006907/1.795, allocations: 0.5249 MB / 0.6 GB, free: 71.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004/1.799, allocations: 0.7292 MB / 0.6008 GB, free: 70.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.051/1.85, allocations: 16.18 MB / 0.6166 GB, free: 53.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000612/1.851, allocations: 107 kB / 0.6167 GB, free: 53.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003012/1.854, allocations: 335.8 kB / 0.617 GB, free: 53.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/1.857, allocations: 1.482 MB / 0.6184 GB, free: 51.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04064/1.898, allocations: 12.48 MB / 0.6306 GB, free: 39.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4399/2.338, allocations: 73.4 MB / 0.7023 GB, free: 46.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03293/2.371, allocations: 7.429 MB / 0.7096 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007327/2.378, allocations: 3.967 MB / 0.7134 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0282/2.407, allocations: 11.59 MB / 0.7247 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/2.407, allocations: 63.34 kB / 0.7248 GB, free: 43.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 7.334e-06/2.407, allocations: 0 / 0.7248 GB, free: 43.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.2226/2.629, allocations: 37.94 MB / 0.7619 GB, free: 37.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/2.629, allocations: 398.1 kB / 0.7622 GB, free: 36.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/2.644, allocations: 6.195 MB / 0.7683 GB, free: 34.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000945/2.645, allocations: 75.73 kB / 0.7684 GB, free: 34.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005232/2.65, allocations: 5.232 MB / 0.7735 GB, free: 30.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001967/2.652, allocations: 1.253 MB / 0.7747 GB, free: 29.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009578/2.653, allocations: 165.2 kB / 0.7748 GB, free: 29.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005476/2.654, allocations: 0.6494 MB / 0.7755 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008295/2.662, allocations: 3.729 MB / 0.7791 GB, free: 27.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.674, allocations: 8.351 MB / 0.7873 GB, free: 18.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/2.686, allocations: 5.491 MB / 0.7926 GB, free: 14.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/2.686, allocations: 51.95 kB / 0.7927 GB, free: 13.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.06613/2.752, allocations: 16.12 MB / 0.8084 GB, free: 1.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/2.752, allocations: 78.03 kB / 0.8085 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000291/2.753, allocations: 164 kB / 0.8087 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03424/2.787, allocations: 5.726 MB / 0.8143 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.8, allocations: 1.794 MB / 0.816 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06738/2.867, allocations: 28.02 MB / 0.8434 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.879, allocations: 0.5188 MB / 0.8439 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.881, allocations: 480 kB / 0.8443 GB, free: 440 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 740 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 941 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,51.6%) 93,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.3304/3.211, allocations: 0.7338 MB / 0.8451 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003458/3.215, allocations: 0.657 MB / 0.8457 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06915/3.284, allocations: 10.9 MB / 0.8563 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/3.284, allocations: 34.66 kB / 0.8564 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.161e-05/3.284, allocations: 15.03 kB / 0.8564 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.196e-05/3.285, allocations: 18.81 kB / 0.8564 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0767/3.361, allocations: 23.93 MB / 0.8798 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-05/3.361, allocations: 8.188 kB / 0.8798 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/3.366, allocations: 425.8 kB / 0.8802 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0382/3.404, allocations: 5.078 MB / 0.8851 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000969/3.405, allocations: 70.62 kB / 0.8852 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07065/3.476, allocations: 26.74 MB / 0.9113 GB, free: 96.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/3.476, allocations: 11.38 kB / 0.9113 GB, free: 96.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06088/3.537, allocations: 16.78 MB / 0.9277 GB, free: 89.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007557/3.545, allocations: 1.273 MB / 0.929 GB, free: 89.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003843/3.549, allocations: 60.27 kB / 0.929 GB, free: 89.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01125/3.56, allocations: 256.7 kB / 0.9293 GB, free: 89.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002799/3.563, allocations: 248.4 kB / 0.9295 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008599/3.564, allocations: 86.41 kB / 0.9296 GB, free: 89.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02014/3.584, allocations: 4.469 MB / 0.934 GB, free: 87.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.382e-06/3.584, allocations: 3.719 kB / 0.934 GB, free: 87.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01242/3.596, allocations: 1.971 MB / 0.9359 GB, free: 85.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04803/3.644, allocations: 18.51 MB / 0.954 GB, free: 69.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02392/3.668, allocations: 9.723 MB / 0.9635 GB, free: 61.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/3.669, allocations: 4 kB / 0.9635 GB, free: 61.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01214/3.681, allocations: 4.367 MB / 0.9677 GB, free: 57.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008316/3.689, allocations: 0.9843 MB / 0.9687 GB, free: 56.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05776/3.747, allocations: 18.22 MB / 0.9865 GB, free: 40.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/3.761, allocations: 5.721 MB / 0.9921 GB, free: 34.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01304/3.774, allocations: 2.637 MB / 0.9946 GB, free: 31.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008108/3.782, allocations: 3.725 MB / 0.9983 GB, free: 28.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.084e-06/3.782, allocations: 0 / 0.9983 GB, free: 28.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7283/4.511, allocations: 158.7 MB / 1.153 GB, free: 21.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/4.511, allocations: 196.3 kB / 1.153 GB, free: 21.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/13.27, allocations: 0 / 1.153 GB, free: 21.53 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat does not exist to compare? outputFormat=mat