Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.591/2.591, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.988e-05, allocations: 3.188 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.771, allocations: 437.3 MB / 0.7145 GB, free: 91.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.772, allocations: 67.47 kB / 0.7145 GB, free: 91.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1066/1.878, allocations: 24.32 MB / 0.7383 GB, free: 71.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.878, allocations: 0 / 0.7383 GB, free: 71.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/1.878, allocations: 0 / 0.7383 GB, free: 71.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001238/1.88, allocations: 433.4 kB / 0.7387 GB, free: 71.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.88, allocations: 12.03 kB / 0.7387 GB, free: 71.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.892, allocations: 455.6 kB / 0.7391 GB, free: 71.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.892, allocations: 167 kB / 0.7393 GB, free: 70.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.892, allocations: 3.938 kB / 0.7393 GB, free: 70.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.892, allocations: 7.984 kB / 0.7393 GB, free: 70.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008452/1.893, allocations: 230.2 kB / 0.7395 GB, free: 70.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/1.894, allocations: 107.6 kB / 0.7396 GB, free: 70.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.894, allocations: 3.953 kB / 0.7396 GB, free: 70.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/1.894, allocations: 4 kB / 0.7396 GB, free: 70.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.894, allocations: 0 / 0.7396 GB, free: 70.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/1.895, allocations: 409 kB / 0.74 GB, free: 70.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.897, allocations: 175.8 kB / 0.7402 GB, free: 70.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/1.897, allocations: 55.86 kB / 0.7403 GB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/1.897, allocations: 11.98 kB / 0.7403 GB, free: 70.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.897, allocations: 34.44 kB / 0.7403 GB, free: 70.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.797e-06/1.897, allocations: 0 / 0.7403 GB, free: 70.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002109/1.899, allocations: 291.3 kB / 0.7406 GB, free: 69.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/1.899, allocations: 55.41 kB / 0.7406 GB, free: 69.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/1.9, allocations: 93 kB / 0.7407 GB, free: 69.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/1.9, allocations: 25.7 kB / 0.7407 GB, free: 69.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/1.9, allocations: 99.64 kB / 0.7408 GB, free: 69.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/1.9, allocations: 54.69 kB / 0.7409 GB, free: 69.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/1.9, allocations: 0 / 0.7409 GB, free: 69.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/1.9, allocations: 322.6 kB / 0.7412 GB, free: 69.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.9, allocations: 54.92 kB / 0.7412 GB, free: 69.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.9, allocations: 98.97 kB / 0.7413 GB, free: 69.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/1.901, allocations: 58.34 kB / 0.7414 GB, free: 68.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.901, allocations: 0 / 0.7414 GB, free: 68.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006111/1.901, allocations: 191.1 kB / 0.7416 GB, free: 68.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.901, allocations: 11.98 kB / 0.7416 GB, free: 68.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.901, allocations: 4.125 kB / 0.7416 GB, free: 68.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.901, allocations: 0 / 0.7416 GB, free: 68.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/1.902, allocations: 51.89 kB / 0.7416 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.902, allocations: 4 kB / 0.7416 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/1.903, allocations: 11.98 kB / 0.7417 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/1.903, allocations: 15.5 kB / 0.7417 GB, free: 68.73 MB / 410.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 (21): * Single equations (assignments): 21 * 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.0001194/1.903, allocations: 112.7 kB / 0.7418 GB, free: 68.62 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005608/1.903, allocations: 174.9 kB / 0.7419 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/1.903, allocations: 4 kB / 0.742 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/1.904, allocations: 228.7 kB / 0.7422 GB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.904, allocations: 3.938 kB / 0.7422 GB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.904, allocations: 4 kB / 0.7422 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.904, allocations: 7.938 kB / 0.7422 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.906, allocations: 0.4895 MB / 0.7427 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.906, allocations: 0 / 0.7427 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/1.907, allocations: 51.92 kB / 0.7427 GB, free: 67.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/1.907, allocations: 0 / 0.7427 GB, free: 67.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.907, allocations: 7.984 kB / 0.7427 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.907, allocations: 0 / 0.7427 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.907, allocations: 7.938 kB / 0.7427 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/1.907, allocations: 309.2 kB / 0.743 GB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.907, allocations: 85.02 kB / 0.7431 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/1.907, allocations: 0 / 0.7431 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/1.908, allocations: 7.984 kB / 0.7431 GB, free: 67.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.908, allocations: 15.48 kB / 0.7431 GB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/1.908, allocations: 11.98 kB / 0.7431 GB, free: 67.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/1.908, allocations: 83.28 kB / 0.7432 GB, free: 67.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.908, allocations: 4 kB / 0.7432 GB, free: 67.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007169/1.909, allocations: 61.86 kB / 0.7433 GB, free: 67.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001784/1.911, allocations: 1.476 MB / 0.7447 GB, free: 65.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005327/1.911, allocations: 152.1 kB / 0.7449 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.911, allocations: 256 / 0.7449 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/1.912, allocations: 77.98 kB / 0.7449 GB, free: 65.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/1.912, allocations: 35.48 kB / 0.745 GB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.914, allocations: 207.4 kB / 0.7452 GB, free: 65.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/1.914, allocations: 0.6932 MB / 0.7458 GB, free: 64.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008655/1.915, allocations: 60.72 kB / 0.7459 GB, free: 64.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/1.915, allocations: 42.41 kB / 0.7459 GB, free: 64.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/1.915, allocations: 0 / 0.7459 GB, free: 64.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/1.973, allocations: 7.254 MB / 0.753 GB, free: 57.27 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000246/1.973, allocations: 124 kB / 0.7531 GB, free: 57.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.264/5.237, allocations: 0 / 0.7531 GB, free: 57.07 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat