Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.879e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.198/8.331, allocations: 2.757 GB / 3.158 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/8.331, allocations: 82.58 kB / 3.158 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.26/9.591, allocations: 217.7 MB / 3.371 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/9.591, allocations: 0 / 3.371 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.69e-05/9.591, allocations: 4 kB / 3.371 GB, free: 93.6 MB / 0.5261 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.009149/9.6, allocations: 1.759 MB / 3.372 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/9.601, allocations: 15.88 kB / 3.372 GB, free: 92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/9.601, allocations: 59.31 kB / 3.372 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/9.603, allocations: 229.9 kB / 3.373 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/9.604, allocations: 277.5 kB / 3.373 GB, free: 91.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/9.604, allocations: 20.78 kB / 3.373 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/9.604, allocations: 32 kB / 3.373 GB, free: 91.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/9.607, allocations: 0.8529 MB / 3.374 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/9.607, allocations: 0 / 3.374 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/9.607, allocations: 16 kB / 3.374 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/9.607, allocations: 11.94 kB / 3.374 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/9.61, allocations: 0.9476 MB / 3.375 GB, free: 90.04 MB / 0.5261 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.004798/9.615, allocations: 2.776 MB / 3.377 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/9.617, allocations: 413 kB / 3.378 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/9.617, allocations: 69.05 kB / 3.378 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373/10.99, allocations: 224.8 MB / 3.597 GB, free: 29.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/10.99, allocations: 0.4949 MB / 3.598 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.707e-06/10.99, allocations: 0 / 3.598 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.003771/11, allocations: 0.7817 MB / 3.599 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/11, allocations: 377.9 kB / 3.599 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/11, allocations: 175.4 kB / 3.599 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/11, allocations: 33.2 kB / 3.599 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/11, allocations: 183 kB / 3.599 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/11, allocations: 109.6 kB / 3.599 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/11, allocations: 5.812 kB / 3.599 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/11, allocations: 335.3 kB / 3.6 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/11, allocations: 78.09 kB / 3.6 GB, free: 28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/11, allocations: 327 kB / 3.6 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/11, allocations: 127.5 kB / 3.6 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/11, allocations: 3.391 kB / 3.6 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001114/11, allocations: 416.6 kB / 3.601 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/11, allocations: 14.81 kB / 3.601 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/11, allocations: 8 kB / 3.601 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/11, allocations: 12 kB / 3.601 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/11, allocations: 138.3 kB / 3.601 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/11, allocations: 23.31 kB / 3.601 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/11, allocations: 57.06 kB / 3.601 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/11, allocations: 38.47 kB / 3.601 GB, free: 27.06 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.000164/11, allocations: 153.8 kB / 3.601 GB, free: 26.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/11, allocations: 23.61 kB / 3.601 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/11, allocations: 1.764 MB / 3.603 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/11, allocations: 22.55 kB / 3.603 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/11, allocations: 4.75 kB / 3.603 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/11, allocations: 4 kB / 3.603 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/11, allocations: 0.8958 MB / 3.604 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/11, allocations: 4 kB / 3.604 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/11, allocations: 83 kB / 3.604 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/11, allocations: 4 kB / 3.604 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/11, allocations: 22.78 kB / 3.604 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/11, allocations: 7.938 kB / 3.604 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/11, allocations: 4 kB / 3.604 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/11.01, allocations: 0.8198 MB / 3.605 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/11.01, allocations: 334.9 kB / 3.605 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/11.01, allocations: 11.81 kB / 3.605 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/11.01, allocations: 27.62 kB / 3.605 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/11.01, allocations: 48.45 kB / 3.605 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/11.01, allocations: 21.31 kB / 3.605 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006763/11.01, allocations: 424.6 kB / 3.606 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/11.01, allocations: 0 / 3.606 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007239/11.02, allocations: 1.516 MB / 3.607 GB, free: 22.86 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.01546/11.03, allocations: 3.977 MB / 3.611 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009689/11.03, allocations: 375.6 kB / 3.611 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/11.03, allocations: 0 / 3.611 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/11.03, allocations: 280.4 kB / 3.612 GB, free: 19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/11.03, allocations: 123.3 kB / 3.612 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.424/14.46, allocations: 0.757 GB / 4.369 GB, free: 86.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/14.46, allocations: 0.9691 MB / 4.37 GB, free: 86.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002212/14.46, allocations: 1.074 MB / 4.371 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/14.46, allocations: 281.4 kB / 4.371 GB, free: 85.19 MB / 0.5417 GB Notification: Performance of SimCode: time 2.124e-06/14.46, allocations: 4 kB / 4.371 GB, free: 85.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/14.57, allocations: 46.52 MB / 4.416 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/14.57, allocations: 171.7 kB / 4.416 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.519/19.09, allocations: 0 / 4.416 GB, free: 49.53 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat