Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 171.2 MB / 178.4 MB, free: 184 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.616e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4097, allocations: 66.76 MB / 325.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.4102, allocations: 63.97 kB / 325.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.4267, allocations: 3.665 MB / 328.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4268, allocations: 0 / 328.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4268, allocations: 4 kB / 328.8 MB, free: 7.289 MB / 282.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.000893/0.4277, allocations: 490.2 kB / 329.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4278, allocations: 8.031 kB / 329.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.4278, allocations: 31.7 kB / 329.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.4282, allocations: 226.6 kB / 329.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4282, allocations: 11.95 kB / 329.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4283, allocations: 15.94 kB / 329.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004047/0.4287, allocations: 116.8 kB / 329.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.4291, allocations: 176.5 kB / 329.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4292, allocations: 3.906 kB / 329.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4292, allocations: 0 / 329.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4292, allocations: 8 kB / 329.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.4309, allocations: 0.7531 MB / 330.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.4314, allocations: 173.1 kB / 330.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.4317, allocations: 89.7 kB / 330.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4317, allocations: 0 / 330.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.4318, allocations: 42.5 kB / 331 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.374e-06/0.4318, allocations: 0 / 331 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001638/0.4334, allocations: 0.7138 MB / 331.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4335, allocations: 81.11 kB / 331.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4337, allocations: 149.8 kB / 331.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4337, allocations: 25.7 kB / 331.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4339, allocations: 140.4 kB / 332.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.434, allocations: 90.66 kB / 332.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.434, allocations: 0 / 332.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4341, allocations: 326.8 kB / 332.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4343, allocations: 48 kB / 332.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.4345, allocations: 97.33 kB / 332.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4347, allocations: 59.97 kB / 332.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4347, allocations: 4.438 kB / 332.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004863/0.4352, allocations: 196.3 kB / 332.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4352, allocations: 4 kB / 332.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4353, allocations: 4 kB / 332.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4353, allocations: 4.031 kB / 332.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.4358, allocations: 67.97 kB / 332.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4358, allocations: 3.938 kB / 332.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.436, allocations: 19.84 kB / 333 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.4361, allocations: 8 kB / 333 MB, free: 2.812 MB / 282.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.0001052/0.4362, allocations: 112.9 kB / 333.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005249/0.4367, allocations: 169.4 kB / 333.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.4368, allocations: 19.81 kB / 333.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.4369, allocations: 21.97 kB / 333.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/0.4369, allocations: 7.984 kB / 333.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4369, allocations: 7.953 kB / 333.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.437, allocations: 3.938 kB / 333.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4381, allocations: 0.5179 MB / 333.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4381, allocations: 4 kB / 333.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.4387, allocations: 63.86 kB / 333.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4387, allocations: 4 kB / 333.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.4387, allocations: 0 / 333.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4387, allocations: 4 kB / 333.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4388, allocations: 0 / 333.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.4395, allocations: 492.4 kB / 334.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4397, allocations: 112.8 kB / 334.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.4397, allocations: 4 kB / 334.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.44, allocations: 4 kB / 334.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.4401, allocations: 28 kB / 334.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4401, allocations: 8 kB / 334.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.4402, allocations: 111.3 kB / 334.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4403, allocations: 0 / 334.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.4408, allocations: 44.25 kB / 334.7 MB, free: 0.9648 MB / 282.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.001191/0.442, allocations: 1.299 MB / 336 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.4425, allocations: 144 kB / 336.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4425, allocations: 0 / 336.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.4427, allocations: 79.86 kB / 336.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.4432, allocations: 32.55 kB / 336.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4452, allocations: 0.5835 MB / 336.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4456, allocations: 0.7557 MB / 337.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00017/0.4458, allocations: 22.06 kB / 337.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4459, allocations: 71.41 kB / 337.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.446, allocations: 0 / 337.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.4862, allocations: 3.391 MB / 341.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/0.4866, allocations: 143.9 kB / 341.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.964, allocations: 0.875 kB / 341.2 MB, free: 10.29 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat