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.357/2.357, allocations: 234.9 MB / 250.1 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.153e-05, allocations: 4 kB / 308 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 54.87 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0531/0.4684, allocations: 33.64 MB / 396.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.491, allocations: 7.942 MB / 404.4 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007384/0.4984, allocations: 179.6 kB / 404.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006274/0.5048, allocations: 1.73 MB / 406.3 MB, free: 288 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01893/0.5237, allocations: 4.854 MB / 411.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.5273, allocations: 0.6318 MB / 411.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005516/0.5329, allocations: 1.868 MB / 413.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008783/0.5417, allocations: 3.677 MB / 417.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.5443, allocations: 0.8416 MB / 418.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.5484, allocations: 1.383 MB / 419.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.5518, allocations: 0.6788 MB / 420.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.553, allocations: 123.9 kB / 420.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.5562, allocations: 1.488 MB / 421.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.5578, allocations: 271.9 kB / 422.2 MB, free: 416 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.569, allocations: 5.184 MB / 427.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5691, allocations: 0 / 427.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5691, allocations: 0 / 427.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002092/0.5693, allocations: 0 / 427.3 MB, free: 11.21 MB / 362.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.01504/0.5844, allocations: 3.843 MB / 431.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.5845, allocations: 11.97 kB / 431.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02084/0.6054, allocations: 2.28 MB / 433.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.6158, allocations: 2.758 MB / 436.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.6163, allocations: 254.1 kB / 436.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.6183, allocations: 311.9 kB / 436.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03813/0.6565, allocations: 10.03 MB / 446.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.6567, allocations: 43.61 kB / 446.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006526/0.6574, allocations: 155.8 kB / 447 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004961/0.6623, allocations: 1.876 MB / 448.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/0.6891, allocations: 8.012 MB / 456.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4011/1.09, allocations: 38.92 MB / 495.8 MB, free: 79.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/1.103, allocations: 3.076 MB / 498.9 MB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.115, allocations: 5.198 MB / 0.4923 GB, free: 75.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.115, allocations: 56.64 kB / 0.4923 GB, free: 75.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 4.94e-06/1.115, allocations: 3.438 kB / 0.4923 GB, free: 75.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.03561/1.15, allocations: 9.267 MB / 0.5014 GB, free: 71.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.151, allocations: 143.9 kB / 0.5015 GB, free: 71.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009928/1.161, allocations: 3.823 MB / 0.5053 GB, free: 68.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003415/1.161, allocations: 45.7 kB / 0.5053 GB, free: 68.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0029/1.164, allocations: 3.082 MB / 0.5083 GB, free: 65.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008961/1.165, allocations: 0.5873 MB / 0.5089 GB, free: 65.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006071/1.165, allocations: 120 kB / 0.509 GB, free: 65.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004719/1.166, allocations: 0.5583 MB / 0.5095 GB, free: 64.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/1.171, allocations: 1.581 MB / 0.5111 GB, free: 62.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/1.177, allocations: 5.384 MB / 0.5163 GB, free: 55.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006529/1.184, allocations: 2.858 MB / 0.5191 GB, free: 53.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.481e-05/1.184, allocations: 40 kB / 0.5192 GB, free: 53.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01621/1.2, allocations: 6.589 MB / 0.5256 GB, free: 46.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/1.201, allocations: 67.94 kB / 0.5257 GB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.201, allocations: 136 kB / 0.5258 GB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/1.201, allocations: 200 kB / 0.526 GB, free: 46.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00758/1.209, allocations: 1.392 MB / 0.5274 GB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/1.209, allocations: 271.1 kB / 0.5276 GB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.214, allocations: 295.5 kB / 0.5279 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/1.215, allocations: 373.5 kB / 0.5282 GB, free: 43.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * 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 (750): * Single equations (assignments): 747 * 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.003859/1.219, allocations: 1.971 MB / 0.5302 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/1.22, allocations: 343.6 kB / 0.5305 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/1.223, allocations: 1.253 MB / 0.5317 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.223, allocations: 16 kB / 0.5317 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.223, allocations: 0 / 0.5317 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/1.223, allocations: 11.94 kB / 0.5318 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.234, allocations: 5.534 MB / 0.5372 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.234, allocations: 16 kB / 0.5372 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.236, allocations: 255.6 kB / 0.5374 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/1.236, allocations: 24.47 kB / 0.5374 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.236, allocations: 47.98 kB / 0.5375 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.51e-05/1.236, allocations: 31.86 kB / 0.5375 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/1.236, allocations: 20.38 kB / 0.5375 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/1.242, allocations: 4.838 MB / 0.5423 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.243, allocations: 0.5354 MB / 0.5428 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/1.244, allocations: 43.98 kB / 0.5428 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.246, allocations: 56.67 kB / 0.5429 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.246, allocations: 135.5 kB / 0.543 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.246, allocations: 64.94 kB / 0.5431 GB, free: 27.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005123/1.251, allocations: 2.668 MB / 0.5457 GB, free: 24.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.251, allocations: 0 / 0.5457 GB, free: 24.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005871/1.257, allocations: 0.9044 MB / 0.5466 GB, free: 24.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (133): * Single equations (assignments): 130 * 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.0005736/1.258, allocations: 196.5 kB / 0.5467 GB, free: 23.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008139/1.266, allocations: 3.627 MB / 0.5503 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/1.266, allocations: 12.19 kB / 0.5503 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/1.268, allocations: 0.6973 MB / 0.551 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.27, allocations: 427.1 kB / 0.5514 GB, free: 19.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.29, allocations: 10.55 MB / 0.5617 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004287/1.294, allocations: 3.219 MB / 0.5648 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.295, allocations: 287.4 kB / 0.5651 GB, free: 4.789 MB / 410.7 MB Notification: Performance of SimCode: time 1.542e-06/1.295, allocations: 0 / 0.5651 GB, free: 4.789 MB / 410.7 MB Notification: Performance of Templates: time 0.1217/1.417, allocations: 51.44 MB / 0.6153 GB, free: 1.312 MB / 458.7 MB