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_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.184e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3752/0.5096, allocations: 31.68 MB / 442.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.5327, allocations: 7.092 MB / 449.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009203/0.542, allocations: 161.7 kB / 449.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006896/0.5489, allocations: 1.599 MB / 451.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01966/0.5686, allocations: 4.361 MB / 455.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.5717, allocations: 350.5 kB / 456.2 MB, free: 4.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.5761, allocations: 1.242 MB / 457.4 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007657/0.5838, allocations: 3.339 MB / 460.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.5858, allocations: 0.6415 MB / 461.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.5887, allocations: 1.011 MB / 462.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.5916, allocations: 0.7031 MB / 463.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.5928, allocations: 106.6 kB / 463.2 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002453/0.5953, allocations: 1.246 MB / 464.4 MB, free: 260 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.5968, allocations: 232.6 kB / 464.7 MB, free: 260 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009097/0.6059, allocations: 4.796 MB / 469.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.606, allocations: 0.9062 kB / 469.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.606, allocations: 0 / 469.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.6063, allocations: 0 / 469.5 MB, free: 13.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01238/0.6187, allocations: 3.575 MB / 473 MB, free: 9.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6188, allocations: 8.031 kB / 473.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.6322, allocations: 2.179 MB / 475.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005732/0.638, allocations: 1.695 MB / 476.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.6384, allocations: 229.8 kB / 477.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.6402, allocations: 299.8 kB / 477.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03595/0.6762, allocations: 10.74 MB / 488.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.6764, allocations: 39.59 kB / 488.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.6778, allocations: 139.9 kB / 488.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006788/0.6846, allocations: 2.04 MB / 490.4 MB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03425/0.7189, allocations: 9.453 MB / 499.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07425/0.7932, allocations: 38.48 MB / 0.5257 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03423/0.8275, allocations: 6.811 MB / 0.5324 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/0.8424, allocations: 6.392 MB / 0.5386 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.8426, allocations: 55.81 kB / 0.5387 GB, free: 8.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 5.5e-06/0.8426, allocations: 0 / 0.5387 GB, free: 8.656 MB / 458.7 MB Notification: Performance of matching and sorting (n=210): time 0.1501/0.9927, allocations: 28.13 MB / 0.5661 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.9929, allocations: 153.8 kB / 0.5663 GB, free: 12.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/1.001, allocations: 3.007 MB / 0.5692 GB, free: 9.094 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005919/1.002, allocations: 53.7 kB / 0.5693 GB, free: 9.035 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003044/1.005, allocations: 2.768 MB / 0.572 GB, free: 6.227 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.007, allocations: 0.802 MB / 0.5728 GB, free: 5.414 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008443/1.008, allocations: 120 kB / 0.5729 GB, free: 5.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000612/1.008, allocations: 0.555 MB / 0.5734 GB, free: 4.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007015/1.015, allocations: 2.409 MB / 0.5758 GB, free: 2.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/1.026, allocations: 5.839 MB / 0.5815 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009444/1.035, allocations: 3.667 MB / 0.5851 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.035, allocations: 39.95 kB / 0.5851 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02735/1.063, allocations: 8.744 MB / 0.5936 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.063, allocations: 60.19 kB / 0.5937 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/1.063, allocations: 124 kB / 0.5938 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005128/1.068, allocations: 1.057 MB / 0.5948 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009424/1.078, allocations: 1.4 MB / 0.5962 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/1.088, allocations: 5.508 MB / 0.6016 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008066/1.096, allocations: 347.5 kB / 0.6019 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.097, allocations: 363.9 kB / 0.6023 GB, free: 5.164 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (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],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (734): * Single equations (assignments): 727 * 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.006913/1.104, allocations: 1.899 MB / 0.6041 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.106, allocations: 319.9 kB / 0.6044 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3964/1.502, allocations: 4.149 MB / 0.6085 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.471e-05/1.502, allocations: 22.66 kB / 0.6085 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.825e-05/1.502, allocations: 4.953 kB / 0.6085 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/1.502, allocations: 13.45 kB / 0.6085 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04319/1.546, allocations: 9.258 MB / 0.6176 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-05/1.546, allocations: 1 kB / 0.6176 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00546/1.551, allocations: 369.8 kB / 0.6179 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007136/1.558, allocations: 0.8629 MB / 0.6188 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000751/1.559, allocations: 36.67 kB / 0.6188 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/1.567, allocations: 4.856 MB / 0.6235 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.567, allocations: 5.656 kB / 0.6235 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.592, allocations: 7.279 MB / 0.6306 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.593, allocations: 363.1 kB / 0.631 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/1.595, allocations: 36.34 kB / 0.631 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004609/1.6, allocations: 145 kB / 0.6312 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009336/1.601, allocations: 122.4 kB / 0.6313 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/1.601, allocations: 55.5 kB / 0.6313 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007377/1.609, allocations: 2.06 MB / 0.6333 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/1.609, allocations: 0 / 0.6333 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009977/1.619, allocations: 0.9767 MB / 0.6343 GB, free: 153 MB / 0.5105 GB 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 (178): * Single equations (assignments): 171 * 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.001003/1.62, allocations: 182.8 kB / 0.6345 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02084/1.641, allocations: 6.287 MB / 0.6406 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.641, allocations: 0 / 0.6406 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009099/1.65, allocations: 2.558 MB / 0.6431 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.653, allocations: 307.1 kB / 0.6434 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.676, allocations: 11.27 MB / 0.6544 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005279/1.682, allocations: 3.111 MB / 0.6575 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.684, allocations: 283.4 kB / 0.6577 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/1.684, allocations: 4 kB / 0.6577 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.2051/1.889, allocations: 118.6 MB / 0.7735 GB, free: 21.38 MB / 0.5105 GB