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_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") Notification: Performance of loadModel(ScalableTestSuite): time 2.904/2.904, allocations: 326.3 MB / 339.3 MB, free: 11.18 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.47e-05, allocations: 4 kB / 422.2 MB, free: 0.6289 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 80 MB / 0.4905 GB, free: 0.5234 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5652/0.6905, allocations: 145.8 MB / 0.6328 GB, free: 7.316 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.6908, allocations: 70.84 kB / 0.6329 GB, free: 7.285 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.5728/1.264, allocations: 146 MB / 0.7754 GB, free: 8.586 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.639e-06/1.264, allocations: 0 / 0.7754 GB, free: 8.586 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0006438/1.264, allocations: 144 kB / 0.7755 GB, free: 8.445 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.02976/1.294, allocations: 8.879 MB / 0.7842 GB, free: 44 kB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.294, allocations: 12.03 kB / 0.7842 GB, free: 32 kB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08414/1.378, allocations: 15.21 MB / 0.7991 GB, free: 2.391 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4119/1.79, allocations: 13.29 MB / 0.8121 GB, free: 154.2 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/1.791, allocations: 487.8 kB / 0.8125 GB, free: 154.2 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/1.794, allocations: 0.6676 MB / 0.8132 GB, free: 154.2 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04516/1.839, allocations: 17.36 MB / 0.8301 GB, free: 150.8 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006421/1.84, allocations: 118.5 kB / 0.8302 GB, free: 150.8 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/1.843, allocations: 304.9 kB / 0.8305 GB, free: 150.8 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/1.846, allocations: 1.476 MB / 0.832 GB, free: 150.8 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03855/1.885, allocations: 14.66 MB / 0.8463 GB, free: 150.6 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09975/1.984, allocations: 71.5 MB / 0.9161 GB, free: 105.6 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/2.012, allocations: 8.369 MB / 0.9243 GB, free: 103.3 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008025/2.02, allocations: 5.022 MB / 0.9292 GB, free: 101.5 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/2.021, allocations: 382.1 kB / 0.9296 GB, free: 101.2 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02433/2.045, allocations: 6.157 MB / 0.9356 GB, free: 97.58 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=337): time 1.006e-05/2.045, allocations: 4 kB / 0.9356 GB, free: 97.57 MB / 0.6515 GB Notification: Performance of matching and sorting (n=429): time 0.1942/2.239, allocations: 56.26 MB / 0.9905 GB, free: 49.05 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/2.24, allocations: 436.4 kB / 0.9909 GB, free: 48.53 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/2.254, allocations: 6.433 MB / 0.9972 GB, free: 42.11 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/2.255, allocations: 97.42 kB / 0.9973 GB, free: 42.01 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.005086/2.26, allocations: 4.777 MB / 1.002 GB, free: 37.23 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/2.262, allocations: 1.586 MB / 1.004 GB, free: 35.65 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.264, allocations: 168 kB / 1.004 GB, free: 35.49 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0006382/2.264, allocations: 0.6771 MB / 1.004 GB, free: 34.8 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009731/2.274, allocations: 5.064 MB / 1.009 GB, free: 29.73 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/2.287, allocations: 9.266 MB / 1.018 GB, free: 18.52 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/2.3, allocations: 7.066 MB / 1.025 GB, free: 11.43 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/2.3, allocations: 40 kB / 1.025 GB, free: 11.39 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.04843/2.349, allocations: 18.77 MB / 1.044 GB, free: 8.578 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/2.349, allocations: 93.7 kB / 1.044 GB, free: 8.48 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002375/2.349, allocations: 148 kB / 1.044 GB, free: 8.336 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0202/2.369, allocations: 5.304 MB / 1.049 GB, free: 3.023 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.379, allocations: 1.969 MB / 1.051 GB, free: 1.055 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4517/2.831, allocations: 28.57 MB / 1.079 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/2.842, allocations: 0.7661 MB / 1.08 GB, free: 151.3 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.844, allocations: 477.2 kB / 1.08 GB, free: 151.3 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.003395/2.847, allocations: 0.7312 MB / 1.081 GB, free: 151.2 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001734/2.849, allocations: 0.6212 MB / 1.081 GB, free: 151.2 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03679/2.886, allocations: 13.87 MB / 1.095 GB, free: 150.9 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-05/2.886, allocations: 46.16 kB / 1.095 GB, free: 150.9 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/2.886, allocations: 21.95 kB / 1.095 GB, free: 150.9 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.892e-05/2.886, allocations: 18.64 kB / 1.095 GB, free: 150.9 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06822/2.954, allocations: 28.23 MB / 1.123 GB, free: 144.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.779e-05/2.955, allocations: 11.33 kB / 1.123 GB, free: 144.6 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004775/2.959, allocations: 0.7251 MB / 1.123 GB, free: 144.6 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/2.977, allocations: 5.054 MB / 1.128 GB, free: 143.9 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/2.978, allocations: 86.48 kB / 1.128 GB, free: 143.9 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04868/3.027, allocations: 26.59 MB / 1.154 GB, free: 135.6 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/3.027, allocations: 15.31 kB / 1.154 GB, free: 135.6 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04133/3.068, allocations: 22.02 MB / 1.176 GB, free: 120.3 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004998/3.073, allocations: 1.605 MB / 1.177 GB, free: 118.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/3.075, allocations: 89.84 kB / 1.177 GB, free: 118.7 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005702/3.081, allocations: 0.5204 MB / 1.178 GB, free: 118.4 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/3.083, allocations: 301.1 kB / 1.178 GB, free: 118.2 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007601/3.084, allocations: 120.9 kB / 1.178 GB, free: 118.1 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.01055/3.094, allocations: 4.724 MB / 1.183 GB, free: 114.1 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.401e-06/3.094, allocations: 0 / 1.183 GB, free: 114.1 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01142/3.106, allocations: 2.098 MB / 1.185 GB, free: 112 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.001275/3.107, allocations: 258.9 kB / 1.185 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.0224/3.129, allocations: 12.03 MB / 1.197 GB, free: 100.3 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/3.129, allocations: 4 kB / 1.197 GB, free: 100.3 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.012/3.141, allocations: 5.581 MB / 1.202 GB, free: 94.73 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/3.148, allocations: 1.017 MB / 1.203 GB, free: 93.77 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/3.19, allocations: 18.48 MB / 1.221 GB, free: 75.5 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/3.203, allocations: 5.989 MB / 1.227 GB, free: 69.53 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.01376/3.217, allocations: 4.163 MB / 1.231 GB, free: 65.48 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/3.219, allocations: 423.3 kB / 1.232 GB, free: 65.07 MB / 0.6671 GB Notification: Performance of SimCode: time 2.132e-06/3.219, allocations: 0 / 1.232 GB, free: 65.07 MB / 0.6671 GB Notification: Performance of Templates: time 0.6191/3.839, allocations: 100.2 MB / 1.33 GB, free: 159.8 MB / 0.6828 GB