Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_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 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/4.019e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09709, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5185, allocations: 72.72 MB / 372.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5188, allocations: 67.25 kB / 372.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.535, allocations: 3.684 MB / 376.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5351, allocations: 0 / 376.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5351, allocations: 3.656 kB / 376.5 MB, free: 11.9 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.0008367/0.536, allocations: 484.3 kB / 376.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.536, allocations: 9.656 kB / 376.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.758e-05/0.5361, allocations: 54.95 kB / 377 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.5362, allocations: 27.98 kB / 377 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.5365, allocations: 231 kB / 377.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5365, allocations: 15.41 kB / 377.3 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.5366, allocations: 24.56 kB / 377.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.5371, allocations: 194.5 kB / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5371, allocations: 5.625 kB / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.5372, allocations: 8.906 kB / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.5372, allocations: 6.203 kB / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.5376, allocations: 120.9 kB / 377.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.5393, allocations: 0.8031 MB / 378.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.5398, allocations: 179.6 kB / 378.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.5401, allocations: 95.64 kB / 378.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.5402, allocations: 5.781 kB / 378.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5402, allocations: 41.95 kB / 378.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.076e-06/0.5402, allocations: 0 / 378.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001714/0.5419, allocations: 0.7753 MB / 379.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.542, allocations: 81.42 kB / 379.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.5422, allocations: 163.4 kB / 379.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5422, allocations: 32.3 kB / 379.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.5423, allocations: 140.6 kB / 379.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.5424, allocations: 93.31 kB / 380 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.5424, allocations: 6.5 kB / 380 MB, free: 9.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.5425, allocations: 331.7 kB / 380.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.5427, allocations: 52.44 kB / 380.4 MB, free: 9.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5429, allocations: 98.17 kB / 380.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.5431, allocations: 71.56 kB / 380.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5431, allocations: 3.938 kB / 380.6 MB, free: 9.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005046/0.5436, allocations: 208 kB / 380.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5437, allocations: 6.344 kB / 380.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5437, allocations: 7.234 kB / 380.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5437, allocations: 2.281 kB / 380.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.5442, allocations: 64.56 kB / 380.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5442, allocations: 2.125 kB / 380.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.5445, allocations: 20.28 kB / 380.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.5445, allocations: 9.188 kB / 380.9 MB, free: 9.246 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 8.367e-05/0.5446, allocations: 117.4 kB / 381 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.5447, allocations: 27.16 kB / 381 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.5448, allocations: 26.12 kB / 381 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.5448, allocations: 4.75 kB / 381 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5448, allocations: 1.094 kB / 381 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5448, allocations: 2.5 kB / 381 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5459, allocations: 0.5798 MB / 381.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.546, allocations: 0 / 381.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.5465, allocations: 63.14 kB / 381.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.5465, allocations: 6.75 kB / 381.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.5466, allocations: 5.906 kB / 381.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.5466, allocations: 3.938 kB / 381.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5466, allocations: 1.812 kB / 381.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.5473, allocations: 0.5044 MB / 382.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.5474, allocations: 104.2 kB / 382.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.5475, allocations: 3.375 kB / 382.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.5477, allocations: 11.41 kB / 382.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.5478, allocations: 18.27 kB / 382.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.5478, allocations: 9.547 kB / 382.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.548, allocations: 127.7 kB / 382.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.548, allocations: 0 / 382.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.5485, allocations: 54.09 kB / 382.5 MB, free: 8.25 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.0009886/0.5495, allocations: 1.32 MB / 383.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.55, allocations: 150.3 kB / 384 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5501, allocations: 3.938 kB / 384 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5503, allocations: 82.19 kB / 384.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.5508, allocations: 33 kB / 384.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.5525, allocations: 0.6015 MB / 384.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.553, allocations: 0.7567 MB / 385.5 MB, free: 22.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.5532, allocations: 21.44 kB / 385.5 MB, free: 22.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5533, allocations: 70.88 kB / 385.6 MB, free: 22 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5534, allocations: 0 / 385.6 MB, free: 22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.5841, allocations: 3.864 MB / 389.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.5844, allocations: 158.8 kB / 389.6 MB, free: 21.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.207, allocations: 9.125 kB / 389.6 MB, free: 21.38 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat