Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.687e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 54.85 MB / 359.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.483, allocations: 97.32 MB / 457.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4833, allocations: 76.73 kB / 457.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7001/1.183, allocations: 84.79 MB / 0.5292 GB, free: 101.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.105e-06/1.183, allocations: 1.25 kB / 0.5292 GB, free: 101.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002365/1.184, allocations: 82.09 kB / 0.5293 GB, free: 101.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01087/1.195, allocations: 3.899 MB / 0.5331 GB, free: 100.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.195, allocations: 13.16 kB / 0.5331 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/1.209, allocations: 2.443 MB / 0.5355 GB, free: 99.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.225, allocations: 5.127 MB / 0.5405 GB, free: 99.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/1.225, allocations: 327.2 kB / 0.5408 GB, free: 99.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/1.227, allocations: 427.8 kB / 0.5412 GB, free: 99.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/1.25, allocations: 10.3 MB / 0.5513 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/1.25, allocations: 66.44 kB / 0.5514 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009926/1.251, allocations: 207.3 kB / 0.5516 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/1.253, allocations: 1.008 MB / 0.5526 GB, free: 96.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/1.272, allocations: 7.784 MB / 0.5602 GB, free: 96.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/1.321, allocations: 47.43 MB / 0.6065 GB, free: 59.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/1.33, allocations: 2.997 MB / 0.6094 GB, free: 58.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.331, allocations: 0.971 MB / 0.6103 GB, free: 58.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009003/1.341, allocations: 5.199 MB / 0.6154 GB, free: 54.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.341, allocations: 50.16 kB / 0.6155 GB, free: 54.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 5.94e-06/1.341, allocations: 4 kB / 0.6155 GB, free: 54.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.02486/1.365, allocations: 8.262 MB / 0.6235 GB, free: 50.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/1.366, allocations: 193.4 kB / 0.6237 GB, free: 50.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/1.371, allocations: 3.542 MB / 0.6272 GB, free: 48.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/1.372, allocations: 45.7 kB / 0.6272 GB, free: 48.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.373, allocations: 3.083 MB / 0.6302 GB, free: 45.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.374, allocations: 0.5894 MB / 0.6308 GB, free: 45.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/1.374, allocations: 116 kB / 0.6309 GB, free: 45.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003196/1.374, allocations: 0.565 MB / 0.6315 GB, free: 44.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/1.377, allocations: 1.52 MB / 0.633 GB, free: 43.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/1.382, allocations: 5.28 MB / 0.6381 GB, free: 36.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/1.386, allocations: 2.845 MB / 0.6409 GB, free: 33.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.691e-05/1.386, allocations: 39.94 kB / 0.6409 GB, free: 33.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01186/1.398, allocations: 6.08 MB / 0.6469 GB, free: 28.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/1.398, allocations: 64 kB / 0.6469 GB, free: 28.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/1.398, allocations: 136 kB / 0.6471 GB, free: 28.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/1.399, allocations: 196 kB / 0.6473 GB, free: 28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/1.404, allocations: 1.423 MB / 0.6486 GB, free: 26.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001947/1.404, allocations: 261.1 kB / 0.6489 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/1.409, allocations: 381.9 kB / 0.6493 GB, free: 26.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/1.41, allocations: 372 kB / 0.6496 GB, free: 25.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 743 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000795/1.411, allocations: 0.5658 MB / 0.6502 GB, free: 25.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/1.411, allocations: 347.4 kB / 0.6505 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.414, allocations: 1.221 MB / 0.6517 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/1.414, allocations: 16 kB / 0.6517 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.734e-06/1.414, allocations: 5.781 kB / 0.6517 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.414, allocations: 11.59 kB / 0.6517 GB, free: 23.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.424, allocations: 5.488 MB / 0.6571 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.424, allocations: 16 kB / 0.6571 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.425, allocations: 263.4 kB / 0.6573 GB, free: 18.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-05/1.425, allocations: 24 kB / 0.6574 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.425, allocations: 44 kB / 0.6574 GB, free: 18.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-05/1.426, allocations: 35.34 kB / 0.6574 GB, free: 18.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/1.426, allocations: 19.94 kB / 0.6575 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/1.43, allocations: 4.837 MB / 0.6622 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.431, allocations: 0.5266 MB / 0.6627 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.432, allocations: 49.47 kB / 0.6627 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.433, allocations: 92.59 kB / 0.6628 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.433, allocations: 134.1 kB / 0.663 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.434, allocations: 63.94 kB / 0.663 GB, free: 12.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004242/1.438, allocations: 2.447 MB / 0.6654 GB, free: 10.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.178e-06/1.438, allocations: 0 / 0.6654 GB, free: 10.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00608/1.444, allocations: 0.8867 MB / 0.6663 GB, free: 9.516 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/1.444, allocations: 201.7 kB / 0.6665 GB, free: 9.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006186/1.451, allocations: 3.351 MB / 0.6697 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.451, allocations: 0 / 0.6697 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.452, allocations: 0.6733 MB / 0.6704 GB, free: 5.645 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.454, allocations: 415.4 kB / 0.6708 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.469, allocations: 7.422 MB / 0.678 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005149/1.474, allocations: 3.223 MB / 0.6812 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.475, allocations: 283.4 kB / 0.6815 GB, free: 11.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.797e-06/1.475, allocations: 0 / 0.6815 GB, free: 11.44 MB / 474.7 MB Notification: Performance of Templates: time 0.3695/1.845, allocations: 50.07 MB / 0.7304 GB, free: 115.2 MB / 490.7 MB