Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.176e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperParallel): time 0.4426/0.5758, allocations: 72.02 MB / 482.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04781/0.6237, allocations: 14.78 MB / 497.7 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01915/0.6429, allocations: 387.1 kB / 498.1 MB, free: 308 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01463/0.6576, allocations: 3.717 MB / 0.4901 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04202/0.6997, allocations: 9.832 MB / 0.4997 GB, free: 2.711 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006531/0.7062, allocations: 0.7099 MB / 0.5004 GB, free: 2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007228/0.7135, allocations: 2.166 MB / 0.5025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.7289, allocations: 6.845 MB / 0.5092 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.7322, allocations: 1.212 MB / 0.5103 GB, free: 7.727 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.7366, allocations: 1.854 MB / 0.5121 GB, free: 5.867 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.7397, allocations: 0.7647 MB / 0.5129 GB, free: 5.102 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.7415, allocations: 180 kB / 0.5131 GB, free: 4.926 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004053/0.7456, allocations: 2.263 MB / 0.5153 GB, free: 2.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.7479, allocations: 444 kB / 0.5157 GB, free: 2.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.7621, allocations: 8.547 MB / 0.524 GB, free: 9.656 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7621, allocations: 0 / 0.524 GB, free: 9.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7621, allocations: 0 / 0.524 GB, free: 9.656 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004036/0.7626, allocations: 0 / 0.524 GB, free: 9.656 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.02327/0.7858, allocations: 6.608 MB / 0.5305 GB, free: 2.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7859, allocations: 8.031 kB / 0.5305 GB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/0.8032, allocations: 2.857 MB / 0.5333 GB, free: 96 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009761/0.813, allocations: 3.089 MB / 0.5363 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000634/0.8137, allocations: 439 kB / 0.5367 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/0.8166, allocations: 0.5621 MB / 0.5373 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07113/0.8878, allocations: 20.5 MB / 0.5573 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004108/0.8883, allocations: 63.38 kB / 0.5574 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002392/0.8907, allocations: 271.8 kB / 0.5576 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01255/0.9033, allocations: 3.736 MB / 0.5613 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07049/0.9738, allocations: 18.24 MB / 0.5791 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9118/1.886, allocations: 69.55 MB / 0.647 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1216/2.007, allocations: 16.39 MB / 0.663 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06511/2.073, allocations: 23.11 MB / 0.6856 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.541e-05/2.073, allocations: 82.44 kB / 0.6857 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 7.895e-06/2.073, allocations: 3.938 kB / 0.6857 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=493): time 0.5027/2.575, allocations: 82.56 MB / 0.7663 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/2.576, allocations: 179.9 kB / 0.7665 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/2.586, allocations: 4.564 MB / 0.7709 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/2.587, allocations: 97.7 kB / 0.771 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003366/2.591, allocations: 4.417 MB / 0.7753 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003069/2.594, allocations: 1.776 MB / 0.7771 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/2.596, allocations: 204 kB / 0.7773 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008072/2.597, allocations: 0.7244 MB / 0.778 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01288/2.61, allocations: 5.169 MB / 0.783 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01657/2.626, allocations: 10.08 MB / 0.7929 GB, free: 13.82 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/2.646, allocations: 7.101 MB / 0.7998 GB, free: 6.719 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/2.646, allocations: 48 kB / 0.7998 GB, free: 6.672 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1294) (initialization): time 0.4528/3.099, allocations: 18.37 MB / 0.8178 GB, free: 162.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/3.099, allocations: 77.47 kB / 0.8179 GB, free: 162.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004038/3.099, allocations: 170.2 kB / 0.818 GB, free: 162.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02075/3.12, allocations: 4.168 MB / 0.8221 GB, free: 161.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/3.137, allocations: 2.31 MB / 0.8243 GB, free: 161.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05042/3.188, allocations: 28.61 MB / 0.8523 GB, free: 144.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/3.2, allocations: 0.6323 MB / 0.8529 GB, free: 144 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002359/3.202, allocations: 0.5568 MB / 0.8534 GB, free: 143.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 775 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.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 (1199): * Single equations (assignments): 1186 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009076/3.211, allocations: 3.221 MB / 0.8566 GB, free: 142.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/3.213, allocations: 0.5334 MB / 0.8571 GB, free: 142.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03801/3.251, allocations: 12.32 MB / 0.8691 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.684e-05/3.251, allocations: 52 kB / 0.8692 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/3.251, allocations: 12 kB / 0.8692 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/3.251, allocations: 19.92 kB / 0.8692 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07217/3.323, allocations: 24.28 MB / 0.8929 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-05/3.324, allocations: 8 kB / 0.8929 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008854/3.332, allocations: 0.8698 MB / 0.8938 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/3.349, allocations: 3.321 MB / 0.897 GB, free: 104.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/3.351, allocations: 96.27 kB / 0.8971 GB, free: 104.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03355/3.384, allocations: 21.74 MB / 0.9184 GB, free: 82.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/3.384, allocations: 4.062 kB / 0.9184 GB, free: 82.01 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05088/3.435, allocations: 19.49 MB / 0.9374 GB, free: 62.24 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/3.437, allocations: 0.5722 MB / 0.938 GB, free: 61.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00291/3.44, allocations: 88 kB / 0.938 GB, free: 61.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007846/3.448, allocations: 416.2 kB / 0.9384 GB, free: 61.15 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002056/3.45, allocations: 335.7 kB / 0.9388 GB, free: 60.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001286/3.451, allocations: 128 kB / 0.9389 GB, free: 60.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007424/3.459, allocations: 3.147 MB / 0.9419 GB, free: 57.57 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9.92e-07/3.459, allocations: 0 / 0.9419 GB, free: 57.57 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01204/3.471, allocations: 2.006 MB / 0.9439 GB, free: 55.57 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (416): * Single equations (assignments): 398 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/3.473, allocations: 271.5 kB / 0.9442 GB, free: 55.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03349/3.506, allocations: 13.71 MB / 0.9576 GB, free: 41.47 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/3.506, allocations: 8.188 kB / 0.9576 GB, free: 41.46 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02124/3.527, allocations: 7.41 MB / 0.9648 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005419/3.533, allocations: 0.5564 MB / 0.9653 GB, free: 33.25 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05052/3.583, allocations: 22.96 MB / 0.9878 GB, free: 10.21 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/3.594, allocations: 5.211 MB / 0.9928 GB, free: 4.961 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005095/3.599, allocations: 0.4954 MB / 0.9933 GB, free: 4.465 MB / 0.5262 GB Notification: Performance of SimCode: time 2.114e-06/3.599, allocations: 0 / 0.9933 GB, free: 4.465 MB / 0.5262 GB Notification: Performance of Templates: time 1.831/5.43, allocations: 457.9 MB / 1.44 GB, free: 170.7 MB / 0.5574 GB