Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.576e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.303, allocations: 44.51 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.432, allocations: 437.3 MB / 0.7144 GB, free: 12.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.432, allocations: 63.36 kB / 0.7144 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3269/1.759, allocations: 24.31 MB / 0.7382 GB, free: 154.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.759, allocations: 3.562 kB / 0.7382 GB, free: 154.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/1.759, allocations: 1 kB / 0.7382 GB, free: 154.8 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.001029/1.76, allocations: 443 kB / 0.7386 GB, free: 154.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.76, allocations: 9.5 kB / 0.7386 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009722/1.77, allocations: 456.4 kB / 0.7391 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.784e-05/1.77, allocations: 166 kB / 0.7392 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.77, allocations: 3.906 kB / 0.7392 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/1.77, allocations: 7.906 kB / 0.7392 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006664/1.771, allocations: 226.3 kB / 0.7394 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/1.771, allocations: 115.4 kB / 0.7395 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.771, allocations: 4.438 kB / 0.7396 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/1.771, allocations: 3.75 kB / 0.7396 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.771, allocations: 0 / 0.7396 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/1.772, allocations: 385.7 kB / 0.7399 GB, free: 153.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.773, allocations: 189.3 kB / 0.7401 GB, free: 153.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/1.774, allocations: 56.91 kB / 0.7402 GB, free: 153.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/1.774, allocations: 10.3 kB / 0.7402 GB, free: 153.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/1.774, allocations: 33.56 kB / 0.7402 GB, free: 153.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/1.774, allocations: 0 / 0.7402 GB, free: 153.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001631/1.775, allocations: 294.8 kB / 0.7405 GB, free: 153.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/1.775, allocations: 55.31 kB / 0.7405 GB, free: 153.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/1.775, allocations: 91.81 kB / 0.7406 GB, free: 153.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.775, allocations: 29.7 kB / 0.7407 GB, free: 153.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/1.776, allocations: 160.3 kB / 0.7408 GB, free: 153.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/1.776, allocations: 57.64 kB / 0.7409 GB, free: 153.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/1.776, allocations: 3 kB / 0.7409 GB, free: 153.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/1.776, allocations: 320.4 kB / 0.7412 GB, free: 153.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.776, allocations: 53.67 kB / 0.7412 GB, free: 153.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.776, allocations: 94.17 kB / 0.7413 GB, free: 153 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.776, allocations: 66.14 kB / 0.7414 GB, free: 153 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.776, allocations: 0 / 0.7414 GB, free: 153 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004678/1.777, allocations: 199.8 kB / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.777, allocations: 7.812 kB / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.777, allocations: 0 / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.777, allocations: 8.062 kB / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/1.777, allocations: 51.52 kB / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/1.777, allocations: 0 / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/1.778, allocations: 15.86 kB / 0.7416 GB, free: 153 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/1.778, allocations: 14.05 kB / 0.7417 GB, free: 153 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 9.253e-05/1.778, allocations: 113.8 kB / 0.7418 GB, free: 152.9 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004294/1.778, allocations: 175.1 kB / 0.7419 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/1.778, allocations: 7.656 kB / 0.7419 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/1.779, allocations: 222.1 kB / 0.7421 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.779, allocations: 3.906 kB / 0.7422 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.779, allocations: 4 kB / 0.7422 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.779, allocations: 3.281 kB / 0.7422 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.78, allocations: 495.8 kB / 0.7426 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.78, allocations: 0 / 0.7426 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/1.781, allocations: 46.08 kB / 0.7427 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.781, allocations: 4.062 kB / 0.7427 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/1.781, allocations: 12.33 kB / 0.7427 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.781, allocations: 3.25 kB / 0.7427 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.781, allocations: 0 / 0.7427 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/1.781, allocations: 312.6 kB / 0.743 GB, free: 152.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/1.782, allocations: 84.89 kB / 0.7431 GB, free: 152.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/1.782, allocations: 3.953 kB / 0.7431 GB, free: 152.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/1.782, allocations: 10.89 kB / 0.7431 GB, free: 152.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/1.782, allocations: 18.3 kB / 0.7431 GB, free: 152.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/1.782, allocations: 7.719 kB / 0.7431 GB, free: 152.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.83e-05/1.782, allocations: 85.06 kB / 0.7432 GB, free: 152.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.782, allocations: 3.938 kB / 0.7432 GB, free: 152.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000557/1.783, allocations: 70.22 kB / 0.7433 GB, free: 152.1 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.001388/1.784, allocations: 1.461 MB / 0.7447 GB, free: 151.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003929/1.785, allocations: 149.3 kB / 0.7448 GB, free: 151.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.785, allocations: 0 / 0.7448 GB, free: 151.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/1.785, allocations: 84.5 kB / 0.7449 GB, free: 151.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/1.785, allocations: 30.81 kB / 0.7449 GB, free: 151.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/1.786, allocations: 228.8 kB / 0.7452 GB, free: 151 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/1.786, allocations: 0.6912 MB / 0.7458 GB, free: 150.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.787, allocations: 50.52 kB / 0.7459 GB, free: 150.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/1.787, allocations: 0 / 0.7459 GB, free: 150.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/4.353, allocations: 5.104 MB / 0.7509 GB, free: 149.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat