Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.036e-05, allocations: 7.984 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6108, allocations: 109.5 MB / 426.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.6111, allocations: 87.2 kB / 426.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142/1.753, allocations: 183.8 MB / 0.5961 GB, free: 79.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.753, allocations: 0 / 0.5961 GB, free: 79.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001259/1.754, allocations: 186.7 kB / 0.5963 GB, free: 79.02 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.04026/1.795, allocations: 9.159 MB / 0.6052 GB, free: 69.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.795, allocations: 8.031 kB / 0.6052 GB, free: 69.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006484/1.801, allocations: 1.397 MB / 0.6066 GB, free: 68.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1209/1.922, allocations: 16.66 MB / 0.6229 GB, free: 51.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04981/1.972, allocations: 14.6 MB / 0.6371 GB, free: 37.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000838/1.973, allocations: 0.6245 MB / 0.6377 GB, free: 36.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004572/1.977, allocations: 0.859 MB / 0.6386 GB, free: 35.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06215/2.04, allocations: 19.16 MB / 0.6573 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007747/2.04, allocations: 115 kB / 0.6574 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004091/2.045, allocations: 387.9 kB / 0.6578 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003858/2.048, allocations: 1.6 MB / 0.6593 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4112/2.46, allocations: 15.09 MB / 0.6741 GB, free: 66.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/2.664, allocations: 80.6 MB / 0.7528 GB, free: 22.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03737/2.701, allocations: 7.8 MB / 0.7604 GB, free: 19.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00822/2.709, allocations: 4.002 MB / 0.7643 GB, free: 17.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03666/2.746, allocations: 14.08 MB / 0.778 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.627e-05/2.746, allocations: 70.16 kB / 0.7781 GB, free: 10.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 7.754e-06/2.746, allocations: 0 / 0.7781 GB, free: 10.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=408): time 0.2513/2.997, allocations: 38.04 MB / 0.8153 GB, free: 7.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003562/2.998, allocations: 400.9 kB / 0.8156 GB, free: 7.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03164/3.03, allocations: 6.602 MB / 0.8221 GB, free: 1.309 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001335/3.031, allocations: 92.61 kB / 0.8222 GB, free: 1.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009954/3.041, allocations: 5.95 MB / 0.828 GB, free: 12.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003119/3.044, allocations: 1.485 MB / 0.8294 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/3.046, allocations: 186.5 kB / 0.8296 GB, free: 10.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001363/3.048, allocations: 0.7019 MB / 0.8303 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01278/3.061, allocations: 4.095 MB / 0.8343 GB, free: 6.426 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3731/3.434, allocations: 9.065 MB / 0.8431 GB, free: 92.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/3.451, allocations: 6.052 MB / 0.8491 GB, free: 92.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003873/3.452, allocations: 51.91 kB / 0.8491 GB, free: 92.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.06523/3.517, allocations: 16.6 MB / 0.8653 GB, free: 91.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/3.517, allocations: 78.78 kB / 0.8654 GB, free: 91.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003326/3.518, allocations: 175.1 kB / 0.8656 GB, free: 91.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02724/3.545, allocations: 4.702 MB / 0.8701 GB, free: 91.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/3.559, allocations: 1.958 MB / 0.8721 GB, free: 91.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06853/3.627, allocations: 25.14 MB / 0.8966 GB, free: 84.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/3.641, allocations: 0.5339 MB / 0.8971 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/3.644, allocations: 0.5155 MB / 0.8976 GB, free: 84.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * 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],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.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1063): * Single equations (assignments): 1058 * 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%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004641/3.648, allocations: 0.8032 MB / 0.8984 GB, free: 83.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002474/3.651, allocations: 0.7217 MB / 0.8991 GB, free: 83.87 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04296/3.694, allocations: 10.84 MB / 0.9097 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.167e-05/3.694, allocations: 45.28 kB / 0.9098 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.106e-05/3.694, allocations: 21.38 kB / 0.9098 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.331e-05/3.694, allocations: 23.31 kB / 0.9098 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08397/3.778, allocations: 23.66 MB / 0.9329 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.272e-05/3.778, allocations: 8 kB / 0.9329 GB, free: 69.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005102/3.783, allocations: 0.5256 MB / 0.9334 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02494/3.808, allocations: 4.128 MB / 0.9375 GB, free: 65.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009553/3.809, allocations: 87.52 kB / 0.9375 GB, free: 65.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05404/3.864, allocations: 21.87 MB / 0.9589 GB, free: 47.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/3.864, allocations: 11.94 kB / 0.9589 GB, free: 47.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04989/3.914, allocations: 17.48 MB / 0.976 GB, free: 31.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00557/3.919, allocations: 1.371 MB / 0.9773 GB, free: 29.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/3.922, allocations: 83.56 kB / 0.9774 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007871/3.93, allocations: 244.6 kB / 0.9776 GB, free: 29.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/3.932, allocations: 287.1 kB / 0.9779 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005024/3.932, allocations: 116.7 kB / 0.978 GB, free: 29.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01304/3.945, allocations: 4.743 MB / 0.9827 GB, free: 24.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.01e-07/3.945, allocations: 0 / 0.9827 GB, free: 24.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01488/3.96, allocations: 2.204 MB / 0.9848 GB, free: 22.27 MB / 458.7 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 (284): * Single equations (assignments): 280 * 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%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05782/4.018, allocations: 19.41 MB / 1.004 GB, free: 2.574 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3607/4.379, allocations: 10.13 MB / 1.014 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/4.379, allocations: 4.031 kB / 1.014 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01202/4.391, allocations: 4.279 MB / 1.018 GB, free: 111.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/4.401, allocations: 1.061 MB / 1.019 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08407/4.485, allocations: 20.81 MB / 1.039 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01846/4.504, allocations: 6.575 MB / 1.046 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01559/4.519, allocations: 2.942 MB / 1.048 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/4.53, allocations: 4.299 MB / 1.053 GB, free: 107.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.863e-06/4.53, allocations: 0 / 1.053 GB, free: 107.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/5.29, allocations: 177.4 MB / 1.226 GB, free: 105.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/5.29, allocations: 188.6 kB / 1.226 GB, free: 104.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/14.6, allocations: 0 / 1.226 GB, free: 104.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat does not exist to compare? outputFormat=mat