Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.967e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.474, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.403/7.877, allocations: 2.583 GB / 2.935 GB, free: 3.359 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/7.877, allocations: 80.89 kB / 2.935 GB, free: 3.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.55/9.427, allocations: 215 MB / 3.145 GB, free: 79.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/9.427, allocations: 1.062 kB / 3.145 GB, free: 79.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/9.428, allocations: 2.688 kB / 3.145 GB, free: 79.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009201/9.437, allocations: 1.741 MB / 3.147 GB, free: 78.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/9.437, allocations: 10.44 kB / 3.147 GB, free: 78.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/9.437, allocations: 67.05 kB / 3.147 GB, free: 78.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/9.439, allocations: 188.5 kB / 3.147 GB, free: 78.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/9.44, allocations: 273.6 kB / 3.147 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/9.44, allocations: 28.34 kB / 3.147 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/9.44, allocations: 33.27 kB / 3.147 GB, free: 78.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/9.443, allocations: 0.8002 MB / 3.148 GB, free: 78.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/9.443, allocations: 2.312 kB / 3.148 GB, free: 78.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/9.443, allocations: 17.78 kB / 3.148 GB, free: 78.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/9.444, allocations: 10.28 kB / 3.148 GB, free: 78.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/9.447, allocations: 0.8602 MB / 3.149 GB, free: 78.19 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/9.453, allocations: 2.915 MB / 3.152 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/9.455, allocations: 386.9 kB / 3.152 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/9.455, allocations: 65.77 kB / 3.152 GB, free: 76.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6011/10.06, allocations: 140.6 MB / 3.289 GB, free: 21.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/10.06, allocations: 487.8 kB / 3.29 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.576e-06/10.06, allocations: 0 / 3.29 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.005512/10.06, allocations: 1.134 MB / 3.291 GB, free: 20.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/10.06, allocations: 380.4 kB / 3.291 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/10.06, allocations: 160.9 kB / 3.292 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/10.06, allocations: 32.2 kB / 3.292 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/10.06, allocations: 188.7 kB / 3.292 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/10.06, allocations: 110.6 kB / 3.292 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/10.06, allocations: 12.56 kB / 3.292 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001573/10.06, allocations: 329.4 kB / 3.292 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/10.06, allocations: 74.58 kB / 3.292 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/10.07, allocations: 342.4 kB / 3.293 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/10.07, allocations: 122.2 kB / 3.293 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/10.07, allocations: 7.953 kB / 3.293 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001275/10.07, allocations: 461.2 kB / 3.293 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/10.07, allocations: 8 kB / 3.293 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/10.07, allocations: 8 kB / 3.293 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/10.07, allocations: 19.75 kB / 3.293 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/10.07, allocations: 205.1 kB / 3.293 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000786/10.07, allocations: 1.181 MB / 3.295 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/10.07, allocations: 23.31 kB / 3.295 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/10.07, allocations: 47.7 kB / 3.295 GB, free: 17.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/10.07, allocations: 145.4 kB / 3.295 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/10.07, allocations: 27.12 kB / 3.295 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/10.07, allocations: 1.883 MB / 3.297 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/10.07, allocations: 22.23 kB / 3.297 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/10.07, allocations: 4 kB / 3.297 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/10.07, allocations: 7.797 kB / 3.297 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/10.08, allocations: 0.889 MB / 3.297 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/10.08, allocations: 0 / 3.297 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/10.08, allocations: 108.8 kB / 3.298 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/10.08, allocations: 231.2 kB / 3.298 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/10.08, allocations: 26.27 kB / 3.298 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004828/10.08, allocations: 0.6379 MB / 3.298 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/10.08, allocations: 6.625 kB / 3.298 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/10.08, allocations: 1.166 MB / 3.3 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/10.08, allocations: 267.1 kB / 3.3 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/10.08, allocations: 11.75 kB / 3.3 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/10.08, allocations: 27.02 kB / 3.3 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/10.08, allocations: 38.38 kB / 3.3 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/10.08, allocations: 29.38 kB / 3.3 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005672/10.08, allocations: 331.2 kB / 3.3 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/10.08, allocations: 0 / 3.3 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007961/10.09, allocations: 1.62 MB / 3.302 GB, free: 11.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01917/10.11, allocations: 4.256 MB / 3.306 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002347/10.11, allocations: 0.5173 MB / 3.307 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/10.11, allocations: 0 / 3.307 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/10.11, allocations: 372.6 kB / 3.307 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/10.11, allocations: 112.3 kB / 3.307 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.346/12.46, allocations: 496 MB / 3.791 GB, free: 76.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/12.46, allocations: 0.9385 MB / 3.792 GB, free: 75.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002527/12.46, allocations: 1.195 MB / 3.793 GB, free: 74.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/12.46, allocations: 258.9 kB / 3.794 GB, free: 74.65 MB / 0.4948 GB Notification: Performance of SimCode: time 3.096e-06/12.46, allocations: 0 / 3.794 GB, free: 74.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/12.59, allocations: 48.29 MB / 3.841 GB, free: 38.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/12.6, allocations: 199.3 kB / 3.841 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.612/17.21, allocations: 0 / 3.841 GB, free: 38.05 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat