Notification: Performance of loadModel(Modelica): time 0.9952/0.9952, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.29e-05, allocations: 4 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 25.16 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09295/0.2309, allocations: 49.36 MB / 220.4 MB, free: 4.121 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.2312, allocations: 79.89 kB / 220.5 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.503/1.734, allocations: 265.5 MB / 486 MB, free: 10.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.001208/1.735, allocations: 188.2 kB / 486.2 MB, free: 10.09 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 0.07837/1.814, allocations: 11.91 MB / 498.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.814, allocations: 10.97 kB / 498.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3744/2.188, allocations: 40.52 MB / 0.526 GB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06225/2.251, allocations: 15.68 MB / 0.5413 GB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/2.252, allocations: 296 kB / 0.5416 GB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008468/2.26, allocations: 0.535 MB / 0.5421 GB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1942/2.454, allocations: 20.71 MB / 0.5623 GB, free: 39.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07375/2.528, allocations: 24.03 MB / 0.5858 GB, free: 32.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001171/2.529, allocations: 83.41 kB / 0.5859 GB, free: 32.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008811/2.538, allocations: 29.36 kB / 0.5859 GB, free: 32.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09753/2.636, allocations: 11.12 MB / 0.5968 GB, free: 31.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.348/3.984, allocations: 158.8 MB / 0.7519 GB, free: 26.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/3.998, allocations: 7.606 MB / 0.7593 GB, free: 26.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01053/4.009, allocations: 5.505 MB / 0.7647 GB, free: 25.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/4.01, allocations: 0.8549 MB / 0.7655 GB, free: 25.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/4.01, allocations: 92.81 kB / 0.7656 GB, free: 25.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=441): time 1.442e-05/4.011, allocations: 0 / 0.7656 GB, free: 25.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=503): time 0.217/4.228, allocations: 53.96 MB / 0.8183 GB, free: 5.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/4.228, allocations: 0.6177 MB / 0.8189 GB, free: 4.895 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01855/4.246, allocations: 6.417 MB / 0.8252 GB, free: 15.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001681/4.248, allocations: 29.7 kB / 0.8252 GB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008327/4.256, allocations: 6.201 MB / 0.8312 GB, free: 9.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004046/4.261, allocations: 1.747 MB / 0.8329 GB, free: 8.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002876/4.263, allocations: 0 / 0.8329 GB, free: 8.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.001776/4.265, allocations: 0.7812 MB / 0.8337 GB, free: 7.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01508/4.28, allocations: 5.478 MB / 0.8391 GB, free: 2.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03626/4.317, allocations: 12.19 MB / 0.851 GB, free: 7.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/4.335, allocations: 7.067 MB / 0.8579 GB, free: 1.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003116/4.335, allocations: 56 kB / 0.8579 GB, free: 1.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.2213/4.557, allocations: 20.41 MB / 0.8779 GB, free: 68.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/4.557, allocations: 95.31 kB / 0.8779 GB, free: 68.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007042/4.557, allocations: 361.2 kB / 0.8783 GB, free: 68.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02902/4.586, allocations: 5.407 MB / 0.8836 GB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01681/4.603, allocations: 2.531 MB / 0.886 GB, free: 68.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0584/4.662, allocations: 26.03 MB / 0.9115 GB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02784/4.69, allocations: 1.791 MB / 0.9132 GB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003858/4.694, allocations: 0.8103 MB / 0.914 GB, free: 61.96 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B1.frame_b.r_0[2]:DUMMY_STATE(flow=false unit = "m" ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 950 * 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 (1289): * Single equations (assignments): 1267 * Array equations: 19 * 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%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.005408/4.699, allocations: 0.6347 MB / 0.9146 GB, free: 61.58 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06265/4.762, allocations: 13.27 MB / 0.9276 GB, free: 57.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004894/4.767, allocations: 0.7168 MB / 0.9283 GB, free: 57.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05255/4.819, allocations: 11.86 MB / 0.9399 GB, free: 50.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0608/4.88, allocations: 13.08 MB / 0.9526 GB, free: 41.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.427e-05/4.88, allocations: 20 kB / 0.9527 GB, free: 41.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001579/4.88, allocations: 29.52 kB / 0.9527 GB, free: 41.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3129/5.193, allocations: 37.28 MB / 0.9891 GB, free: 63.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.193e-05/5.193, allocations: 20.28 kB / 0.9891 GB, free: 63.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005641/5.199, allocations: 0.6407 MB / 0.9897 GB, free: 63.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02639/5.226, allocations: 4.536 MB / 0.9942 GB, free: 63.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001506/5.227, allocations: 106.1 kB / 0.9943 GB, free: 63.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05204/5.279, allocations: 23.5 MB / 1.017 GB, free: 58.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/5.279, allocations: 31.47 kB / 1.017 GB, free: 58.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05585/5.335, allocations: 23.03 MB / 1.04 GB, free: 47.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006687/5.342, allocations: 1.742 MB / 1.041 GB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003757/5.346, allocations: 27.61 kB / 1.041 GB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02028/5.366, allocations: 1.42 MB / 1.043 GB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002149/5.368, allocations: 282.3 kB / 1.043 GB, free: 47.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001636/5.37, allocations: 305.2 kB / 1.043 GB, free: 47.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01755/5.387, allocations: 4.431 MB / 1.048 GB, free: 45.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.322e-06/5.388, allocations: 0 / 1.048 GB, free: 45.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.02625/5.414, allocations: 2.147 MB / 1.05 GB, free: 45.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (360): * Single equations (assignments): 345 * 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 {(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.09/5.504, allocations: 26.62 MB / 1.076 GB, free: 26.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.04184/5.546, allocations: 14.2 MB / 1.09 GB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/5.546, allocations: 0 / 1.09 GB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0263/5.572, allocations: 6.51 MB / 1.096 GB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009584/5.582, allocations: 0.9267 MB / 1.097 GB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2259/5.808, allocations: 22.28 MB / 1.119 GB, free: 65.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02002/5.828, allocations: 6.776 MB / 1.125 GB, free: 64.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.02293/5.851, allocations: 3.86 MB / 1.129 GB, free: 64.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01399/5.865, allocations: 4.906 MB / 1.134 GB, free: 64.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/5.865, allocations: 3.75 kB / 1.134 GB, free: 64.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7591/6.624, allocations: 202.6 MB / 1.332 GB, free: 26.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004508/6.629, allocations: 140.9 kB / 1.332 GB, free: 26.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.07/17.7, allocations: 5.906 kB / 1.332 GB, free: 26.26 MB / 314.7 MB