Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.319e-05, allocations: 4 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 50.42 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5808, allocations: 111.9 MB / 455.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.5812, allocations: 89.75 kB / 455.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049/1.631, allocations: 185.5 MB / 0.6256 GB, free: 66.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.631, allocations: 0 / 0.6256 GB, free: 66.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009002/1.632, allocations: 184 kB / 0.6258 GB, free: 66.55 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.03938/1.671, allocations: 9.133 MB / 0.6347 GB, free: 57.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.671, allocations: 12.03 kB / 0.6347 GB, free: 57.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006666/1.678, allocations: 1.393 MB / 0.6361 GB, free: 55.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1213/1.799, allocations: 16.65 MB / 0.6524 GB, free: 39.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04951/1.849, allocations: 13.65 MB / 0.6657 GB, free: 25.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007743/1.85, allocations: 0.6298 MB / 0.6663 GB, free: 24.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/1.854, allocations: 0.8589 MB / 0.6671 GB, free: 23.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06264/1.917, allocations: 19.15 MB / 0.6858 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007481/1.918, allocations: 114.9 kB / 0.686 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00373/1.921, allocations: 391.9 kB / 0.6863 GB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/1.925, allocations: 1.6 MB / 0.6879 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4027/2.328, allocations: 15.09 MB / 0.7026 GB, free: 66.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/2.466, allocations: 80.41 MB / 0.7812 GB, free: 19.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03721/2.503, allocations: 7.852 MB / 0.7888 GB, free: 17.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008297/2.512, allocations: 4.006 MB / 0.7927 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/2.545, allocations: 14.04 MB / 0.8064 GB, free: 7.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/2.545, allocations: 75.22 kB / 0.8065 GB, free: 7.598 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 7.223e-06/2.545, allocations: 0 / 0.8065 GB, free: 7.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=417): time 0.2832/2.828, allocations: 40.56 MB / 0.8461 GB, free: 13.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/2.828, allocations: 412.4 kB / 0.8465 GB, free: 12.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/2.849, allocations: 6.489 MB / 0.8529 GB, free: 6.855 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001195/2.85, allocations: 93.7 kB / 0.8529 GB, free: 6.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008372/2.858, allocations: 5.818 MB / 0.8586 GB, free: 1.535 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00336/2.862, allocations: 1.508 MB / 0.8601 GB, free: 196 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/2.864, allocations: 188 kB / 0.8603 GB, free: 8 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001047/2.865, allocations: 0.6984 MB / 0.861 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01288/2.878, allocations: 4.195 MB / 0.8651 GB, free: 11.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/2.896, allocations: 9.149 MB / 0.874 GB, free: 384 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4137/3.309, allocations: 6.148 MB / 0.88 GB, free: 104.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/3.31, allocations: 50.12 kB / 0.88 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.06144/3.371, allocations: 17 MB / 0.8966 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/3.371, allocations: 83.55 kB / 0.8967 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/3.372, allocations: 174 kB / 0.8969 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/3.4, allocations: 4.897 MB / 0.9017 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01235/3.412, allocations: 1.975 MB / 0.9036 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06154/3.473, allocations: 26.46 MB / 0.9294 GB, free: 97.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/3.486, allocations: 0.5427 MB / 0.93 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/3.488, allocations: 0.5094 MB / 0.9305 GB, free: 97.41 MB / 490.7 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.002411/3.49, allocations: 0.8103 MB / 0.9313 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/3.492, allocations: 0.705 MB / 0.932 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04281/3.535, allocations: 11.33 MB / 0.943 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.133e-05/3.535, allocations: 43.59 kB / 0.9431 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-05/3.535, allocations: 22.81 kB / 0.9431 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.284e-05/3.535, allocations: 18.05 kB / 0.9431 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09137/3.627, allocations: 24.7 MB / 0.9672 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.812e-05/3.627, allocations: 4 kB / 0.9672 GB, free: 82.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007435/3.634, allocations: 0.575 MB / 0.9678 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03612/3.671, allocations: 4.471 MB / 0.9722 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/3.672, allocations: 75.33 kB / 0.9722 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06049/3.732, allocations: 23.34 MB / 0.995 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/3.732, allocations: 18.2 kB / 0.995 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05196/3.784, allocations: 18.37 MB / 1.013 GB, free: 42.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005621/3.79, allocations: 1.4 MB / 1.014 GB, free: 41.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002903/3.793, allocations: 78.62 kB / 1.014 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007806/3.801, allocations: 259.9 kB / 1.015 GB, free: 41.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/3.803, allocations: 300 kB / 1.015 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009302/3.804, allocations: 112.1 kB / 1.015 GB, free: 40.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0125/3.816, allocations: 4.675 MB / 1.02 GB, free: 36.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.333e-06/3.816, allocations: 0 / 1.02 GB, free: 36.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0145/3.831, allocations: 2.215 MB / 1.022 GB, free: 34.48 MB / 490.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 (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.05488/3.886, allocations: 20.33 MB / 1.042 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3741/4.26, allocations: 10.44 MB / 1.052 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-05/4.26, allocations: 1.375 kB / 1.052 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01385/4.274, allocations: 4.521 MB / 1.056 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/4.284, allocations: 1.049 MB / 1.057 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08072/4.365, allocations: 20.86 MB / 1.078 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/4.383, allocations: 6.566 MB / 1.084 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01661/4.4, allocations: 2.943 MB / 1.087 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01099/4.411, allocations: 4.348 MB / 1.091 GB, free: 102.7 MB / 490.7 MB Notification: Performance of SimCode: time 3.476e-06/4.411, allocations: 0 / 1.091 GB, free: 102.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7944/5.205, allocations: 178.5 MB / 1.265 GB, free: 94.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/5.206, allocations: 186.4 kB / 1.266 GB, free: 94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.936/15.14, allocations: 0 / 1.266 GB, free: 94 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat does not exist to compare? outputFormat=mat