Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.267e-05/4.287e-05, allocations: 3.984 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4646, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.18/8.645, allocations: 2.752 GB / 3.125 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/8.645, allocations: 78.38 kB / 3.125 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.268/9.914, allocations: 215.6 MB / 3.336 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.794e-06/9.914, allocations: 0 / 3.336 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.577e-05/9.914, allocations: 7.125 kB / 3.336 GB, free: 97.71 MB / 0.5105 GB 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.009209/9.923, allocations: 1.761 MB / 3.337 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/9.923, allocations: 6.656 kB / 3.337 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/9.923, allocations: 68.56 kB / 3.338 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/9.926, allocations: 222.8 kB / 3.338 GB, free: 96.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/9.926, allocations: 271.5 kB / 3.338 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/9.926, allocations: 27.56 kB / 3.338 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/9.926, allocations: 29.03 kB / 3.338 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/9.929, allocations: 0.8532 MB / 3.339 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/9.929, allocations: 10.95 kB / 3.339 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/9.93, allocations: 14.03 kB / 3.339 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/9.93, allocations: 7.625 kB / 3.339 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/9.933, allocations: 0.9461 MB / 3.34 GB, free: 96.43 MB / 0.5105 GB 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.005193/9.938, allocations: 2.766 MB / 3.343 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/9.94, allocations: 419.5 kB / 3.343 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/9.94, allocations: 72.27 kB / 3.343 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473/11.41, allocations: 224.8 MB / 3.563 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/11.42, allocations: 0.4933 MB / 3.563 GB, free: 86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.847e-06/11.42, allocations: 0 / 3.563 GB, free: 86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.004152/11.42, allocations: 0.7811 MB / 3.564 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/11.42, allocations: 377 kB / 3.564 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/11.42, allocations: 170.1 kB / 3.564 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/11.42, allocations: 34.23 kB / 3.564 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/11.42, allocations: 182.6 kB / 3.565 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/11.42, allocations: 117.1 kB / 3.565 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/11.42, allocations: 14.28 kB / 3.565 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/11.42, allocations: 331.5 kB / 3.565 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/11.42, allocations: 69.53 kB / 3.565 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/11.42, allocations: 325.6 kB / 3.565 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/11.42, allocations: 127 kB / 3.565 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/11.42, allocations: 3.906 kB / 3.565 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001194/11.42, allocations: 418.7 kB / 3.566 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/11.42, allocations: 8.625 kB / 3.566 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/11.42, allocations: 11.38 kB / 3.566 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.668e-05/11.42, allocations: 19.56 kB / 3.566 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/11.42, allocations: 135.9 kB / 3.566 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/11.42, allocations: 18.69 kB / 3.566 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/11.42, allocations: 52.55 kB / 3.566 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/11.42, allocations: 43.25 kB / 3.566 GB, free: 84.48 MB / 0.5261 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.0001906/11.43, allocations: 144.7 kB / 3.566 GB, free: 84.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/11.43, allocations: 23.12 kB / 3.566 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/11.43, allocations: 1.764 MB / 3.568 GB, free: 84.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/11.43, allocations: 21.08 kB / 3.568 GB, free: 84.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/11.43, allocations: 3.938 kB / 3.568 GB, free: 84.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/11.43, allocations: 7.984 kB / 3.568 GB, free: 84.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/11.43, allocations: 0.8982 MB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/11.43, allocations: 6.484 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/11.43, allocations: 84.25 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/11.43, allocations: 9.281 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/11.43, allocations: 19.45 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/11.43, allocations: 7.438 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/11.43, allocations: 1.031 kB / 3.569 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/11.43, allocations: 0.8239 MB / 3.57 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/11.43, allocations: 328.2 kB / 3.57 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/11.43, allocations: 14.34 kB / 3.57 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/11.43, allocations: 23.64 kB / 3.57 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/11.43, allocations: 45.77 kB / 3.57 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/11.43, allocations: 22.89 kB / 3.57 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007068/11.43, allocations: 426.9 kB / 3.571 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.513e-06/11.43, allocations: 0 / 3.571 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00793/11.44, allocations: 1.518 MB / 3.572 GB, free: 83.01 MB / 0.5261 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.01594/11.46, allocations: 3.981 MB / 3.576 GB, free: 80.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009627/11.46, allocations: 376.1 kB / 3.576 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/11.46, allocations: 4.062 kB / 3.576 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/11.46, allocations: 276.4 kB / 3.577 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/11.46, allocations: 116.6 kB / 3.577 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.629/15.09, allocations: 0.7561 GB / 4.333 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/15.09, allocations: 0.9681 MB / 4.334 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002276/15.09, allocations: 1.066 MB / 4.335 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/15.09, allocations: 287.8 kB / 4.335 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/15.09, allocations: 10.73 kB / 4.335 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/15.21, allocations: 46.46 MB / 4.38 GB, free: 94.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/15.21, allocations: 171.2 kB / 4.381 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.447/19.66, allocations: 0 / 4.381 GB, free: 94.12 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat