Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.454/2.454, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.497e-05, allocations: 2.75 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5695, allocations: 72.04 MB / 366.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5698, allocations: 75.58 kB / 366.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.5875, allocations: 3.645 MB / 370 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5876, allocations: 3.609 kB / 370.1 MB, free: 22.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.5876, allocations: 5.188 kB / 370.1 MB, free: 22.46 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009655/0.5886, allocations: 484.2 kB / 370.5 MB, free: 22.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5886, allocations: 9.125 kB / 370.5 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.5887, allocations: 28.81 kB / 370.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5891, allocations: 221.2 kB / 370.8 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.5891, allocations: 6.438 kB / 370.8 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.5892, allocations: 19.75 kB / 370.8 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000446/0.5897, allocations: 113.9 kB / 370.9 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.5902, allocations: 171.8 kB / 371.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.5902, allocations: 1.312 kB / 371.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.5902, allocations: 4 kB / 371.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5903, allocations: 9 kB / 371.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5921, allocations: 0.7528 MB / 371.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.5927, allocations: 163.7 kB / 372 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.593, allocations: 96.41 kB / 372.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.593, allocations: 3.375 kB / 372.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5931, allocations: 37.55 kB / 372.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.356e-06/0.5931, allocations: 0 / 372.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001709/0.5948, allocations: 0.7182 MB / 372.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.5949, allocations: 81.08 kB / 372.9 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.5951, allocations: 142.5 kB / 373.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.5952, allocations: 29.64 kB / 373.1 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5953, allocations: 145.5 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.5954, allocations: 92.86 kB / 373.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.5954, allocations: 0 / 373.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5956, allocations: 327.2 kB / 373.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5958, allocations: 51.06 kB / 373.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.596, allocations: 97.33 kB / 373.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.5962, allocations: 58.28 kB / 373.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5962, allocations: 0 / 373.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005639/0.5968, allocations: 205.1 kB / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5968, allocations: 11 kB / 374.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5969, allocations: 0 / 374.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5969, allocations: 3.875 kB / 374.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.5975, allocations: 63.09 kB / 374.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5975, allocations: 3.844 kB / 374.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.5978, allocations: 10.44 kB / 374.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.5978, allocations: 11.62 kB / 374.2 MB, free: 19.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.5979, allocations: 116.8 kB / 374.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005009/0.5985, allocations: 162.1 kB / 374.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.5986, allocations: 23.42 kB / 374.5 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.5987, allocations: 32.55 kB / 374.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.5987, allocations: 3.875 kB / 374.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5987, allocations: 0 / 374.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5987, allocations: 2.672 kB / 374.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.6, allocations: 0.5162 MB / 375 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6, allocations: 3.938 kB / 375 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.6007, allocations: 58.19 kB / 375.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6007, allocations: 0 / 375.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.6007, allocations: 11.3 kB / 375.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.6007, allocations: 0 / 375.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6008, allocations: 7.688 kB / 375.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.6016, allocations: 498.6 kB / 375.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.6017, allocations: 102.2 kB / 375.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.6018, allocations: 3.875 kB / 375.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.6021, allocations: 7.125 kB / 375.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.6022, allocations: 17.95 kB / 375.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6022, allocations: 17.75 kB / 375.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.6024, allocations: 112.1 kB / 375.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6024, allocations: 0 / 375.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.603, allocations: 42.34 kB / 375.9 MB, free: 18.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.6043, allocations: 1.299 MB / 377.2 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.6048, allocations: 144.7 kB / 377.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.6048, allocations: 8.125 kB / 377.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.605, allocations: 75.56 kB / 377.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.6057, allocations: 25.56 kB / 377.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.6077, allocations: 0.5784 MB / 378 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.6082, allocations: 0.7493 MB / 378.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.6085, allocations: 23.41 kB / 378.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.6087, allocations: 67.72 kB / 378.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6087, allocations: 0 / 378.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.6641, allocations: 3.396 MB / 382.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002374/0.6644, allocations: 144.8 kB / 382.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.129/3.793, allocations: 0 / 382.4 MB, free: 16.12 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat