Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.478e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 44.5 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6274/0.9241, allocations: 267.7 MB / 0.5487 GB, free: 6.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.9245, allocations: 69.41 kB / 0.5488 GB, free: 6.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03585/0.9603, allocations: 9.247 MB / 0.5578 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.481e-06/0.9604, allocations: 0 / 0.5578 GB, free: 15.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.9604, allocations: 11.94 kB / 0.5579 GB, free: 15.13 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001122/0.9615, allocations: 447 kB / 0.5583 GB, free: 14.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9616, allocations: 8.031 kB / 0.5583 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.9618, allocations: 27.8 kB / 0.5583 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.9621, allocations: 212.4 kB / 0.5585 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.9622, allocations: 4 kB / 0.5585 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.9622, allocations: 11.91 kB / 0.5585 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003351/0.9626, allocations: 114 kB / 0.5586 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.963, allocations: 179.3 kB / 0.5588 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.963, allocations: 0 / 0.5588 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.963, allocations: 0 / 0.5588 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.9631, allocations: 4 kB / 0.5588 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.9648, allocations: 0.9073 MB / 0.5597 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.9651, allocations: 126.2 kB / 0.5598 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.9653, allocations: 47.05 kB / 0.5599 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.966, allocations: 0.5084 MB / 0.5604 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.966, allocations: 34.56 kB / 0.5604 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.9661, allocations: 0 / 0.5604 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002742/0.9688, allocations: 0.5923 MB / 0.561 GB, free: 11.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.9689, allocations: 63.34 kB / 0.561 GB, free: 11.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.969, allocations: 139.9 kB / 0.5612 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.9691, allocations: 25.7 kB / 0.5612 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.9692, allocations: 208.6 kB / 0.5614 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.9693, allocations: 72.75 kB / 0.5615 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.9693, allocations: 0 / 0.5615 GB, free: 11.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9695, allocations: 322.5 kB / 0.5618 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.9697, allocations: 56.12 kB / 0.5618 GB, free: 11.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.9699, allocations: 163.8 kB / 0.562 GB, free: 10.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.9702, allocations: 84.41 kB / 0.5621 GB, free: 10.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9702, allocations: 4 kB / 0.5621 GB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006663/0.9709, allocations: 239.4 kB / 0.5623 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.9709, allocations: 8 kB / 0.5623 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9709, allocations: 4 kB / 0.5623 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.971, allocations: 4.469 kB / 0.5623 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.9717, allocations: 90.88 kB / 0.5624 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.9717, allocations: 11.95 kB / 0.5624 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.9721, allocations: 15.92 kB / 0.5624 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.9721, allocations: 15.25 kB / 0.5624 GB, free: 10.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.000129/0.9723, allocations: 108.7 kB / 0.5625 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004662/0.9728, allocations: 167.3 kB / 0.5627 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.9728, allocations: 15.91 kB / 0.5627 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.9735, allocations: 197.5 kB / 0.5629 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9735, allocations: 0 / 0.5629 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9735, allocations: 0 / 0.5629 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.9735, allocations: 4 kB / 0.5629 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.9751, allocations: 0.5068 MB / 0.5634 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.9751, allocations: 3.984 kB / 0.5634 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.9756, allocations: 55.28 kB / 0.5635 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.9756, allocations: 3.953 kB / 0.5635 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.9757, allocations: 11.98 kB / 0.5635 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9757, allocations: 128 / 0.5635 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.9757, allocations: 8 kB / 0.5635 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.9764, allocations: 387.4 kB / 0.5639 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.9765, allocations: 85.02 kB / 0.5639 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.9766, allocations: 0 / 0.5639 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.977, allocations: 15.92 kB / 0.5639 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.977, allocations: 19.62 kB / 0.564 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.9771, allocations: 7.984 kB / 0.564 GB, free: 8.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.9772, allocations: 110.6 kB / 0.5641 GB, free: 8.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9772, allocations: 0 / 0.5641 GB, free: 8.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005646/0.9778, allocations: 63.5 kB / 0.5641 GB, free: 8.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001223/0.979, allocations: 1.231 MB / 0.5653 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.9795, allocations: 159.9 kB / 0.5655 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9795, allocations: 0 / 0.5655 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.9797, allocations: 87.75 kB / 0.5656 GB, free: 7.414 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.9801, allocations: 27.23 kB / 0.5656 GB, free: 7.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.9814, allocations: 354.6 kB / 0.5659 GB, free: 7.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.9818, allocations: 0.7165 MB / 0.5666 GB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.982, allocations: 56.91 kB / 0.5667 GB, free: 6.246 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.9821, allocations: 4 kB / 0.5667 GB, free: 6.242 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.504/3.486, allocations: 3.326 MB / 0.5699 GB, free: 2.922 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat