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.969/1.969, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.484e-05, allocations: 1.406 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09436, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5136, allocations: 72.71 MB / 372.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5139, allocations: 68.12 kB / 372.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.5313, allocations: 3.682 MB / 376.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5314, allocations: 4 kB / 376.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.5314, allocations: 5.25 kB / 376.4 MB, free: 11.96 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.0009119/0.5323, allocations: 482.4 kB / 376.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.5324, allocations: 9.219 kB / 376.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.5325, allocations: 59.16 kB / 377 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.5326, allocations: 29.39 kB / 377 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.5329, allocations: 216.3 kB / 377.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.533, allocations: 20.58 kB / 377.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.533, allocations: 29.09 kB / 377.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.5336, allocations: 196.7 kB / 377.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5336, allocations: 1.344 kB / 377.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.5336, allocations: 8.375 kB / 377.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5337, allocations: 9.062 kB / 377.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.5341, allocations: 123.7 kB / 377.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.5359, allocations: 0.8017 MB / 378.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.5365, allocations: 196.3 kB / 378.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.5369, allocations: 91.67 kB / 378.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.5369, allocations: 6.531 kB / 378.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5369, allocations: 35.69 kB / 378.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.727e-06/0.537, allocations: 4 kB / 378.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001964/0.5389, allocations: 0.7688 MB / 379.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.539, allocations: 81.2 kB / 379.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5392, allocations: 152.7 kB / 379.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5393, allocations: 34.64 kB / 379.7 MB, free: 9.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.5394, allocations: 143.5 kB / 379.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.5395, allocations: 94.27 kB / 380 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.5395, allocations: 4.531 kB / 380 MB, free: 9.742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.5396, allocations: 332.9 kB / 380.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.5398, allocations: 53.56 kB / 380.4 MB, free: 9.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.54, allocations: 99.02 kB / 380.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.5402, allocations: 72.2 kB / 380.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5402, allocations: 3.031 kB / 380.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005627/0.5408, allocations: 219.6 kB / 380.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5408, allocations: 5.969 kB / 380.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.5408, allocations: 0 / 380.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.5409, allocations: 3.188 kB / 380.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.5414, allocations: 68.8 kB / 380.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.5414, allocations: 2.812 kB / 380.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.5417, allocations: 19.5 kB / 380.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.5418, allocations: 9.766 kB / 380.9 MB, free: 9.309 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 9.496e-05/0.5419, allocations: 117 kB / 381 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.542, allocations: 21.73 kB / 381 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.222e-05/0.5421, allocations: 26.73 kB / 381 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5421, allocations: 7.438 kB / 381 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.5421, allocations: 3.422 kB / 381 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5421, allocations: 0 / 381 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.5433, allocations: 0.5854 MB / 381.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5433, allocations: 1.219 kB / 381.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5439, allocations: 61.83 kB / 381.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.5439, allocations: 2.75 kB / 381.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.5439, allocations: 8.062 kB / 381.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5439, allocations: 5.156 kB / 381.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.544, allocations: 2.469 kB / 381.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.5447, allocations: 0.5017 MB / 382.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.5448, allocations: 99.69 kB / 382.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.5449, allocations: 13.19 kB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.5452, allocations: 12.52 kB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.5453, allocations: 15.67 kB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.5453, allocations: 8.188 kB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.5455, allocations: 127.4 kB / 382.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5455, allocations: 0 / 382.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.546, allocations: 50.53 kB / 382.5 MB, free: 8.312 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.001049/0.5471, allocations: 1.322 MB / 383.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.5476, allocations: 158.1 kB / 384 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5477, allocations: 1.25 kB / 384 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.5479, allocations: 82.75 kB / 384.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.5485, allocations: 31.2 kB / 384.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.5503, allocations: 0.6012 MB / 384.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.5508, allocations: 0.7562 MB / 385.5 MB, free: 22.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.551, allocations: 21.91 kB / 385.5 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.5512, allocations: 65.83 kB / 385.5 MB, free: 22.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5512, allocations: 3.938 kB / 385.5 MB, free: 22.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5754, allocations: 3.89 MB / 389.4 MB, free: 21.66 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.5756, allocations: 152.2 kB / 389.6 MB, free: 21.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.277, allocations: 1.25 kB / 389.6 MB, free: 21.44 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