Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.226/2.226, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.62e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.616, allocations: 77.09 MB / 394.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.6163, allocations: 64.53 kB / 394.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.6339, allocations: 3.791 MB / 398 MB, free: 7.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.634, allocations: 0 / 398 MB, free: 7.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.634, allocations: 8 kB / 398 MB, free: 7.316 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.0009146/0.635, allocations: 478.2 kB / 398.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.635, allocations: 16.02 kB / 398.5 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.6351, allocations: 54.09 kB / 398.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.6352, allocations: 27.72 kB / 398.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.6356, allocations: 224.1 kB / 398.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6356, allocations: 15.38 kB / 398.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.6357, allocations: 30.92 kB / 398.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.6362, allocations: 193.4 kB / 399 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6362, allocations: 0 / 399 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.6362, allocations: 10.06 kB / 399 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.6363, allocations: 4 kB / 399 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.6367, allocations: 121.7 kB / 399.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.6385, allocations: 0.804 MB / 399.9 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.6391, allocations: 194.2 kB / 400.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.6394, allocations: 92.64 kB / 400.2 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.6394, allocations: 0 / 400.2 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.6395, allocations: 42.38 kB / 400.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.6395, allocations: 0 / 400.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001857/0.6413, allocations: 0.7617 MB / 401 MB, free: 4.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.6415, allocations: 85.05 kB / 401.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.6417, allocations: 160.7 kB / 401.2 MB, free: 4.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.6417, allocations: 29.45 kB / 401.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6418, allocations: 140.1 kB / 401.4 MB, free: 4.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.642, allocations: 101.9 kB / 401.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.642, allocations: 7.75 kB / 401.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6422, allocations: 330.4 kB / 401.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.6423, allocations: 55.42 kB / 401.9 MB, free: 3.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.6425, allocations: 103 kB / 402 MB, free: 3.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.6428, allocations: 70.38 kB / 402.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6428, allocations: 0 / 402.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005366/0.6433, allocations: 222.9 kB / 402.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6434, allocations: 8 kB / 402.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6434, allocations: 3.938 kB / 402.3 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.6434, allocations: 7.953 kB / 402.3 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.6439, allocations: 59.91 kB / 402.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.644, allocations: 4.094 kB / 402.4 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.6442, allocations: 11.94 kB / 402.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.6442, allocations: 15.73 kB / 402.4 MB, free: 3.168 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.0001132/0.6443, allocations: 116.8 kB / 402.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.6444, allocations: 15.81 kB / 402.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.115e-05/0.6445, allocations: 25.03 kB / 402.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.6446, allocations: 11.94 kB / 402.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6446, allocations: 0 / 402.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.6446, allocations: 11.98 kB / 402.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6458, allocations: 0.5712 MB / 403.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6458, allocations: 4 kB / 403.1 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.6464, allocations: 56.06 kB / 403.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.6464, allocations: 4 kB / 403.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.6464, allocations: 7.875 kB / 403.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6465, allocations: 7.984 kB / 403.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6465, allocations: 0 / 403.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.6473, allocations: 0.4971 MB / 403.7 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.6474, allocations: 100.9 kB / 403.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.6475, allocations: 7.188 kB / 403.8 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.6478, allocations: 15.45 kB / 403.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.6479, allocations: 27.03 kB / 403.9 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.6479, allocations: 4 kB / 403.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.648, allocations: 133.1 kB / 404 MB, free: 1.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6481, allocations: 0 / 404 MB, free: 1.652 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.6486, allocations: 50.94 kB / 404 MB, free: 1.609 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.001224/0.6498, allocations: 1.329 MB / 405.4 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6503, allocations: 143.9 kB / 405.5 MB, free: 216 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6503, allocations: 0 / 405.5 MB, free: 216 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.6505, allocations: 90.23 kB / 405.6 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.6511, allocations: 33.12 kB / 405.6 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.653, allocations: 0.6085 MB / 406.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.6534, allocations: 0.7482 MB / 407 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.6536, allocations: 29.98 kB / 407 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.6537, allocations: 61.73 kB / 407.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6538, allocations: 0 / 407.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07193/0.7257, allocations: 3.852 MB / 410.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.7261, allocations: 157.6 kB / 411.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.301, allocations: 4 kB / 411.1 MB, free: 10.66 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat