Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.771e-05, allocations: 4 kB / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 54.85 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.563/7.972, allocations: 2.585 GB / 2.936 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/7.973, allocations: 76.64 kB / 2.937 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545/9.517, allocations: 215.5 MB / 3.147 GB, free: 80.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/9.517, allocations: 0 / 3.147 GB, free: 80.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/9.517, allocations: 3.531 kB / 3.147 GB, free: 80.04 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.009604/9.527, allocations: 1.757 MB / 3.149 GB, free: 79.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/9.527, allocations: 9.75 kB / 3.149 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/9.527, allocations: 70.94 kB / 3.149 GB, free: 79.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/9.53, allocations: 224.6 kB / 3.149 GB, free: 79.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/9.531, allocations: 269.8 kB / 3.149 GB, free: 79.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/9.531, allocations: 26.95 kB / 3.149 GB, free: 79.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/9.531, allocations: 33.61 kB / 3.149 GB, free: 79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/9.534, allocations: 0.8586 MB / 3.15 GB, free: 78.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/9.534, allocations: 1.094 kB / 3.15 GB, free: 78.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/9.534, allocations: 15.59 kB / 3.15 GB, free: 78.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/9.534, allocations: 10.5 kB / 3.15 GB, free: 78.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/9.538, allocations: 0.9538 MB / 3.151 GB, free: 78.87 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.005587/9.544, allocations: 2.776 MB / 3.154 GB, free: 77.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/9.546, allocations: 418.7 kB / 3.154 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/9.546, allocations: 73.77 kB / 3.154 GB, free: 76.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397/10.94, allocations: 225.1 MB / 3.374 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/10.95, allocations: 0.4995 MB / 3.375 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.567e-06/10.95, allocations: 0 / 3.375 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003779/10.95, allocations: 0.7868 MB / 3.375 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/10.95, allocations: 377.3 kB / 3.376 GB, free: 67.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/10.95, allocations: 174 kB / 3.376 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/10.95, allocations: 29.52 kB / 3.376 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/10.95, allocations: 182.7 kB / 3.376 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/10.95, allocations: 115.6 kB / 3.376 GB, free: 67.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/10.95, allocations: 11.56 kB / 3.376 GB, free: 67.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/10.95, allocations: 330.1 kB / 3.377 GB, free: 67.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/10.95, allocations: 72.91 kB / 3.377 GB, free: 67.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/10.95, allocations: 328.6 kB / 3.377 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/10.95, allocations: 124.2 kB / 3.377 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/10.95, allocations: 3.844 kB / 3.377 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001096/10.95, allocations: 445.9 kB / 3.377 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/10.95, allocations: 7.031 kB / 3.378 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/10.95, allocations: 11.12 kB / 3.378 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/10.95, allocations: 16.2 kB / 3.378 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/10.95, allocations: 138 kB / 3.378 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/10.95, allocations: 24.95 kB / 3.378 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/10.95, allocations: 53 kB / 3.378 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/10.95, allocations: 40.73 kB / 3.378 GB, free: 66.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001654/10.95, allocations: 142.3 kB / 3.378 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/10.95, allocations: 32.23 kB / 3.378 GB, free: 66.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/10.96, allocations: 1.765 MB / 3.38 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/10.96, allocations: 19.83 kB / 3.38 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/10.96, allocations: 8.453 kB / 3.38 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/10.96, allocations: 7.641 kB / 3.38 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/10.96, allocations: 0.8924 MB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/10.96, allocations: 288 / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/10.96, allocations: 91.27 kB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/10.96, allocations: 3.938 kB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/10.96, allocations: 21.39 kB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/10.96, allocations: 3.594 kB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/10.96, allocations: 8.344 kB / 3.381 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/10.96, allocations: 0.8245 MB / 3.381 GB, free: 65.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/10.96, allocations: 328.9 kB / 3.382 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/10.96, allocations: 13.72 kB / 3.382 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/10.96, allocations: 24.52 kB / 3.382 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/10.96, allocations: 47.5 kB / 3.382 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/10.96, allocations: 24.39 kB / 3.382 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006569/10.96, allocations: 424.1 kB / 3.382 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/10.96, allocations: 0 / 3.382 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00729/10.97, allocations: 1.509 MB / 3.384 GB, free: 65.14 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: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0162/10.98, allocations: 3.983 MB / 3.388 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009886/10.99, allocations: 387.3 kB / 3.388 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/10.99, allocations: 3.844 kB / 3.388 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/10.99, allocations: 280.5 kB / 3.388 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/10.99, allocations: 124.1 kB / 3.388 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.38/14.37, allocations: 0.756 GB / 4.144 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/14.37, allocations: 0.9722 MB / 4.145 GB, free: 74.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002264/14.37, allocations: 1.065 MB / 4.146 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/14.37, allocations: 289.3 kB / 4.147 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/14.37, allocations: 4 kB / 4.147 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/14.48, allocations: 46.39 MB / 4.192 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/14.48, allocations: 173.2 kB / 4.192 GB, free: 41.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.464/18.94, allocations: 0 / 4.192 GB, free: 41.75 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat