Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_160",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.143/3.143, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.194e-05, allocations: 0 / 422.3 MB, free: 0.5508 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.17, allocations: 80.01 MB / 0.4906 GB, free: 444 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6494/0.8195, allocations: 124.4 MB / 0.612 GB, free: 12.11 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.8198, allocations: 62.72 kB / 0.612 GB, free: 12.07 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1848/1.005, allocations: 32.74 MB / 0.644 GB, free: 14.21 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.254e-06/1.005, allocations: 0 / 0.644 GB, free: 14.21 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 7.114e-05/1.005, allocations: 40 kB / 0.6441 GB, free: 14.17 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01699/1.022, allocations: 3.071 MB / 0.6471 GB, free: 11.16 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.022, allocations: 11.97 kB / 0.6471 GB, free: 11.14 MB / 0.5265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/1.023, allocations: 277.8 kB / 0.6473 GB, free: 10.98 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.025, allocations: 198.1 kB / 0.6475 GB, free: 10.79 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/1.028, allocations: 0.7415 MB / 0.6482 GB, free: 10 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/1.028, allocations: 222.1 kB / 0.6485 GB, free: 9.883 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.03, allocations: 458.3 kB / 0.6489 GB, free: 9.57 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009537/1.04, allocations: 2.368 MB / 0.6512 GB, free: 7.746 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004328/1.04, allocations: 79.61 kB / 0.6513 GB, free: 7.68 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009318/1.041, allocations: 77.38 kB / 0.6514 GB, free: 7.66 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/1.041, allocations: 44 kB / 0.6514 GB, free: 7.617 MB / 0.5265 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006945/1.048, allocations: 1.625 MB / 0.653 GB, free: 6.312 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008781/1.057, allocations: 2.823 MB / 0.6557 GB, free: 4.086 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.068, allocations: 3.71 MB / 0.6594 GB, free: 1.441 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005889/1.074, allocations: 1.799 MB / 0.6611 GB, free: 200 kB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/1.075, allocations: 51.77 kB / 0.6612 GB, free: 148 kB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.486e-05/1.075, allocations: 80.77 kB / 0.6612 GB, free: 88 kB / 0.5265 GB Notification: Performance of pre-optimization done (n=480): time 8.366e-06/1.075, allocations: 3.938 kB / 0.6613 GB, free: 84 kB / 0.5265 GB Notification: Performance of matching and sorting (n=480): time 0.02991/1.105, allocations: 5.946 MB / 0.6671 GB, free: 11.1 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.105, allocations: 107 kB / 0.6672 GB, free: 10.98 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/1.105, allocations: 187.6 kB / 0.6673 GB, free: 10.83 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/1.106, allocations: 153.1 kB / 0.6675 GB, free: 10.77 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.107, allocations: 152.6 kB / 0.6676 GB, free: 10.66 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.003145/1.11, allocations: 1.914 MB / 0.6695 GB, free: 9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.111, allocations: 128.1 kB / 0.6696 GB, free: 8.973 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0006711/1.112, allocations: 0.5594 MB / 0.6702 GB, free: 8.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006954/1.119, allocations: 1.976 MB / 0.6721 GB, free: 7 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008568/1.127, allocations: 3.218 MB / 0.6752 GB, free: 3.891 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008394/1.136, allocations: 2.528 MB / 0.6777 GB, free: 1.883 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.625e-05/1.136, allocations: 12 kB / 0.6777 GB, free: 1.871 MB / 0.5421 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.03541/1.171, allocations: 7.953 MB / 0.6855 GB, free: 11.33 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/1.171, allocations: 26.44 kB / 0.6855 GB, free: 11.3 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.965e-05/1.171, allocations: 32 kB / 0.6855 GB, free: 11.27 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02104/1.192, allocations: 2.516 MB / 0.688 GB, free: 8.945 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0093/1.202, allocations: 1.274 MB / 0.6892 GB, free: 7.711 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05638/1.258, allocations: 14.52 MB / 0.7034 GB, free: 11.88 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.263, allocations: 0.5109 MB / 0.7039 GB, free: 11.46 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.265, allocations: 225.8 kB / 0.7041 GB, free: 11.29 MB / 0.5734 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 640 * 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%) 159} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002342/1.267, allocations: 424.4 kB / 0.7045 GB, free: 11.04 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.268, allocations: 154.2 kB / 0.7047 GB, free: 10.88 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.27, allocations: 452.5 kB / 0.7051 GB, free: 10.84 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/1.27, allocations: 44 kB / 0.7052 GB, free: 10.8 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.309e-05/1.27, allocations: 27.95 kB / 0.7052 GB, free: 10.77 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.571e-05/1.27, allocations: 23.91 kB / 0.7052 GB, free: 10.75 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008527/1.278, allocations: 2.7 MB / 0.7078 GB, free: 8.543 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.278, allocations: 0 / 0.7078 GB, free: 8.543 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01382/1.292, allocations: 1.041 MB / 0.7089 GB, free: 7.543 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02121/1.314, allocations: 2.474 MB / 0.7113 GB, free: 5.262 MB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/1.315, allocations: 229.1 kB / 0.7115 GB, free: 5.098 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05558/1.371, allocations: 14.43 MB / 0.7256 GB, free: 9.359 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.371, allocations: 3.953 kB / 0.7256 GB, free: 9.355 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05599/1.427, allocations: 12.31 MB / 0.7376 GB, free: 14.63 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/1.427, allocations: 282.2 kB / 0.7379 GB, free: 14.34 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.429, allocations: 197.9 kB / 0.7381 GB, free: 14.2 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/1.433, allocations: 161.4 kB / 0.7382 GB, free: 14.1 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/1.435, allocations: 350.2 kB / 0.7386 GB, free: 13.8 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001062/1.436, allocations: 131 kB / 0.7387 GB, free: 13.7 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 9.529e-05/1.436, allocations: 83.2 kB / 0.7388 GB, free: 13.62 MB / 0.6046 GB Notification: Performance of sort global known variables: time 5.21e-07/1.436, allocations: 0 / 0.7388 GB, free: 13.62 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.005879/1.442, allocations: 1.125 MB / 0.7399 GB, free: 12.69 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 320 (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],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],xm[81],xm[82],xm[83],xm[84],xm[85],xm[86],xm[87],xm[88],xm[89],xm[90],xm[91],xm[92],xm[93],xm[94],xm[95],xm[96],xm[97],xm[98],xm[99],xm[100],xm[101],xm[102],xm[103],xm[104],xm[105],xm[106],xm[107],xm[108],xm[109],xm[110],xm[111],xm[112],xm[113],xm[114],xm[115],xm[116],xm[117],xm[118],xm[119],xm[120],xm[121],xm[122],xm[123],xm[124],xm[125],xm[126],xm[127],xm[128],xm[129],xm[130],xm[131],xm[132],xm[133],xm[134],xm[135],xm[136],xm[137],xm[138],xm[139],xm[140],xm[141],xm[142],xm[143],xm[144],xm[145],xm[146],xm[147],xm[148],xm[149],xm[150],xm[151],xm[152],xm[153],xm[154],xm[155],xm[156],xm[157],xm[158],xm[159],xm[160],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],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100],v[101],v[102],v[103],v[104],v[105],v[106],v[107],v[108],v[109],v[110],v[111],v[112],v[113],v[114],v[115],v[116],v[117],v[118],v[119],v[120],v[121],v[122],v[123],v[124],v[125],v[126],v[127],v[128],v[129],v[130],v[131],v[132],v[133],v[134],v[135],v[136],v[137],v[138],v[139],v[140],v[141],v[142],v[143],v[144],v[145],v[146],v[147],v[148],v[149],v[150],v[151],v[152],v[153],v[154],v[155],v[156],v[157],v[158],v[159],v[160]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 320 * 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%) 159} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05159/1.493, allocations: 13.14 MB / 0.7527 GB, free: 1.191 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.02585/1.519, allocations: 6.169 MB / 0.7587 GB, free: 12.16 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.519, allocations: 0 / 0.7587 GB, free: 12.16 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.01782/1.537, allocations: 3.596 MB / 0.7622 GB, free: 8.891 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.539, allocations: 87.98 kB / 0.7623 GB, free: 8.805 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07393/1.613, allocations: 37.05 MB / 0.7985 GB, free: 3.609 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/1.615, allocations: 1.793 MB / 0.8002 GB, free: 1.773 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.005696/1.621, allocations: 1.193 MB / 0.8014 GB, free: 0.5742 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4177/2.039, allocations: 0.7464 MB / 0.8021 GB, free: 202.8 MB / 0.6515 GB Notification: Performance of SimCode: time 2.334e-06/2.039, allocations: 0.9375 kB / 0.8021 GB, free: 202.8 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/2.222, allocations: 82.76 MB / 0.883 GB, free: 166.5 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/2.222, allocations: 221.5 kB / 0.8832 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.203/7.425, allocations: 4 kB / 0.8832 GB, free: 166.2 MB / 0.6515 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160_res.mat does not exist to compare? outputFormat=mat