Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadModel(ScalableTestSuite): time 2.817/2.817, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.624e-05, allocations: 0 / 422.2 MB, free: 0.6445 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 80 MB / 0.4905 GB, free: 0.5391 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5135/0.6412, allocations: 124.4 MB / 0.6119 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.6414, allocations: 59.91 kB / 0.612 GB, free: 12.42 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01937/0.6608, allocations: 4.438 MB / 0.6163 GB, free: 8.355 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.532e-06/0.6608, allocations: 0 / 0.6163 GB, free: 8.355 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.6609, allocations: 4 kB / 0.6163 GB, free: 8.352 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001407/0.6623, allocations: 0.6387 MB / 0.6169 GB, free: 7.68 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6624, allocations: 12.03 kB / 0.6169 GB, free: 7.668 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.6625, allocations: 23.72 kB / 0.617 GB, free: 7.645 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.6629, allocations: 243 kB / 0.6172 GB, free: 7.367 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.6629, allocations: 32.12 kB / 0.6172 GB, free: 7.352 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.663, allocations: 59.14 kB / 0.6173 GB, free: 7.309 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.6638, allocations: 324.9 kB / 0.6176 GB, free: 7.055 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.6638, allocations: 7.562 kB / 0.6176 GB, free: 7.051 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.6639, allocations: 16.52 kB / 0.6176 GB, free: 7.043 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.6639, allocations: 4 kB / 0.6176 GB, free: 7.039 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.6644, allocations: 203.7 kB / 0.6178 GB, free: 6.879 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.6652, allocations: 495 kB / 0.6183 GB, free: 6.426 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.6663, allocations: 487.3 kB / 0.6187 GB, free: 6.07 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.6668, allocations: 235.5 kB / 0.619 GB, free: 5.906 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.6669, allocations: 4.562 kB / 0.619 GB, free: 5.902 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.6669, allocations: 42.31 kB / 0.619 GB, free: 5.855 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=60): time 3.715e-06/0.667, allocations: 0 / 0.619 GB, free: 5.855 MB / 0.4953 GB Notification: Performance of matching and sorting (n=60): time 0.002296/0.6693, allocations: 0.7605 MB / 0.6198 GB, free: 5.203 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.6693, allocations: 59.97 kB / 0.6198 GB, free: 5.133 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6695, allocations: 107.8 kB / 0.6199 GB, free: 5.027 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.6696, allocations: 43.14 kB / 0.62 GB, free: 4.992 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.6696, allocations: 96.19 kB / 0.6201 GB, free: 4.902 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6699, allocations: 241.4 kB / 0.6203 GB, free: 4.699 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.67, allocations: 16 kB / 0.6203 GB, free: 4.695 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.6702, allocations: 348.7 kB / 0.6206 GB, free: 4.359 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.6707, allocations: 248.9 kB / 0.6209 GB, free: 4.176 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.6714, allocations: 416.9 kB / 0.6213 GB, free: 3.773 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.6721, allocations: 323.9 kB / 0.6216 GB, free: 3.523 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-06/0.6721, allocations: 4 kB / 0.6216 GB, free: 3.52 MB / 0.4953 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0027/0.6749, allocations: 1.012 MB / 0.6226 GB, free: 2.672 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.6749, allocations: 6.5 kB / 0.6226 GB, free: 2.668 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6749, allocations: 11.94 kB / 0.6226 GB, free: 2.656 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.6767, allocations: 325.2 kB / 0.6229 GB, free: 2.359 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.6774, allocations: 163.2 kB / 0.6231 GB, free: 2.203 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.6827, allocations: 2.785 MB / 0.6258 GB, free: 15.63 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.6831, allocations: 66.11 kB / 0.6258 GB, free: 15.58 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.6832, allocations: 27.94 kB / 0.6259 GB, free: 15.56 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.6834, allocations: 148.2 kB / 0.626 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.6835, allocations: 15.81 kB / 0.626 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.6836, allocations: 66.45 kB / 0.6261 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.6837, allocations: 4 kB / 0.6261 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.6837, allocations: 4 kB / 0.6261 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6837, allocations: 3.984 kB / 0.6261 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.6844, allocations: 473.7 kB / 0.6265 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-06/0.6845, allocations: 0 / 0.6265 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6855, allocations: 135.6 kB / 0.6267 GB, free: 14.82 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.6873, allocations: 315.6 kB / 0.627 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.6874, allocations: 27.09 kB / 0.627 GB, free: 14.51 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005197/0.6926, allocations: 2.77 MB / 0.6297 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.72e-06/0.6926, allocations: 0 / 0.6297 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.6955, allocations: 1.155 MB / 0.6308 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.6956, allocations: 108.7 kB / 0.6309 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.6957, allocations: 29.17 kB / 0.631 GB, free: 10.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.696, allocations: 14.55 kB / 0.631 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6961, allocations: 46.62 kB / 0.631 GB, free: 10.79 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.6962, allocations: 22.61 kB / 0.631 GB, free: 10.77 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.6963, allocations: 82.53 kB / 0.6311 GB, free: 10.69 MB / 0.5109 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6963, allocations: 0 / 0.6311 GB, free: 10.69 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0006417/0.6969, allocations: 143.8 kB / 0.6313 GB, free: 10.57 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.6972, allocations: 136.2 kB / 0.6314 GB, free: 10.44 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.6995, allocations: 0.8597 MB / 0.6322 GB, free: 9.707 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.915e-06/0.6995, allocations: 0 / 0.6322 GB, free: 9.707 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.7009, allocations: 0.5361 MB / 0.6328 GB, free: 9.242 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.7012, allocations: 11.62 kB / 0.6328 GB, free: 9.238 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.7063, allocations: 3.134 MB / 0.6358 GB, free: 6.164 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.7069, allocations: 0.8163 MB / 0.6366 GB, free: 5.324 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.0004593/0.7074, allocations: 143.1 kB / 0.6368 GB, free: 5.184 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7075, allocations: 31.38 kB / 0.6368 GB, free: 5.152 MB / 0.5109 GB Notification: Performance of SimCode: time 1.74e-06/0.7075, allocations: 4 kB / 0.6368 GB, free: 5.148 MB / 0.5109 GB Notification: Performance of Templates: time 0.01386/0.7214, allocations: 4.837 MB / 0.6415 GB, free: 320 kB / 0.5109 GB