Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.214/3.214, allocations: 326.3 MB / 339.3 MB, free: 11.21 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.469e-05, allocations: 4 kB / 422.3 MB, free: 0.5586 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 80.01 MB / 0.4906 GB, free: 452 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6232/0.791, allocations: 124.4 MB / 0.612 GB, free: 12.19 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.7913, allocations: 58.73 kB / 0.612 GB, free: 12.16 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.8149, allocations: 4.449 MB / 0.6164 GB, free: 8.098 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.573e-06/0.815, allocations: 0 / 0.6164 GB, free: 8.098 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.815, allocations: 8 kB / 0.6164 GB, free: 8.09 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.002095/0.8171, allocations: 0.6351 MB / 0.617 GB, free: 7.418 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.8172, allocations: 8.031 kB / 0.617 GB, free: 7.41 MB / 0.4953 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.8173, allocations: 57.8 kB / 0.6171 GB, free: 7.359 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.8174, allocations: 27.72 kB / 0.6171 GB, free: 7.332 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.8178, allocations: 243 kB / 0.6173 GB, free: 7.059 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.8179, allocations: 28.12 kB / 0.6174 GB, free: 7.043 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.818, allocations: 67 kB / 0.6174 GB, free: 6.992 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.8189, allocations: 324.8 kB / 0.6177 GB, free: 6.742 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.819, allocations: 12.66 kB / 0.6178 GB, free: 6.73 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.819, allocations: 15.69 kB / 0.6178 GB, free: 6.723 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.819, allocations: 4 kB / 0.6178 GB, free: 6.719 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.8196, allocations: 207.2 kB / 0.618 GB, free: 6.559 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.8207, allocations: 480.4 kB / 0.6184 GB, free: 6.117 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.822, allocations: 481.7 kB / 0.6189 GB, free: 5.766 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.8226, allocations: 231.6 kB / 0.6191 GB, free: 5.605 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.8227, allocations: 8.5 kB / 0.6191 GB, free: 5.598 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.8228, allocations: 50.36 kB / 0.6192 GB, free: 5.547 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=60): time 3.778e-06/0.8228, allocations: 0 / 0.6192 GB, free: 5.547 MB / 0.4953 GB Notification: Performance of matching and sorting (n=60): time 0.00309/0.8259, allocations: 0.7585 MB / 0.6199 GB, free: 4.895 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.826, allocations: 63.84 kB / 0.62 GB, free: 4.824 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.8261, allocations: 108.8 kB / 0.6201 GB, free: 4.715 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.8262, allocations: 41.2 kB / 0.6201 GB, free: 4.68 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.8263, allocations: 97.2 kB / 0.6202 GB, free: 4.59 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.8265, allocations: 239.1 kB / 0.6204 GB, free: 4.387 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.8266, allocations: 17.88 kB / 0.6204 GB, free: 4.383 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8268, allocations: 338.6 kB / 0.6208 GB, free: 4.055 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.8275, allocations: 254.7 kB / 0.621 GB, free: 3.867 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.8283, allocations: 415.7 kB / 0.6214 GB, free: 3.465 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.8292, allocations: 326.8 kB / 0.6217 GB, free: 3.215 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8292, allocations: 0 / 0.6217 GB, free: 3.215 MB / 0.4953 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003637/0.8328, allocations: 1.023 MB / 0.6227 GB, free: 2.355 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.8329, allocations: 10.33 kB / 0.6227 GB, free: 2.352 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.8329, allocations: 8 kB / 0.6227 GB, free: 2.344 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.8355, allocations: 321.2 kB / 0.623 GB, free: 2.051 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.8367, allocations: 163.4 kB / 0.6232 GB, free: 1.895 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.8436, allocations: 2.786 MB / 0.6259 GB, free: 15.32 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.8443, allocations: 65.55 kB / 0.626 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.8444, allocations: 31.06 kB / 0.626 GB, free: 15.25 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.0002183/0.8446, allocations: 143.8 kB / 0.6261 GB, free: 15.12 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.8447, allocations: 19.77 kB / 0.6262 GB, free: 15.1 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.8449, allocations: 61.81 kB / 0.6262 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.8449, allocations: 4 kB / 0.6262 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.8449, allocations: 8 kB / 0.6262 GB, free: 15.08 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.845, allocations: 3.984 kB / 0.6262 GB, free: 15.08 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.8459, allocations: 471.9 kB / 0.6267 GB, free: 14.64 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8459, allocations: 0 / 0.6267 GB, free: 14.64 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.8476, allocations: 137.8 kB / 0.6268 GB, free: 14.51 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.8502, allocations: 317.3 kB / 0.6271 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.8503, allocations: 28.59 kB / 0.6272 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006694/0.857, allocations: 2.764 MB / 0.6299 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8571, allocations: 0 / 0.6299 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.861, allocations: 1.162 MB / 0.631 GB, free: 10.66 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.8611, allocations: 100.8 kB / 0.6311 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.8612, allocations: 21.42 kB / 0.6311 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.8617, allocations: 19.61 kB / 0.6311 GB, free: 10.52 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.8619, allocations: 51.55 kB / 0.6312 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.8619, allocations: 15.94 kB / 0.6312 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.862, allocations: 79.28 kB / 0.6313 GB, free: 10.39 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.81e-07/0.862, allocations: 0 / 0.6313 GB, free: 10.39 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007756/0.8628, allocations: 150 kB / 0.6314 GB, free: 10.27 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.004228/0.867, allocations: 1.73 MB / 0.6331 GB, free: 8.719 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0031/0.8702, allocations: 0.8503 MB / 0.6339 GB, free: 8 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8702, allocations: 4 kB / 0.6339 GB, free: 7.996 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.8723, allocations: 0.5218 MB / 0.6344 GB, free: 7.543 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.8726, allocations: 30.12 kB / 0.6345 GB, free: 7.523 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.8795, allocations: 3.389 MB / 0.6378 GB, free: 4.199 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.8801, allocations: 0.8128 MB / 0.6386 GB, free: 3.359 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.0005979/0.8807, allocations: 151.1 kB / 0.6387 GB, free: 3.215 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.8809, allocations: 82.17 kB / 0.6388 GB, free: 3.188 MB / 0.5109 GB Notification: Performance of SimCode: time 1.282e-06/0.8809, allocations: 0 / 0.6388 GB, free: 3.188 MB / 0.5109 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.9255, allocations: 8.673 MB / 0.6473 GB, free: 10.61 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005857/0.9262, allocations: 227 kB / 0.6475 GB, free: 10.38 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.572, allocations: 3.375 kB / 0.6475 GB, free: 10.38 MB / 0.5265 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat does not exist to compare? outputFormat=mat