Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.438e-05, allocations: 8 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09273, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5094, allocations: 72.71 MB / 372.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5097, allocations: 70.89 kB / 372.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01566/0.5254, allocations: 3.689 MB / 376.4 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5254, allocations: 0 / 376.4 MB, free: 22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.5255, allocations: 4.375 kB / 376.4 MB, free: 22 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.0008113/0.5263, allocations: 485.1 kB / 376.9 MB, free: 21.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.5263, allocations: 13.28 kB / 376.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.5264, allocations: 57.61 kB / 376.9 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.5265, allocations: 28.36 kB / 377 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.5268, allocations: 220.1 kB / 377.2 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5268, allocations: 16.66 kB / 377.2 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.5269, allocations: 23.22 kB / 377.2 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.5274, allocations: 203.4 kB / 377.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5274, allocations: 0.9062 kB / 377.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.5275, allocations: 8.844 kB / 377.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5275, allocations: 9.094 kB / 377.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.5279, allocations: 121.2 kB / 377.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.5294, allocations: 0.8049 MB / 378.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.53, allocations: 189.6 kB / 378.6 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.5303, allocations: 91.73 kB / 378.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.5303, allocations: 1.25 kB / 378.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5303, allocations: 48.22 kB / 378.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.697e-06/0.5303, allocations: 0 / 378.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001645/0.532, allocations: 0.7726 MB / 379.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5321, allocations: 81.11 kB / 379.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.5322, allocations: 156.1 kB / 379.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5323, allocations: 34.52 kB / 379.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.5324, allocations: 204.3 kB / 379.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.5325, allocations: 89.36 kB / 380 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.5325, allocations: 4.781 kB / 380 MB, free: 19.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.5326, allocations: 326 kB / 380.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5327, allocations: 50.69 kB / 380.4 MB, free: 19.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.5329, allocations: 98.81 kB / 380.5 MB, free: 19.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.5331, allocations: 73.36 kB / 380.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5331, allocations: 0 / 380.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004907/0.5336, allocations: 209.5 kB / 380.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5337, allocations: 7.312 kB / 380.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5337, allocations: 1.75 kB / 380.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.5337, allocations: 1.406 kB / 380.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.5342, allocations: 66.02 kB / 380.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5343, allocations: 2.531 kB / 380.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.5345, allocations: 16.88 kB / 380.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.5345, allocations: 11.3 kB / 380.9 MB, free: 19.29 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 7.857e-05/0.5346, allocations: 114.7 kB / 381 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.5347, allocations: 26.48 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.5348, allocations: 32.83 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5348, allocations: 3.922 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5348, allocations: 1.25 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5348, allocations: 5.25 kB / 381 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5359, allocations: 0.5761 MB / 381.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5359, allocations: 0.9688 kB / 381.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.5365, allocations: 54.17 kB / 381.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.5365, allocations: 2.406 kB / 381.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.5365, allocations: 12.16 kB / 381.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.5365, allocations: 2.031 kB / 381.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5365, allocations: 6.266 kB / 381.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.5373, allocations: 0.5051 MB / 382.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.5374, allocations: 109 kB / 382.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.5374, allocations: 11.42 kB / 382.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.5377, allocations: 14.34 kB / 382.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.5378, allocations: 13.16 kB / 382.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5378, allocations: 10.31 kB / 382.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.538, allocations: 126.9 kB / 382.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.538, allocations: 3.938 kB / 382.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.5384, allocations: 50.09 kB / 382.5 MB, free: 18.28 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.0009442/0.5394, allocations: 1.316 MB / 383.8 MB, free: 17.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.5399, allocations: 160.7 kB / 384 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5399, allocations: 0 / 384 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5401, allocations: 86.12 kB / 384.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.5406, allocations: 33.25 kB / 384.1 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.5423, allocations: 0.6299 MB / 384.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.5426, allocations: 0.7533 MB / 385.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.5427, allocations: 69.28 kB / 385.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5427, allocations: 0.875 kB / 385.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.531/3.074, allocations: 3.534 MB / 389.1 MB, free: 15.72 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat