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.893/2.893, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.083e-05, allocations: 4 kB / 422.2 MB, free: 0.6406 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 79.99 MB / 0.4905 GB, free: 0.5391 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5482/0.6782, allocations: 145.8 MB / 0.6328 GB, free: 7.371 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.6785, allocations: 74.58 kB / 0.6329 GB, free: 7.336 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.5612/1.24, allocations: 145.9 MB / 0.7754 GB, free: 8.645 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.445e-06/1.24, allocations: 0 / 0.7754 GB, free: 8.645 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0006305/1.24, allocations: 144 kB / 0.7755 GB, free: 8.504 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.02957/1.27, allocations: 8.882 MB / 0.7842 GB, free: 104 kB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.27, allocations: 16.03 kB / 0.7842 GB, free: 88 kB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08094/1.351, allocations: 15.2 MB / 0.7991 GB, free: 2.449 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4038/1.755, allocations: 13.3 MB / 0.8121 GB, free: 154.6 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.755, allocations: 491.2 kB / 0.8125 GB, free: 154.6 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003065/1.759, allocations: 0.6658 MB / 0.8132 GB, free: 154.6 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04289/1.801, allocations: 17.36 MB / 0.8301 GB, free: 151.3 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/1.802, allocations: 113.3 kB / 0.8302 GB, free: 151.3 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/1.804, allocations: 307.4 kB / 0.8305 GB, free: 151.3 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002748/1.807, allocations: 1.483 MB / 0.832 GB, free: 151.3 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03572/1.843, allocations: 14.66 MB / 0.8463 GB, free: 151.1 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09632/1.939, allocations: 71.49 MB / 0.9161 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02593/1.965, allocations: 8.37 MB / 0.9243 GB, free: 103.6 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00775/1.973, allocations: 5.026 MB / 0.9292 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/1.974, allocations: 385.6 kB / 0.9296 GB, free: 101.6 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02191/1.996, allocations: 6.155 MB / 0.9356 GB, free: 97.7 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=337): time 8.987e-06/1.996, allocations: 0 / 0.9356 GB, free: 97.7 MB / 0.6515 GB Notification: Performance of matching and sorting (n=429): time 0.1831/2.179, allocations: 56.26 MB / 0.9905 GB, free: 49.1 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/2.179, allocations: 444.2 kB / 0.9909 GB, free: 48.58 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/2.192, allocations: 6.43 MB / 0.9972 GB, free: 42.16 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0009458/2.193, allocations: 93.7 kB / 0.9973 GB, free: 42.06 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.004829/2.198, allocations: 4.778 MB / 1.002 GB, free: 37.28 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002248/2.2, allocations: 1.582 MB / 1.004 GB, free: 35.71 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.201, allocations: 164 kB / 1.004 GB, free: 35.55 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0005966/2.202, allocations: 0.681 MB / 1.004 GB, free: 34.86 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009184/2.211, allocations: 5.056 MB / 1.009 GB, free: 29.79 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/2.223, allocations: 9.275 MB / 1.018 GB, free: 18.57 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/2.236, allocations: 7.062 MB / 1.025 GB, free: 11.49 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/2.236, allocations: 48 kB / 1.025 GB, free: 11.44 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.04555/2.281, allocations: 18.76 MB / 1.044 GB, free: 8.633 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/2.282, allocations: 93.7 kB / 1.044 GB, free: 8.535 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/2.282, allocations: 144 kB / 1.044 GB, free: 8.395 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/2.3, allocations: 5.311 MB / 1.049 GB, free: 3.074 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009863/2.31, allocations: 1.965 MB / 1.051 GB, free: 1.105 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4311/2.742, allocations: 28.56 MB / 1.079 GB, free: 151.7 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009652/2.751, allocations: 0.7718 MB / 1.08 GB, free: 151.7 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/2.753, allocations: 470.8 kB / 1.08 GB, free: 151.7 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.00268/2.756, allocations: 0.7373 MB / 1.081 GB, free: 151.6 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/2.758, allocations: 0.6203 MB / 1.081 GB, free: 151.6 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03254/2.79, allocations: 13.88 MB / 1.095 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-05/2.79, allocations: 44.78 kB / 1.095 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/2.79, allocations: 18.28 kB / 1.095 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.409e-05/2.79, allocations: 22.67 kB / 1.095 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06433/2.855, allocations: 28.23 MB / 1.123 GB, free: 144.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.739e-05/2.855, allocations: 15.48 kB / 1.123 GB, free: 144.9 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004662/2.86, allocations: 0.7232 MB / 1.123 GB, free: 144.9 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01711/2.877, allocations: 5.046 MB / 1.128 GB, free: 144.2 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009961/2.878, allocations: 89.25 kB / 1.128 GB, free: 144.2 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04716/2.925, allocations: 26.59 MB / 1.154 GB, free: 135.9 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/2.925, allocations: 18.2 kB / 1.154 GB, free: 135.9 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03987/2.965, allocations: 22.02 MB / 1.176 GB, free: 120.4 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004872/2.97, allocations: 1.608 MB / 1.177 GB, free: 118.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/2.972, allocations: 88.95 kB / 1.177 GB, free: 118.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/2.977, allocations: 0.5219 MB / 1.178 GB, free: 118.5 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/2.979, allocations: 301.1 kB / 1.178 GB, free: 118.3 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005844/2.979, allocations: 121.2 kB / 1.178 GB, free: 118.2 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.009613/2.989, allocations: 4.722 MB / 1.183 GB, free: 114.2 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.027e-06/2.989, allocations: 0 / 1.183 GB, free: 114.2 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01083/3, allocations: 2.099 MB / 1.185 GB, free: 112.1 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.001139/3.001, allocations: 255 kB / 1.185 GB, free: 111.9 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.02127/3.022, allocations: 12.03 MB / 1.197 GB, free: 100.4 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/3.022, allocations: 6.156 kB / 1.197 GB, free: 100.4 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/3.033, allocations: 5.583 MB / 1.202 GB, free: 94.82 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/3.039, allocations: 1.013 MB / 1.203 GB, free: 93.85 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/3.076, allocations: 18.48 MB / 1.221 GB, free: 75.59 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/3.088, allocations: 5.989 MB / 1.227 GB, free: 69.62 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.01258/3.1, allocations: 4.165 MB / 1.231 GB, free: 65.57 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/3.103, allocations: 423.3 kB / 1.232 GB, free: 65.16 MB / 0.6671 GB Notification: Performance of SimCode: time 1.874e-06/3.103, allocations: 4 kB / 1.232 GB, free: 65.15 MB / 0.6671 GB Notification: Performance of Templates: time 0.5964/3.699, allocations: 100.2 MB / 1.33 GB, free: 158.2 MB / 0.6828 GB