Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") Notification: Performance of loadModel(ScalableTestSuite): time 3.13/3.13, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.637e-05, allocations: 0 / 422.2 MB, free: 0.6523 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 80 MB / 0.4905 GB, free: 0.543 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6244/0.7895, allocations: 124.4 MB / 0.6119 GB, free: 12.62 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.7897, allocations: 62.66 kB / 0.612 GB, free: 12.59 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0463/0.8361, allocations: 8.473 MB / 0.6202 GB, free: 4.848 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8361, allocations: 0 / 0.6202 GB, free: 4.848 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.8361, allocations: 12 kB / 0.6202 GB, free: 4.836 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004017/0.8402, allocations: 0.9893 MB / 0.6212 GB, free: 3.832 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.8402, allocations: 12.03 kB / 0.6212 GB, free: 3.82 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.8405, allocations: 47.53 kB / 0.6213 GB, free: 3.773 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.8412, allocations: 311.3 kB / 0.6216 GB, free: 3.43 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.8413, allocations: 60.19 kB / 0.6216 GB, free: 3.398 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.8416, allocations: 122 kB / 0.6217 GB, free: 3.312 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.8432, allocations: 0.6074 MB / 0.6223 GB, free: 2.836 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.8433, allocations: 19.8 kB / 0.6223 GB, free: 2.816 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.8434, allocations: 24.2 kB / 0.6224 GB, free: 2.809 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.8434, allocations: 12 kB / 0.6224 GB, free: 2.797 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.8446, allocations: 417.7 kB / 0.6228 GB, free: 2.473 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.8465, allocations: 0.8055 MB / 0.6236 GB, free: 1.773 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.8488, allocations: 0.9096 MB / 0.6244 GB, free: 1.102 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.85, allocations: 462.3 kB / 0.6249 GB, free: 0.7891 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.8502, allocations: 16.94 kB / 0.6249 GB, free: 0.7734 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.8502, allocations: 46 kB / 0.625 GB, free: 0.7227 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=120): time 5.27e-06/0.8502, allocations: 0 / 0.625 GB, free: 0.7227 MB / 0.4953 GB Notification: Performance of matching and sorting (n=120): time 0.006165/0.8564, allocations: 1.499 MB / 0.6264 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.8565, allocations: 64.41 kB / 0.6265 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.8567, allocations: 121.1 kB / 0.6266 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.8569, allocations: 57.08 kB / 0.6266 GB, free: 15.24 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.857, allocations: 103.4 kB / 0.6267 GB, free: 15.14 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006401/0.8577, allocations: 486.8 kB / 0.6272 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8578, allocations: 32.88 kB / 0.6272 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.858, allocations: 379.1 kB / 0.6276 GB, free: 14.37 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.8595, allocations: 0.498 MB / 0.6281 GB, free: 13.99 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.8612, allocations: 0.8036 MB / 0.6289 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.8629, allocations: 0.6352 MB / 0.6295 GB, free: 12.71 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.8629, allocations: 7.953 kB / 0.6295 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007279/0.8702, allocations: 2.001 MB / 0.6315 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.8703, allocations: 10.5 kB / 0.6315 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.8703, allocations: 15.94 kB / 0.6315 GB, free: 11.02 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/0.8755, allocations: 0.6322 MB / 0.6321 GB, free: 10.43 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.8778, allocations: 320.2 kB / 0.6324 GB, free: 10.13 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.891, allocations: 4.45 MB / 0.6367 GB, free: 6.23 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.8922, allocations: 124.9 kB / 0.6369 GB, free: 6.133 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.8924, allocations: 67.28 kB / 0.6369 GB, free: 6.078 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003768/0.8928, allocations: 194.3 kB / 0.6371 GB, free: 5.922 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.8929, allocations: 39.53 kB / 0.6372 GB, free: 5.883 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.8932, allocations: 118.9 kB / 0.6373 GB, free: 5.867 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.8933, allocations: 12 kB / 0.6373 GB, free: 5.855 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.8933, allocations: 4 kB / 0.6373 GB, free: 5.852 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.8933, allocations: 3.984 kB / 0.6373 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.8951, allocations: 0.7813 MB / 0.638 GB, free: 5.152 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8951, allocations: 4 kB / 0.6381 GB, free: 5.148 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/0.8985, allocations: 266.8 kB / 0.6383 GB, free: 4.898 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007338/0.9059, allocations: 0.6118 MB / 0.6389 GB, free: 4.332 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/0.9063, allocations: 55.45 kB / 0.639 GB, free: 4.293 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.9223, allocations: 4.441 MB / 0.6433 GB, free: 416 kB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9223, allocations: 0 / 0.6433 GB, free: 416 kB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008043/0.9304, allocations: 2.375 MB / 0.6456 GB, free: 14.43 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.9306, allocations: 128.4 kB / 0.6457 GB, free: 14.28 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.9308, allocations: 51.45 kB / 0.6458 GB, free: 14.25 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.9317, allocations: 39.28 kB / 0.6458 GB, free: 14.22 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.932, allocations: 92.5 kB / 0.6459 GB, free: 14.14 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.9321, allocations: 35.73 kB / 0.6459 GB, free: 14.12 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.9322, allocations: 75.28 kB / 0.646 GB, free: 14.04 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9322, allocations: 0 / 0.646 GB, free: 14.04 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001261/0.9335, allocations: 290.3 kB / 0.6463 GB, free: 13.81 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003572/0.9338, allocations: 180.7 kB / 0.6465 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.006049/0.9399, allocations: 1.607 MB / 0.648 GB, free: 12.3 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.94, allocations: 0 / 0.648 GB, free: 12.3 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.9443, allocations: 0.9668 MB / 0.649 GB, free: 11.49 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.9447, allocations: 34.69 kB / 0.649 GB, free: 11.47 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.957, allocations: 6.407 MB / 0.6553 GB, free: 5.176 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.9577, allocations: 0.9502 MB / 0.6562 GB, free: 4.203 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.001236/0.959, allocations: 305.4 kB / 0.6565 GB, free: 3.902 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.9592, allocations: 43.44 kB / 0.6565 GB, free: 3.863 MB / 0.5265 GB Notification: Performance of SimCode: time 1.083e-06/0.9592, allocations: 0 / 0.6565 GB, free: 3.863 MB / 0.5265 GB Notification: Performance of Templates: time 0.02938/0.9886, allocations: 9.609 MB / 0.6659 GB, free: 10.25 MB / 0.5421 GB