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_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.411e-05, allocations: 8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3759, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperParallel): time 0.1038/0.4798, allocations: 67.7 MB / 430.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03966/0.5195, allocations: 13.74 MB / 444.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01647/0.536, allocations: 363.1 kB / 444.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.5493, allocations: 3.597 MB / 448.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03511/0.5845, allocations: 9.135 MB / 457.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006049/0.5905, allocations: 0.7333 MB / 458.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006744/0.5973, allocations: 2.019 MB / 460.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0155/0.6129, allocations: 6.772 MB / 466.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.6163, allocations: 1.149 MB / 468.1 MB, free: 4.336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/0.6207, allocations: 1.729 MB / 469.8 MB, free: 2.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.6239, allocations: 0.7569 MB / 470.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.6255, allocations: 172 kB / 470.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003745/0.6293, allocations: 2.069 MB / 472.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.6314, allocations: 404 kB / 473.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.6455, allocations: 8.021 MB / 481.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6456, allocations: 0 / 481.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6456, allocations: 0 / 481.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004208/0.6461, allocations: 0 / 481.2 MB, free: 7.164 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02653/0.6726, allocations: 6.467 MB / 487.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.6727, allocations: 8.031 kB / 487.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.6901, allocations: 2.803 MB / 490.5 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.7005, allocations: 2.991 MB / 493.5 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/0.7012, allocations: 406.3 kB / 493.9 MB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/0.7042, allocations: 0.5269 MB / 494.4 MB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.388/1.092, allocations: 19.55 MB / 0.5019 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/1.093, allocations: 62.08 kB / 0.5019 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002756/1.096, allocations: 245 kB / 0.5022 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007616/1.103, allocations: 3.072 MB / 0.5052 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06018/1.163, allocations: 17.47 MB / 0.5222 GB, free: 99.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1101/1.274, allocations: 65.48 MB / 0.5862 GB, free: 32.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07937/1.353, allocations: 16.24 MB / 0.602 GB, free: 16.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03386/1.387, allocations: 17.25 MB / 0.6189 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.963e-05/1.387, allocations: 68.88 kB / 0.6189 GB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=355): time 8.176e-06/1.387, allocations: 0 / 0.6189 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=464): time 0.8418/2.229, allocations: 83.23 MB / 0.7002 GB, free: 161.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/2.229, allocations: 174.8 kB / 0.7004 GB, free: 161.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008616/2.238, allocations: 4.25 MB / 0.7045 GB, free: 160.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0013/2.239, allocations: 98.27 kB / 0.7046 GB, free: 160.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/2.242, allocations: 4.031 MB / 0.7086 GB, free: 156.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00276/2.245, allocations: 1.677 MB / 0.7102 GB, free: 155.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/2.246, allocations: 179.2 kB / 0.7104 GB, free: 155.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005417/2.247, allocations: 0.6978 MB / 0.7111 GB, free: 155 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01236/2.259, allocations: 5.079 MB / 0.716 GB, free: 153.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0152/2.274, allocations: 9.543 MB / 0.7253 GB, free: 144.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/2.29, allocations: 6.841 MB / 0.732 GB, free: 137.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/2.29, allocations: 44 kB / 0.7321 GB, free: 137.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05151/2.342, allocations: 17.74 MB / 0.7494 GB, free: 119.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/2.342, allocations: 69.09 kB / 0.7495 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/2.342, allocations: 156 kB / 0.7496 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01784/2.36, allocations: 4.144 MB / 0.7537 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01469/2.375, allocations: 2.137 MB / 0.7557 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04635/2.421, allocations: 28.59 MB / 0.7837 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/2.432, allocations: 0.6014 MB / 0.7842 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002322/2.435, allocations: 0.5091 MB / 0.7847 GB, free: 82.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 51 (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],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],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],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 (1095): * Single equations (assignments): 1082 * 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.008818/2.444, allocations: 2.986 MB / 0.7877 GB, free: 79.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/2.446, allocations: 0.5014 MB / 0.7882 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/2.484, allocations: 12.16 MB / 0.8 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/2.484, allocations: 44 kB / 0.8001 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.822e-05/2.484, allocations: 16 kB / 0.8001 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/2.484, allocations: 23.91 kB / 0.8001 GB, free: 66.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06672/2.551, allocations: 23.58 MB / 0.8231 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.508e-05/2.551, allocations: 4.031 kB / 0.8231 GB, free: 43.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008364/2.559, allocations: 0.823 MB / 0.8239 GB, free: 42.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01623/2.576, allocations: 3.305 MB / 0.8272 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001449/2.577, allocations: 95.97 kB / 0.8273 GB, free: 38.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03233/2.609, allocations: 21.72 MB / 0.8485 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.609, allocations: 4 kB / 0.8485 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3816/2.991, allocations: 19.21 MB / 0.8672 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005135/2.996, allocations: 1.432 MB / 0.8686 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002738/2.999, allocations: 82.62 kB / 0.8687 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007662/3.007, allocations: 404.7 kB / 0.8691 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001991/3.009, allocations: 303.8 kB / 0.8694 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001275/3.01, allocations: 125.4 kB / 0.8695 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007086/3.017, allocations: 2.951 MB / 0.8724 GB, free: 146.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.51e-07/3.017, allocations: 0 / 0.8724 GB, free: 146.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01161/3.029, allocations: 1.872 MB / 0.8742 GB, free: 146.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (381): * Single equations (assignments): 363 * 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%) 4,(1,100.0%) 6} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/3.031, allocations: 246.8 kB / 0.8745 GB, free: 146.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03367/3.065, allocations: 13.45 MB / 0.8876 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/3.065, allocations: 3.719 kB / 0.8876 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02105/3.086, allocations: 7.361 MB / 0.8948 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/3.091, allocations: 0.5127 MB / 0.8953 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0499/3.141, allocations: 21.7 MB / 0.9165 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009997/3.151, allocations: 4.874 MB / 0.9212 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004684/3.155, allocations: 459.3 kB / 0.9217 GB, free: 115 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/3.155, allocations: 4 kB / 0.9217 GB, free: 115 MB / 490.7 MB Notification: Performance of Templates: time 1.368/4.524, allocations: 425.1 MB / 1.337 GB, free: 85 MB / 0.5105 GB