Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.984e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4025, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.04552/0.4481, allocations: 29.61 MB / 392.5 MB, free: 164 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.4672, allocations: 6.581 MB / 399 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006633/0.4739, allocations: 151.7 kB / 399.2 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.4794, allocations: 1.532 MB / 400.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.4947, allocations: 3.954 MB / 404.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4975, allocations: 367.3 kB / 405 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.5011, allocations: 1.154 MB / 406.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006953/0.5081, allocations: 3.278 MB / 409.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.5094, allocations: 0.6078 MB / 410.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.5115, allocations: 0.931 MB / 411 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.5137, allocations: 0.7334 MB / 411.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008294/0.5146, allocations: 100 kB / 411.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.5163, allocations: 1.122 MB / 413 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.5173, allocations: 212 kB / 413.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.5245, allocations: 4.518 MB / 417.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5246, allocations: 0 / 417.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5246, allocations: 4 kB / 417.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.5248, allocations: 3.938 kB / 417.7 MB, free: 6.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01164/0.5364, allocations: 3.418 MB / 421.1 MB, free: 3.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5365, allocations: 12.03 kB / 421.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.5494, allocations: 2.14 MB / 423.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/0.5545, allocations: 1.624 MB / 424.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.5548, allocations: 205.2 kB / 425.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.5561, allocations: 283.8 kB / 425.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/0.5879, allocations: 10.09 MB / 435.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.5882, allocations: 35.64 kB / 435.5 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.5896, allocations: 131.9 kB / 435.6 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005113/0.5948, allocations: 1.751 MB / 437.4 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/0.6265, allocations: 8.943 MB / 446.3 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06674/0.6933, allocations: 35.98 MB / 482.3 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03271/0.726, allocations: 6.551 MB / 488.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.7395, allocations: 5.748 MB / 494.6 MB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.7396, allocations: 55.5 kB / 494.6 MB, free: 7.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.831e-06/0.7396, allocations: 0 / 494.6 MB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.4358/1.175, allocations: 27.38 MB / 0.5098 GB, free: 115.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.175, allocations: 149.8 kB / 0.5099 GB, free: 115.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005439/1.181, allocations: 2.818 MB / 0.5127 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005569/1.182, allocations: 53.7 kB / 0.5127 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.183, allocations: 2.57 MB / 0.5152 GB, free: 109.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.185, allocations: 0.7233 MB / 0.5159 GB, free: 109.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/1.185, allocations: 109.8 kB / 0.5161 GB, free: 109.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003434/1.186, allocations: 0.5383 MB / 0.5166 GB, free: 108.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/1.191, allocations: 2.306 MB / 0.5188 GB, free: 106.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007457/1.199, allocations: 5.51 MB / 0.5242 GB, free: 99.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/1.206, allocations: 3.513 MB / 0.5276 GB, free: 95.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.328e-05/1.207, allocations: 32 kB / 0.5277 GB, free: 95.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02188/1.228, allocations: 8.332 MB / 0.5358 GB, free: 87.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/1.229, allocations: 52 kB / 0.5359 GB, free: 87.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.229, allocations: 116 kB / 0.536 GB, free: 87.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004548/1.233, allocations: 1.042 MB / 0.537 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008023/1.241, allocations: 1.302 MB / 0.5383 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007696/1.249, allocations: 5.487 MB / 0.5436 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/1.255, allocations: 336.5 kB / 0.5439 GB, free: 78.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.256, allocations: 340 kB / 0.5443 GB, free: 78.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (675): * Single equations (assignments): 668 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004175/1.26, allocations: 1.767 MB / 0.546 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/1.261, allocations: 292.2 kB / 0.5463 GB, free: 76.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.272, allocations: 3.987 MB / 0.5502 GB, free: 72.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/1.272, allocations: 20.86 kB / 0.5502 GB, free: 72.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.272, allocations: 8 kB / 0.5502 GB, free: 72.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/1.273, allocations: 7.969 kB / 0.5502 GB, free: 72.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.295, allocations: 8.69 MB / 0.5587 GB, free: 63.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.295, allocations: 4 kB / 0.5587 GB, free: 63.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/1.298, allocations: 335.5 kB / 0.559 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004186/1.303, allocations: 0.8666 MB / 0.5599 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004678/1.303, allocations: 35.94 kB / 0.5599 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/1.31, allocations: 4.839 MB / 0.5646 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.31, allocations: 4.031 kB / 0.5646 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.327, allocations: 7.054 MB / 0.5715 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.329, allocations: 0.6732 MB / 0.5722 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000853/1.33, allocations: 36.77 kB / 0.5722 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/1.333, allocations: 131.8 kB / 0.5723 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/1.333, allocations: 105.8 kB / 0.5724 GB, free: 49.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/1.333, allocations: 56.62 kB / 0.5725 GB, free: 49.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003906/1.337, allocations: 1.939 MB / 0.5744 GB, free: 47.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.337, allocations: 0 / 0.5744 GB, free: 47.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005595/1.343, allocations: 0.912 MB / 0.5753 GB, free: 46.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 150 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006951/1.344, allocations: 160.6 kB / 0.5754 GB, free: 46.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.358, allocations: 6.029 MB / 0.5813 GB, free: 39.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.358, allocations: 0 / 0.5813 GB, free: 39.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006738/1.365, allocations: 2.485 MB / 0.5837 GB, free: 37.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/1.367, allocations: 282 kB / 0.584 GB, free: 37.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.389, allocations: 10.5 MB / 0.5943 GB, free: 26.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.393, allocations: 2.906 MB / 0.5971 GB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.395, allocations: 267.4 kB / 0.5973 GB, free: 23.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.395, allocations: 0 / 0.5973 GB, free: 23.38 MB / 426.7 MB Notification: Performance of Templates: time 0.5144/1.91, allocations: 110.2 MB / 0.7049 GB, free: 126.3 MB / 474.7 MB