Notification: Performance of loadModel(Modelica): time 1.034/1.034, allocations: 111.2 MB / 118.4 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.367e-05, allocations: 4 kB / 145.9 MB, free: 7.691 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0523/0.05234, allocations: 25.16 MB / 171.1 MB, free: 14.48 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.2293, allocations: 50.46 MB / 221.5 MB, free: 1.367 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.2297, allocations: 71.69 kB / 221.6 MB, free: 1.359 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.675/1.904, allocations: 270.1 MB / 491.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000933/1.905, allocations: 200.6 kB / 491.9 MB, free: 11.91 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3136 * Number of variables: 3136 Notification: Performance of Generate backend data structure: time 0.0655/1.971, allocations: 12.22 MB / 0.4923 GB, free: 8.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/1.971, allocations: 10.78 kB / 0.4923 GB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3563/2.327, allocations: 40.57 MB / 0.5319 GB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06411/2.391, allocations: 16.2 MB / 0.5477 GB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008717/2.392, allocations: 308.3 kB / 0.548 GB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008672/2.401, allocations: 0.5565 MB / 0.5486 GB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06218/2.463, allocations: 21.1 MB / 0.5692 GB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2159/2.679, allocations: 24.55 MB / 0.5932 GB, free: 35.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009233/2.68, allocations: 89.12 kB / 0.5932 GB, free: 35.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007032/2.687, allocations: 26.47 kB / 0.5933 GB, free: 35.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09473/2.782, allocations: 11.17 MB / 0.6042 GB, free: 35.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.192/3.974, allocations: 160.4 MB / 0.7608 GB, free: 16.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/3.988, allocations: 7.688 MB / 0.7683 GB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009738/3.998, allocations: 5.47 MB / 0.7736 GB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/3.999, allocations: 1.398 MB / 0.775 GB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/4, allocations: 91.89 kB / 0.7751 GB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=451): time 1.399e-05/4, allocations: 0 / 0.7751 GB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=534): time 0.4027/4.402, allocations: 52.97 MB / 0.8268 GB, free: 39.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002514/4.403, allocations: 0.6055 MB / 0.8274 GB, free: 38.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0267/4.429, allocations: 6.593 MB / 0.8338 GB, free: 37.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002197/4.432, allocations: 28.83 kB / 0.8339 GB, free: 37.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009233/4.441, allocations: 6.441 MB / 0.8402 GB, free: 34.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00467/4.446, allocations: 1.853 MB / 0.842 GB, free: 33.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003565/4.449, allocations: 3 kB / 0.842 GB, free: 33.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.002192/4.452, allocations: 0.7931 MB / 0.8427 GB, free: 33.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01767/4.469, allocations: 5.389 MB / 0.848 GB, free: 33.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02386/4.493, allocations: 11.53 MB / 0.8593 GB, free: 25.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/4.509, allocations: 7.069 MB / 0.8662 GB, free: 25.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002694/4.509, allocations: 65.09 kB / 0.8662 GB, free: 25.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=1518) (initialization): time 0.05886/4.568, allocations: 18.45 MB / 0.8843 GB, free: 19.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000189/4.568, allocations: 99.42 kB / 0.8844 GB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006796/4.569, allocations: 376.2 kB / 0.8847 GB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01894/4.588, allocations: 3.744 MB / 0.8884 GB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0183/4.606, allocations: 2.612 MB / 0.8909 GB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1982/4.805, allocations: 22.52 MB / 0.9129 GB, free: 42.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0276/4.832, allocations: 1.756 MB / 0.9146 GB, free: 42.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004243/4.837, allocations: 0.8332 MB / 0.9154 GB, free: 42.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 981 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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.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 (1352): * Single equations (assignments): 1331 * Array equations: 18 * 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,64.1%) 98,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.006234/4.843, allocations: 0.6559 MB / 0.9161 GB, free: 42.41 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03943/4.882, allocations: 11.67 MB / 0.9275 GB, free: 42.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003948/4.886, allocations: 0.7437 MB / 0.9282 GB, free: 42.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03763/4.924, allocations: 10.22 MB / 0.9382 GB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05435/4.978, allocations: 11.41 MB / 0.9493 GB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-05/4.979, allocations: 19.69 kB / 0.9493 GB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001697/4.979, allocations: 30.27 kB / 0.9494 GB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1543/5.133, allocations: 32.64 MB / 0.9812 GB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-05/5.133, allocations: 23.62 kB / 0.9813 GB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006139/5.139, allocations: 0.695 MB / 0.9819 GB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/5.157, allocations: 3.3 MB / 0.9852 GB, free: 25.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001684/5.158, allocations: 99.88 kB / 0.9853 GB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04616/5.205, allocations: 20.89 MB / 1.006 GB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.672e-05/5.205, allocations: 32.91 kB / 1.006 GB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2068/5.412, allocations: 22.46 MB / 1.028 GB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007624/5.419, allocations: 1.76 MB / 1.029 GB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004314/5.424, allocations: 32.22 kB / 1.029 GB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02035/5.444, allocations: 1.414 MB / 1.031 GB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/5.446, allocations: 305.3 kB / 1.031 GB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001717/5.448, allocations: 310 kB / 1.031 GB, free: 36.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01311/5.461, allocations: 4.56 MB / 1.036 GB, free: 36.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.91e-07/5.461, allocations: 0 / 1.036 GB, free: 36.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01927/5.48, allocations: 2.197 MB / 1.038 GB, free: 36.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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 (393): * Single equations (assignments): 378 * Array equations: 12 * 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 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0543/5.534, allocations: 26.22 MB / 1.064 GB, free: 26.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.04229/5.577, allocations: 14.08 MB / 1.077 GB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.626e-05/5.577, allocations: 3.562 kB / 1.077 GB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02755/5.604, allocations: 6.576 MB / 1.084 GB, free: 19.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/5.616, allocations: 0.9615 MB / 1.085 GB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07493/5.691, allocations: 22.42 MB / 1.107 GB, free: 216 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02574/5.716, allocations: 7.331 MB / 1.114 GB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.02423/5.741, allocations: 4.047 MB / 1.118 GB, free: 9.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.171/5.912, allocations: 5.637 MB / 1.123 GB, free: 48.01 MB / 314.7 MB Notification: Performance of SimCode: time 2.154e-06/5.912, allocations: 0 / 1.123 GB, free: 48.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6264/6.538, allocations: 208.1 MB / 1.326 GB, free: 9.812 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004766/6.543, allocations: 141.5 kB / 1.327 GB, free: 9.625 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.4/17.94, allocations: 0 / 1.327 GB, free: 9.625 MB / 314.7 MB