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.464/2.464, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.517e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 54.85 MB / 354.3 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.705/8.109, allocations: 2.583 GB / 2.929 GB, free: 3.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/8.109, allocations: 80.88 kB / 2.929 GB, free: 3.203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662/9.772, allocations: 211.7 MB / 3.136 GB, free: 85.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/9.772, allocations: 1.344 kB / 3.136 GB, free: 85.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/9.772, allocations: 3.594 kB / 3.136 GB, free: 85.85 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.009402/9.781, allocations: 1.737 MB / 3.137 GB, free: 85.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/9.781, allocations: 10 kB / 3.137 GB, free: 85.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/9.783, allocations: 187.2 kB / 3.138 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/9.784, allocations: 271.4 kB / 3.138 GB, free: 84.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/9.784, allocations: 14.2 kB / 3.138 GB, free: 84.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/9.784, allocations: 17.03 kB / 3.138 GB, free: 84.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001117/9.785, allocations: 482.6 kB / 3.138 GB, free: 84.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/9.786, allocations: 373.8 kB / 3.139 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/9.786, allocations: 7.594 kB / 3.139 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/9.786, allocations: 3.312 kB / 3.139 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/9.786, allocations: 8.312 kB / 3.139 GB, free: 84.77 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.5772/10.36, allocations: 127.8 MB / 3.263 GB, free: 23.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/10.36, allocations: 76.97 kB / 3.264 GB, free: 23.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/10.36, allocations: 27.2 kB / 3.264 GB, free: 23.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1991/10.56, allocations: 46.46 MB / 3.309 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/10.56, allocations: 109.3 kB / 3.309 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/10.56, allocations: 0 / 3.309 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.003984/10.57, allocations: 0.5794 MB / 3.31 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/10.57, allocations: 84.77 kB / 3.31 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/10.57, allocations: 227.3 kB / 3.31 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/10.57, allocations: 25.7 kB / 3.31 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/10.57, allocations: 250.2 kB / 3.31 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/10.57, allocations: 46.97 kB / 3.31 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/10.57, allocations: 3.938 kB / 3.31 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001505/10.57, allocations: 331.4 kB / 3.311 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/10.57, allocations: 67.98 kB / 3.311 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/10.57, allocations: 326.9 kB / 3.311 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/10.57, allocations: 208.7 kB / 3.311 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/10.57, allocations: 4 kB / 3.311 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002534/10.57, allocations: 494.2 kB / 3.312 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/10.57, allocations: 8 kB / 3.312 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/10.57, allocations: 8 kB / 3.312 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.932e-05/10.57, allocations: 19.7 kB / 3.312 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/10.58, allocations: 212.4 kB / 3.312 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000506/10.58, allocations: 0.5991 MB / 3.312 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/10.58, allocations: 18.06 kB / 3.312 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/10.58, allocations: 45.34 kB / 3.312 GB, free: 12.41 MB / 0.5105 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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/10.58, allocations: 136.3 kB / 3.313 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009504/10.58, allocations: 168.5 kB / 3.313 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/10.58, allocations: 23.77 kB / 3.313 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/10.58, allocations: 0.7915 MB / 3.314 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/10.58, allocations: 14.98 kB / 3.314 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/10.58, allocations: 0 / 3.314 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/10.58, allocations: 3.844 kB / 3.314 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/10.58, allocations: 413.3 kB / 3.314 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/10.58, allocations: 7.312 kB / 3.314 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/10.58, allocations: 50.86 kB / 3.314 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/10.58, allocations: 233.3 kB / 3.314 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/10.58, allocations: 3 kB / 3.314 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005738/10.58, allocations: 0.6549 MB / 3.315 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/10.58, allocations: 7.75 kB / 3.315 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/10.58, allocations: 0.5802 MB / 3.315 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/10.58, allocations: 137.9 kB / 3.316 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/10.58, allocations: 6.422 kB / 3.316 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/10.58, allocations: 12 kB / 3.316 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/10.58, allocations: 14.98 kB / 3.316 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/10.58, allocations: 6.938 kB / 3.316 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003417/10.58, allocations: 222.4 kB / 3.316 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/10.58, allocations: 0 / 3.316 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008285/10.59, allocations: 1.594 MB / 3.317 GB, free: 8.582 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.02411/10.62, allocations: 2.912 MB / 3.32 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001405/10.62, allocations: 309.1 kB / 3.321 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/10.62, allocations: 0 / 3.321 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/10.62, allocations: 168.1 kB / 3.321 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/10.62, allocations: 39.42 kB / 3.321 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/10.63, allocations: 1.15 MB / 3.322 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/10.63, allocations: 0.8024 MB / 3.323 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004424/10.64, allocations: 1.124 MB / 3.324 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/10.64, allocations: 140.8 kB / 3.324 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of SimCode: time 1.854e-06/10.64, allocations: 0 / 3.324 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5879/11.22, allocations: 40.7 MB / 3.364 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/11.22, allocations: 166.1 kB / 3.364 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.238/15.46, allocations: 0 / 3.364 GB, free: 111.6 MB / 0.5105 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