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.568/2.568, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.785e-05, allocations: 0 / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4253, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.579/8.005, allocations: 2.585 GB / 2.937 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/8.005, allocations: 79.61 kB / 2.937 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603/9.608, allocations: 215.5 MB / 3.147 GB, free: 80.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/9.608, allocations: 0 / 3.147 GB, free: 80.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/9.608, allocations: 4.062 kB / 3.147 GB, free: 80.11 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.02342/9.631, allocations: 1.755 MB / 3.149 GB, free: 79.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/9.631, allocations: 8.312 kB / 3.149 GB, free: 79.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/9.631, allocations: 71.91 kB / 3.149 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/9.635, allocations: 224.3 kB / 3.149 GB, free: 79.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/9.636, allocations: 285.1 kB / 3.149 GB, free: 79.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/9.636, allocations: 24.94 kB / 3.149 GB, free: 79.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/9.636, allocations: 30.33 kB / 3.149 GB, free: 79.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/9.639, allocations: 0.8535 MB / 3.15 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/9.639, allocations: 0 / 3.15 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/9.639, allocations: 14.16 kB / 3.15 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/9.639, allocations: 10.5 kB / 3.15 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/9.643, allocations: 0.9417 MB / 3.151 GB, free: 78.95 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.005611/9.649, allocations: 2.783 MB / 3.154 GB, free: 77.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/9.651, allocations: 408.9 kB / 3.154 GB, free: 77.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/9.651, allocations: 73.52 kB / 3.154 GB, free: 77.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423/11.07, allocations: 225.1 MB / 3.374 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/11.08, allocations: 0.501 MB / 3.375 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 4.158e-06/11.08, allocations: 0 / 3.375 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.004036/11.08, allocations: 0.784 MB / 3.375 GB, free: 68.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/11.08, allocations: 379 kB / 3.376 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/11.08, allocations: 169.8 kB / 3.376 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/11.08, allocations: 32.83 kB / 3.376 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/11.08, allocations: 182.6 kB / 3.376 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/11.08, allocations: 114.2 kB / 3.376 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/11.08, allocations: 11.53 kB / 3.376 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/11.08, allocations: 325.5 kB / 3.377 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/11.08, allocations: 74.19 kB / 3.377 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/11.08, allocations: 326.9 kB / 3.377 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/11.08, allocations: 125.2 kB / 3.377 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/11.08, allocations: 3.344 kB / 3.377 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001151/11.08, allocations: 422.2 kB / 3.377 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/11.08, allocations: 11.28 kB / 3.378 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/11.08, allocations: 11.33 kB / 3.378 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/11.08, allocations: 18.83 kB / 3.378 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/11.08, allocations: 135.4 kB / 3.378 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/11.08, allocations: 23.47 kB / 3.378 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/11.08, allocations: 45.47 kB / 3.378 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/11.08, allocations: 46.86 kB / 3.378 GB, free: 66.67 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.0001811/11.09, allocations: 143.6 kB / 3.378 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/11.09, allocations: 27.34 kB / 3.378 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/11.09, allocations: 1.764 MB / 3.38 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/11.09, allocations: 19.44 kB / 3.38 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/11.09, allocations: 3.594 kB / 3.38 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/11.09, allocations: 6.875 kB / 3.38 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/11.09, allocations: 0.8982 MB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/11.09, allocations: 3.969 kB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/11.09, allocations: 79.44 kB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/11.09, allocations: 7.938 kB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/11.09, allocations: 18.52 kB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/11.09, allocations: 7.531 kB / 3.381 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/11.09, allocations: 11.95 kB / 3.381 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/11.09, allocations: 0.8138 MB / 3.381 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/11.09, allocations: 332.6 kB / 3.382 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/11.09, allocations: 15.16 kB / 3.382 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/11.09, allocations: 22.7 kB / 3.382 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/11.09, allocations: 43.44 kB / 3.382 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/11.09, allocations: 24.48 kB / 3.382 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007017/11.09, allocations: 426.9 kB / 3.382 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/11.09, allocations: 4 kB / 3.382 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007526/11.1, allocations: 1.513 MB / 3.384 GB, free: 65.21 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.01573/11.12, allocations: 3.98 MB / 3.388 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009533/11.12, allocations: 370.4 kB / 3.388 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/11.12, allocations: 2.438 kB / 3.388 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004259/11.12, allocations: 279.1 kB / 3.388 GB, free: 63.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/11.12, allocations: 120.4 kB / 3.388 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.326/14.45, allocations: 0.7561 GB / 4.144 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/14.45, allocations: 0.9654 MB / 4.145 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002248/14.45, allocations: 1.068 MB / 4.146 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/14.45, allocations: 290.2 kB / 4.147 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.422e-06/14.45, allocations: 3.938 kB / 4.147 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/14.57, allocations: 46.45 MB / 4.192 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/14.57, allocations: 191.8 kB / 4.192 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.395/18.96, allocations: 4 kB / 4.192 GB, free: 41.74 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