Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.482e-05, allocations: 5.406 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09007, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5159, allocations: 90.64 MB / 390.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5162, allocations: 87.62 kB / 390.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9687/1.485, allocations: 160 MB / 0.5378 GB, free: 58.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.485, allocations: 0 / 0.5378 GB, free: 58.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007205/1.486, allocations: 163.4 kB / 0.5379 GB, free: 58.72 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: 2383 * Number of variables: 2383 Notification: Performance of Generate backend data structure: time 0.03256/1.518, allocations: 7.881 MB / 0.5456 GB, free: 55.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/1.518, allocations: 12.34 kB / 0.5456 GB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00592/1.524, allocations: 1.204 MB / 0.5468 GB, free: 55.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1184/1.643, allocations: 16.49 MB / 0.5629 GB, free: 55.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04572/1.688, allocations: 13.48 MB / 0.5761 GB, free: 53.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006885/1.689, allocations: 0.5217 MB / 0.5766 GB, free: 53.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/1.693, allocations: 0.7224 MB / 0.5773 GB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05048/1.744, allocations: 16.26 MB / 0.5932 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006278/1.744, allocations: 107.5 kB / 0.5933 GB, free: 50.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00322/1.748, allocations: 333.5 kB / 0.5936 GB, free: 50.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/1.751, allocations: 1.486 MB / 0.5951 GB, free: 50.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04116/1.792, allocations: 12.72 MB / 0.6075 GB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4278/2.22, allocations: 73.32 MB / 0.6791 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03503/2.255, allocations: 7.444 MB / 0.6863 GB, free: 62.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007658/2.263, allocations: 3.974 MB / 0.6902 GB, free: 62.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02919/2.292, allocations: 11.58 MB / 0.7015 GB, free: 60.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/2.292, allocations: 68.59 kB / 0.7016 GB, free: 60.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 8.305e-06/2.292, allocations: 0 / 0.7016 GB, free: 60.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.2336/2.526, allocations: 37.92 MB / 0.7386 GB, free: 56.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/2.526, allocations: 396.4 kB / 0.739 GB, free: 55.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01638/2.543, allocations: 6.179 MB / 0.745 GB, free: 55.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009517/2.544, allocations: 76.44 kB / 0.7451 GB, free: 55.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005376/2.549, allocations: 5.219 MB / 0.7502 GB, free: 53.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/2.551, allocations: 1.247 MB / 0.7514 GB, free: 52.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/2.552, allocations: 167.9 kB / 0.7516 GB, free: 52.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006387/2.553, allocations: 0.6574 MB / 0.7522 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009291/2.562, allocations: 3.72 MB / 0.7559 GB, free: 51.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/2.575, allocations: 8.369 MB / 0.764 GB, free: 44.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/2.587, allocations: 5.482 MB / 0.7694 GB, free: 42.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/2.588, allocations: 55.03 kB / 0.7695 GB, free: 42.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=1080) (initialization): time 0.07084/2.658, allocations: 16.54 MB / 0.7856 GB, free: 32.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/2.659, allocations: 72 kB / 0.7857 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003113/2.659, allocations: 164.1 kB / 0.7858 GB, free: 32.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03719/2.696, allocations: 5.5 MB / 0.7912 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0109/2.707, allocations: 1.79 MB / 0.793 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06128/2.768, allocations: 27.99 MB / 0.8203 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.78, allocations: 0.522 MB / 0.8208 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.782, allocations: 474.5 kB / 0.8212 GB, free: 1.707 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 737 * Number of states: 0 () * Number of discrete variables: 63 (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],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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.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 (944): * Single equations (assignments): 938 * 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.003377/2.785, allocations: 0.7472 MB / 0.822 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/2.787, allocations: 0.6556 MB / 0.8226 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4011/3.188, allocations: 11.06 MB / 0.8334 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/3.189, allocations: 34.06 kB / 0.8335 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/3.189, allocations: 21.03 kB / 0.8335 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-05/3.189, allocations: 23.75 kB / 0.8335 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08628/3.275, allocations: 23.92 MB / 0.8569 GB, free: 69.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.343e-05/3.275, allocations: 10.77 kB / 0.8569 GB, free: 69.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003787/3.279, allocations: 427 kB / 0.8573 GB, free: 69.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02817/3.307, allocations: 5.084 MB / 0.8622 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009167/3.308, allocations: 57.22 kB / 0.8623 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05854/3.367, allocations: 26.72 MB / 0.8884 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/3.367, allocations: 9.625 kB / 0.8884 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05323/3.42, allocations: 16.76 MB / 0.9048 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008343/3.428, allocations: 1.262 MB / 0.906 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003166/3.432, allocations: 59.44 kB / 0.9061 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006946/3.439, allocations: 264.3 kB / 0.9063 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/3.44, allocations: 238.9 kB / 0.9065 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/3.441, allocations: 93.92 kB / 0.9066 GB, free: 56.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01242/3.453, allocations: 4.449 MB / 0.911 GB, free: 55.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.384e-06/3.453, allocations: 0 / 0.911 GB, free: 55.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01291/3.466, allocations: 1.965 MB / 0.9129 GB, free: 55.26 MB / 442.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.05098/3.517, allocations: 18.49 MB / 0.9309 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02596/3.543, allocations: 9.988 MB / 0.9407 GB, free: 43.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/3.543, allocations: 0 / 0.9407 GB, free: 43.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01299/3.556, allocations: 4.42 MB / 0.945 GB, free: 40.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/3.565, allocations: 0.977 MB / 0.946 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06131/3.627, allocations: 18.23 MB / 0.9638 GB, free: 23.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01389/3.64, allocations: 5.707 MB / 0.9693 GB, free: 19.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01279/3.653, allocations: 2.635 MB / 0.9719 GB, free: 18.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008511/3.662, allocations: 3.739 MB / 0.9756 GB, free: 14.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/3.662, allocations: 4 kB / 0.9756 GB, free: 14.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7181/4.38, allocations: 159.3 MB / 1.131 GB, free: 15.02 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/4.38, allocations: 181.6 kB / 1.131 GB, free: 14.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/13.45, allocations: 0 / 1.131 GB, free: 14.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat does not exist to compare? outputFormat=mat