Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.44/2.44, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.626e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3715, allocations: 44.48 MB / 294.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7766/1.148, allocations: 267.7 MB / 0.5488 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.149, allocations: 63.47 kB / 0.5489 GB, free: 6.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0437/1.192, allocations: 9.246 MB / 0.5579 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.318e-06/1.192, allocations: 4 kB / 0.5579 GB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/1.192, allocations: 3.938 kB / 0.5579 GB, free: 14.78 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.001378/1.194, allocations: 458.3 kB / 0.5584 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.194, allocations: 8.031 kB / 0.5584 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/1.194, allocations: 27.8 kB / 0.5584 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/1.194, allocations: 206.4 kB / 0.5586 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.194, allocations: 4 kB / 0.5586 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/1.195, allocations: 11.91 kB / 0.5586 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004121/1.195, allocations: 118.6 kB / 0.5587 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/1.195, allocations: 178.8 kB / 0.5589 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.195, allocations: 0 / 0.5589 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.196, allocations: 0 / 0.5589 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.196, allocations: 4 kB / 0.5589 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/1.198, allocations: 0.9103 MB / 0.5598 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/1.198, allocations: 129.4 kB / 0.5599 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/1.198, allocations: 40.36 kB / 0.56 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/1.199, allocations: 0.5067 MB / 0.5605 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/1.199, allocations: 38.12 kB / 0.5605 GB, free: 12.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/1.199, allocations: 0 / 0.5605 GB, free: 12.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.003349/1.203, allocations: 0.592 MB / 0.5611 GB, free: 11.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.203, allocations: 59.34 kB / 0.5611 GB, free: 11.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/1.203, allocations: 136.2 kB / 0.5613 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/1.203, allocations: 25.7 kB / 0.5613 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.203, allocations: 147.4 kB / 0.5614 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/1.203, allocations: 66.69 kB / 0.5615 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.203, allocations: 0 / 0.5615 GB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/1.203, allocations: 330.2 kB / 0.5618 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.204, allocations: 55.38 kB / 0.5618 GB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/1.204, allocations: 168.7 kB / 0.562 GB, free: 10.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/1.204, allocations: 81.16 kB / 0.5621 GB, free: 10.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.204, allocations: 4 kB / 0.5621 GB, free: 10.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008193/1.205, allocations: 241.7 kB / 0.5623 GB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.205, allocations: 4 kB / 0.5623 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.205, allocations: 4 kB / 0.5623 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.205, allocations: 8 kB / 0.5623 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.206, allocations: 83.44 kB / 0.5624 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.206, allocations: 11.89 kB / 0.5624 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/1.206, allocations: 19.92 kB / 0.5624 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/1.207, allocations: 16 kB / 0.5625 GB, free: 10.21 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.0001398/1.207, allocations: 116.6 kB / 0.5626 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005814/1.207, allocations: 163.4 kB / 0.5627 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/1.207, allocations: 15.81 kB / 0.5627 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/1.208, allocations: 188.5 kB / 0.5629 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.208, allocations: 4 kB / 0.5629 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.208, allocations: 0 / 0.5629 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.208, allocations: 0 / 0.5629 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/1.21, allocations: 0.5229 MB / 0.5634 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.21, allocations: 3.938 kB / 0.5634 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/1.211, allocations: 48.09 kB / 0.5635 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.211, allocations: 7.953 kB / 0.5635 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/1.211, allocations: 11.97 kB / 0.5635 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.211, allocations: 0 / 0.5635 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.211, allocations: 7.938 kB / 0.5635 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/1.212, allocations: 384.3 kB / 0.5639 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/1.212, allocations: 89.05 kB / 0.564 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/1.212, allocations: 0 / 0.564 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/1.212, allocations: 19.89 kB / 0.564 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/1.213, allocations: 23 kB / 0.564 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/1.213, allocations: 11.98 kB / 0.564 GB, free: 8.668 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001204/1.213, allocations: 105.6 kB / 0.5641 GB, free: 8.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.213, allocations: 0 / 0.5641 GB, free: 8.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006847/1.213, allocations: 59.94 kB / 0.5642 GB, free: 8.516 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.00158/1.215, allocations: 1.226 MB / 0.5654 GB, free: 7.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000547/1.216, allocations: 163.4 kB / 0.5655 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.216, allocations: 4 kB / 0.5655 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/1.216, allocations: 75.03 kB / 0.5656 GB, free: 7.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/1.216, allocations: 24.05 kB / 0.5656 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/1.218, allocations: 337.6 kB / 0.5659 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/1.218, allocations: 0.7165 MB / 0.5666 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005769/1.219, allocations: 53.98 kB / 0.5667 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/1.219, allocations: 50.59 kB / 0.5667 GB, free: 5.938 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/1.219, allocations: 0 / 0.5667 GB, free: 5.938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0522/1.272, allocations: 3.925 MB / 0.5706 GB, free: 2.035 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003613/1.272, allocations: 135.8 kB / 0.5707 GB, free: 1.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.923/4.195, allocations: 0 / 0.5707 GB, free: 1.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat