Running command: translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") Notification: Performance of loadModel(ScalableTestSuite): time 2.999/2.999, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.099e-05, allocations: 0 / 422.2 MB, free: 0.668 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 80 MB / 0.4905 GB, free: 0.5352 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/0.8209, allocations: 145.7 MB / 0.6328 GB, free: 7.434 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.8212, allocations: 70.59 kB / 0.6328 GB, free: 7.402 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.6104/1.432, allocations: 146 MB / 0.7754 GB, free: 8.695 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.124e-06/1.432, allocations: 0 / 0.7754 GB, free: 8.695 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0007779/1.432, allocations: 144 kB / 0.7755 GB, free: 8.555 MB / 0.6359 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.03711/1.47, allocations: 8.878 MB / 0.7842 GB, free: 160 kB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.47, allocations: 8.031 kB / 0.7842 GB, free: 152 kB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1082/1.578, allocations: 15.21 MB / 0.7991 GB, free: 2.508 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4849/2.063, allocations: 13.31 MB / 0.812 GB, free: 155.8 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007513/2.064, allocations: 486.8 kB / 0.8125 GB, free: 155.7 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/2.067, allocations: 0.6616 MB / 0.8132 GB, free: 155.7 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05108/2.119, allocations: 17.36 MB / 0.8301 GB, free: 152.4 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005524/2.119, allocations: 114.6 kB / 0.8302 GB, free: 152.4 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002735/2.122, allocations: 306.3 kB / 0.8305 GB, free: 152.4 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/2.125, allocations: 1.476 MB / 0.832 GB, free: 152.4 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04422/2.169, allocations: 14.65 MB / 0.8463 GB, free: 152.2 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/2.286, allocations: 71.5 MB / 0.9161 GB, free: 107.1 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/2.318, allocations: 8.377 MB / 0.9243 GB, free: 104.8 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009533/2.327, allocations: 5.014 MB / 0.9292 GB, free: 103 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/2.328, allocations: 399.7 kB / 0.9295 GB, free: 102.7 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02807/2.356, allocations: 6.157 MB / 0.9356 GB, free: 99.1 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=337): time 7.704e-06/2.356, allocations: 0 / 0.9356 GB, free: 99.1 MB / 0.6515 GB Notification: Performance of matching and sorting (n=429): time 0.2431/2.599, allocations: 56.25 MB / 0.9905 GB, free: 50.75 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/2.599, allocations: 440.4 kB / 0.9909 GB, free: 50.22 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/2.614, allocations: 6.43 MB / 0.9972 GB, free: 43.8 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/2.616, allocations: 93.7 kB / 0.9973 GB, free: 43.7 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.005671/2.621, allocations: 4.774 MB / 1.002 GB, free: 38.92 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002762/2.624, allocations: 1.583 MB / 1.003 GB, free: 37.36 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/2.626, allocations: 168 kB / 1.004 GB, free: 37.19 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0005758/2.626, allocations: 0.6771 MB / 1.004 GB, free: 36.5 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01179/2.638, allocations: 5.06 MB / 1.009 GB, free: 31.43 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01468/2.653, allocations: 9.278 MB / 1.018 GB, free: 20.2 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/2.668, allocations: 7.054 MB / 1.025 GB, free: 13.12 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/2.668, allocations: 40 kB / 1.025 GB, free: 13.08 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.05781/2.726, allocations: 18.77 MB / 1.044 GB, free: 10.26 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/2.726, allocations: 93.7 kB / 1.044 GB, free: 10.16 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/2.726, allocations: 147.8 kB / 1.044 GB, free: 10.02 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02494/2.751, allocations: 5.307 MB / 1.049 GB, free: 4.707 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/2.765, allocations: 1.969 MB / 1.051 GB, free: 2.734 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5238/3.289, allocations: 28.56 MB / 1.079 GB, free: 152.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/3.302, allocations: 0.7733 MB / 1.08 GB, free: 152.8 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002322/3.304, allocations: 469.5 kB / 1.08 GB, free: 152.8 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[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 (978): * Single equations (assignments): 973 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,83.3%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003319/3.307, allocations: 0.7431 MB / 1.081 GB, free: 152.7 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/3.309, allocations: 0.6246 MB / 1.081 GB, free: 152.7 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04259/3.352, allocations: 13.87 MB / 1.095 GB, free: 152.4 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-05/3.352, allocations: 46.45 kB / 1.095 GB, free: 152.4 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/3.352, allocations: 18.44 kB / 1.095 GB, free: 152.4 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.867e-05/3.352, allocations: 22.56 kB / 1.095 GB, free: 152.4 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07899/3.431, allocations: 28.23 MB / 1.123 GB, free: 146.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.926e-05/3.431, allocations: 10.34 kB / 1.123 GB, free: 146.4 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/3.438, allocations: 0.7243 MB / 1.123 GB, free: 146.3 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0218/3.46, allocations: 5.059 MB / 1.128 GB, free: 145.7 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/3.461, allocations: 85.06 kB / 1.128 GB, free: 145.6 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07432/3.535, allocations: 26.59 MB / 1.154 GB, free: 137.3 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.795e-05/3.535, allocations: 14.47 kB / 1.154 GB, free: 137.3 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05749/3.593, allocations: 22.01 MB / 1.176 GB, free: 123 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006021/3.599, allocations: 1.608 MB / 1.177 GB, free: 121.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/3.601, allocations: 87.89 kB / 1.177 GB, free: 121.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00779/3.609, allocations: 0.5246 MB / 1.178 GB, free: 121.1 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/3.611, allocations: 302.1 kB / 1.178 GB, free: 120.9 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005795/3.612, allocations: 112.7 kB / 1.178 GB, free: 120.8 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.01143/3.623, allocations: 4.726 MB / 1.183 GB, free: 116.8 MB / 0.6671 GB Notification: Performance of sort global known variables: time 2.284e-06/3.623, allocations: 0 / 1.183 GB, free: 116.8 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01174/3.635, allocations: 2.099 MB / 1.185 GB, free: 114.7 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/3.636, allocations: 256.2 kB / 1.185 GB, free: 114.5 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.02704/3.664, allocations: 12.04 MB / 1.197 GB, free: 103.4 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/3.664, allocations: 4 kB / 1.197 GB, free: 103.4 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.01395/3.678, allocations: 5.575 MB / 1.202 GB, free: 97.84 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00853/3.686, allocations: 1.012 MB / 1.203 GB, free: 96.88 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04643/3.733, allocations: 18.48 MB / 1.221 GB, free: 78.61 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/3.746, allocations: 5.991 MB / 1.227 GB, free: 72.64 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0172/3.763, allocations: 4.167 MB / 1.231 GB, free: 68.59 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/3.766, allocations: 423.3 kB / 1.232 GB, free: 68.18 MB / 0.6671 GB Notification: Performance of SimCode: time 2.144e-06/3.766, allocations: 0 / 1.232 GB, free: 68.18 MB / 0.6671 GB Notification: Performance of Templates: time 0.7215/4.488, allocations: 100.2 MB / 1.33 GB, free: 154.1 MB / 0.6828 GB