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_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.08e-05, allocations: 8 kB / 348.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 61.88 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.4978, allocations: 108 MB / 0.5061 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4981, allocations: 75.95 kB / 0.5062 GB, free: 14.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5913/1.089, allocations: 72.22 MB / 0.5767 GB, free: 65.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.105e-06/1.089, allocations: 0 / 0.5767 GB, free: 65.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00014/1.09, allocations: 76 kB / 0.5768 GB, free: 65.87 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01019/1.1, allocations: 3.603 MB / 0.5803 GB, free: 62.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.1, allocations: 12.03 kB / 0.5803 GB, free: 62.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.11, allocations: 2.07 MB / 0.5823 GB, free: 60.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/1.115, allocations: 2.072 MB / 0.5844 GB, free: 57.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/1.116, allocations: 304 kB / 0.5847 GB, free: 57.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/1.117, allocations: 411.8 kB / 0.5851 GB, free: 57.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/1.14, allocations: 10.99 MB / 0.5958 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.141, allocations: 55.47 kB / 0.5958 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006971/1.141, allocations: 191.9 kB / 0.596 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/1.143, allocations: 1.069 MB / 0.5971 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/1.164, allocations: 9.217 MB / 0.6061 GB, free: 34.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05377/1.218, allocations: 45.87 MB / 0.6509 GB, free: 3.527 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/1.233, allocations: 4.22 MB / 0.655 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/1.237, allocations: 2.296 MB / 0.6572 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/1.249, allocations: 5.765 MB / 0.6629 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/1.249, allocations: 51.88 kB / 0.6629 GB, free: 6.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 6.012e-06/1.249, allocations: 0 / 0.6629 GB, free: 6.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=224): time 0.08784/1.337, allocations: 21.86 MB / 0.6843 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.337, allocations: 150.5 kB / 0.6844 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007054/1.344, allocations: 2.974 MB / 0.6873 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004551/1.345, allocations: 57.7 kB / 0.6874 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/1.348, allocations: 2.802 MB / 0.6901 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.349, allocations: 0.8483 MB / 0.6909 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006099/1.35, allocations: 120 kB / 0.691 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005673/1.35, allocations: 0.5582 MB / 0.6916 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005897/1.356, allocations: 2.511 MB / 0.694 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009409/1.366, allocations: 5.909 MB / 0.6998 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/1.374, allocations: 3.847 MB / 0.7036 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.374, allocations: 36 kB / 0.7036 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02305/1.397, allocations: 8.738 MB / 0.7121 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.398, allocations: 66.05 kB / 0.7122 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/1.398, allocations: 120 kB / 0.7123 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.402, allocations: 1.065 MB / 0.7133 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3311/1.733, allocations: 1.404 MB / 0.7147 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/1.749, allocations: 5.376 MB / 0.72 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/1.762, allocations: 324.9 kB / 0.7203 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/1.765, allocations: 363.9 kB / 0.7206 GB, free: 134.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (745): * Single equations (assignments): 738 * 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.002827/1.767, allocations: 0.5572 MB / 0.7212 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.769, allocations: 309 kB / 0.7215 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/1.791, allocations: 4.513 MB / 0.7259 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.294e-05/1.791, allocations: 29.02 kB / 0.7259 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.137e-05/1.791, allocations: 6.156 kB / 0.7259 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-05/1.791, allocations: 8.344 kB / 0.7259 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/1.817, allocations: 9.927 MB / 0.7356 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/1.817, allocations: 0 / 0.7356 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004058/1.822, allocations: 386.4 kB / 0.736 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003964/1.826, allocations: 0.8728 MB / 0.7368 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/1.826, allocations: 39.8 kB / 0.7369 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/1.832, allocations: 4.722 MB / 0.7415 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-06/1.832, allocations: 0 / 0.7415 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.847, allocations: 7.853 MB / 0.7491 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.848, allocations: 371.7 kB / 0.7495 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/1.848, allocations: 39.98 kB / 0.7495 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.851, allocations: 124.4 kB / 0.7497 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/1.851, allocations: 121.8 kB / 0.7498 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.851, allocations: 62.86 kB / 0.7498 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003843/1.855, allocations: 2.04 MB / 0.7518 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.85e-07/1.855, allocations: 0 / 0.7518 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00631/1.861, allocations: 1.014 MB / 0.7528 GB, free: 125.4 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 (190): * Single equations (assignments): 183 * 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.0006485/1.862, allocations: 184.6 kB / 0.753 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.875, allocations: 6.412 MB / 0.7592 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.346e-06/1.875, allocations: 3.344 kB / 0.7593 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005814/1.881, allocations: 2.711 MB / 0.7619 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.883, allocations: 304.7 kB / 0.7622 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.901, allocations: 8.024 MB / 0.77 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005249/1.906, allocations: 3.131 MB / 0.7731 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006658/1.913, allocations: 1.951 MB / 0.775 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.915, allocations: 245.2 kB / 0.7752 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.808e-06/1.915, allocations: 0 / 0.7752 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.09061/2.005, allocations: 36.21 MB / 0.8106 GB, free: 85.46 MB / 0.5105 GB