Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.165e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.06242/0.4575, allocations: 39.95 MB / 402.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02719/0.4848, allocations: 9.203 MB / 412 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009789/0.4946, allocations: 207.5 kB / 412.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008218/0.5029, allocations: 2.08 MB / 414.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02379/0.5268, allocations: 5.75 MB / 420 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.5311, allocations: 0.7566 MB / 420.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006667/0.5378, allocations: 2.263 MB / 423.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008942/0.5468, allocations: 4.186 MB / 427.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.5492, allocations: 0.9819 MB / 428.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.5527, allocations: 1.621 MB / 429.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.5559, allocations: 0.87 MB / 430.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.5573, allocations: 140 kB / 430.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.5606, allocations: 1.773 MB / 432.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.5625, allocations: 312 kB / 432.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.5741, allocations: 6.003 MB / 438.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5742, allocations: 0 / 438.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5742, allocations: 0 / 438.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002873/0.5745, allocations: 0 / 438.9 MB, free: 1.523 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.02336/0.5979, allocations: 4.704 MB / 443.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.598, allocations: 16.02 kB / 443.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/0.625, allocations: 2.669 MB / 446.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.6384, allocations: 3.454 MB / 449.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005492/0.639, allocations: 278.8 kB / 450.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004516/0.6436, allocations: 0.5735 MB / 450.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/0.6838, allocations: 11.87 MB / 462.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.6841, allocations: 51.53 kB / 462.5 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/0.6855, allocations: 171.8 kB / 462.7 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006035/0.6915, allocations: 2.088 MB / 464.8 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04026/0.7318, allocations: 10.57 MB / 475.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4559/1.188, allocations: 46.98 MB / 0.5101 GB, free: 90.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02344/1.211, allocations: 5.082 MB / 0.5151 GB, free: 89.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02571/1.237, allocations: 11.24 MB / 0.526 GB, free: 82.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.237, allocations: 64.36 kB / 0.5261 GB, free: 82.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 6.652e-06/1.237, allocations: 3.984 kB / 0.5261 GB, free: 82.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.1012/1.338, allocations: 24.69 MB / 0.5502 GB, free: 60.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003545/1.342, allocations: 4.594 MB / 0.5547 GB, free: 55.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009019/1.351, allocations: 4.38 MB / 0.559 GB, free: 51.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007818/1.352, allocations: 66.77 kB / 0.559 GB, free: 51.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.355, allocations: 3.394 MB / 0.5624 GB, free: 47.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.357, allocations: 0.9474 MB / 0.5633 GB, free: 46.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009183/1.358, allocations: 148 kB / 0.5634 GB, free: 46.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004265/1.358, allocations: 0.6248 MB / 0.564 GB, free: 45.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008298/1.366, allocations: 3.265 MB / 0.5672 GB, free: 42.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/1.377, allocations: 7.523 MB / 0.5746 GB, free: 33.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.389, allocations: 4.802 MB / 0.5793 GB, free: 28.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.389, allocations: 43.95 kB / 0.5793 GB, free: 28.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.07444/1.463, allocations: 15.86 MB / 0.5948 GB, free: 12.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.463, allocations: 72 kB / 0.5949 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05625/1.52, allocations: 9.355 MB / 0.604 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06029/1.58, allocations: 6.653 MB / 0.6105 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/1.591, allocations: 1.669 MB / 0.6121 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06029/1.651, allocations: 21.94 MB / 0.6336 GB, free: 3.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/1.662, allocations: 0.6541 MB / 0.6342 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.664, allocations: 451.9 kB / 0.6346 GB, free: 2.758 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[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 (888): * Single equations (assignments): 868 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00773/1.672, allocations: 2.266 MB / 0.6368 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.674, allocations: 414.6 kB / 0.6372 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02949/1.703, allocations: 7.008 MB / 0.6441 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02837/1.732, allocations: 6.368 MB / 0.6503 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/1.732, allocations: 8 kB / 0.6503 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-05/1.732, allocations: 7.969 kB / 0.6503 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05337/1.785, allocations: 15 MB / 0.665 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/1.785, allocations: 8.031 kB / 0.665 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/1.789, allocations: 415.4 kB / 0.6654 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02015/1.81, allocations: 3.359 MB / 0.6686 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007499/1.81, allocations: 83.83 kB / 0.6687 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3704/2.181, allocations: 16.87 MB / 0.6852 GB, free: 177.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003966/2.185, allocations: 4.455 MB / 0.6895 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03331/2.218, allocations: 10.91 MB / 0.7002 GB, free: 171 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/2.22, allocations: 495.3 kB / 0.7007 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/2.222, allocations: 63.7 kB / 0.7007 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005537/2.227, allocations: 299.3 kB / 0.701 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/2.228, allocations: 188.4 kB / 0.7012 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004065/2.229, allocations: 70.95 kB / 0.7013 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007502/2.236, allocations: 3.082 MB / 0.7043 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.263e-06/2.236, allocations: 3.875 kB / 0.7043 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009444/2.246, allocations: 1.581 MB / 0.7058 GB, free: 169.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/2.247, allocations: 232.1 kB / 0.706 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0271/2.274, allocations: 9.455 MB / 0.7153 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/2.274, allocations: 4 kB / 0.7153 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0153/2.29, allocations: 4.595 MB / 0.7198 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/2.294, allocations: 0.5025 MB / 0.7203 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/2.326, allocations: 15.64 MB / 0.7355 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006878/2.333, allocations: 3.733 MB / 0.7392 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/2.335, allocations: 363.3 kB / 0.7395 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/2.335, allocations: 0 / 0.7395 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.7639/3.099, allocations: 280.6 MB / 1.014 GB, free: 37.62 MB / 0.4948 GB