Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.931e-05, allocations: 6.375 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.029/8.135, allocations: 2.472 GB / 2.781 GB, free: 94.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/8.135, allocations: 79.48 kB / 2.781 GB, free: 94.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326/9.462, allocations: 208.2 MB / 2.985 GB, free: 59.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/9.462, allocations: 0 / 2.985 GB, free: 59.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/9.462, allocations: 3.531 kB / 2.985 GB, free: 59.44 MB / 426.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.00828/9.47, allocations: 1.706 MB / 2.986 GB, free: 58.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/9.47, allocations: 7.5 kB / 2.986 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/9.472, allocations: 185.3 kB / 2.986 GB, free: 58.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/9.473, allocations: 266.3 kB / 2.987 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/9.473, allocations: 7.812 kB / 2.987 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/9.473, allocations: 22.81 kB / 2.987 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009248/9.474, allocations: 477.5 kB / 2.987 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/9.474, allocations: 376.9 kB / 2.988 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/9.474, allocations: 6.156 kB / 2.988 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/9.475, allocations: 11.5 kB / 2.988 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/9.475, allocations: 14.61 kB / 2.988 GB, free: 58.13 MB / 426.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 1.001/10.48, allocations: 127.5 MB / 3.112 GB, free: 67.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/10.48, allocations: 77.2 kB / 3.112 GB, free: 67.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/10.48, allocations: 32.33 kB / 3.112 GB, free: 67.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2118/10.69, allocations: 46.16 MB / 3.157 GB, free: 47.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/10.69, allocations: 110.7 kB / 3.157 GB, free: 47.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.637e-06/10.69, allocations: 0 / 3.157 GB, free: 47.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.00631/10.69, allocations: 0.593 MB / 3.158 GB, free: 47.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/10.7, allocations: 77.11 kB / 3.158 GB, free: 47.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/10.7, allocations: 227.8 kB / 3.158 GB, free: 46.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/10.7, allocations: 25.7 kB / 3.158 GB, free: 46.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/10.7, allocations: 244.5 kB / 3.158 GB, free: 46.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/10.7, allocations: 52.66 kB / 3.158 GB, free: 46.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/10.7, allocations: 0 / 3.158 GB, free: 46.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/10.7, allocations: 331 kB / 3.159 GB, free: 46.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/10.7, allocations: 68.81 kB / 3.159 GB, free: 46.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/10.7, allocations: 333.5 kB / 3.159 GB, free: 46.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/10.7, allocations: 208.7 kB / 3.159 GB, free: 46.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/10.7, allocations: 0 / 3.159 GB, free: 46.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004081/10.7, allocations: 482.6 kB / 3.16 GB, free: 46.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/10.7, allocations: 7.438 kB / 3.16 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/10.7, allocations: 16.03 kB / 3.16 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/10.7, allocations: 15.88 kB / 3.16 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/10.71, allocations: 216.9 kB / 3.16 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000456/10.71, allocations: 0.6009 MB / 3.161 GB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/10.71, allocations: 10.66 kB / 3.161 GB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/10.71, allocations: 48.95 kB / 3.161 GB, free: 45.45 MB / 442.7 MB 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.0002259/10.71, allocations: 134.6 kB / 3.161 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001527/10.71, allocations: 168.5 kB / 3.161 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/10.71, allocations: 30.03 kB / 3.161 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/10.71, allocations: 0.7793 MB / 3.162 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/10.71, allocations: 9.844 kB / 3.162 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/10.71, allocations: 1.5 kB / 3.162 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/10.71, allocations: 7.438 kB / 3.162 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/10.71, allocations: 419.5 kB / 3.162 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/10.71, allocations: 0 / 3.162 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/10.72, allocations: 53.92 kB / 3.162 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/10.72, allocations: 233.1 kB / 3.163 GB, free: 44.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/10.72, allocations: 3.406 kB / 3.163 GB, free: 44.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006049/10.72, allocations: 0.6594 MB / 3.163 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/10.72, allocations: 0 / 3.163 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/10.72, allocations: 0.5809 MB / 3.164 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/10.72, allocations: 148.6 kB / 3.164 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/10.72, allocations: 5 kB / 3.164 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/10.72, allocations: 6.781 kB / 3.164 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/10.72, allocations: 16.64 kB / 3.164 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/10.72, allocations: 2.688 kB / 3.164 GB, free: 44.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004476/10.72, allocations: 227 kB / 3.164 GB, free: 44.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/10.72, allocations: 0 / 3.164 GB, free: 44.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00974/10.73, allocations: 1.576 MB / 3.166 GB, free: 44.07 MB / 442.7 MB 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.01891/10.75, allocations: 2.905 MB / 3.168 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009054/10.75, allocations: 311.2 kB / 3.169 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/10.75, allocations: 320 / 3.169 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/10.75, allocations: 164 kB / 3.169 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/10.75, allocations: 36.28 kB / 3.169 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/10.76, allocations: 1.141 MB / 3.17 GB, free: 42.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/10.76, allocations: 0.8069 MB / 3.171 GB, free: 41.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002279/10.76, allocations: 1.122 MB / 3.172 GB, free: 41.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/10.76, allocations: 137.9 kB / 3.172 GB, free: 41.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/10.76, allocations: 3.875 kB / 3.172 GB, free: 41.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/10.89, allocations: 40.4 MB / 3.212 GB, free: 32.93 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/10.89, allocations: 172.2 kB / 3.212 GB, free: 32.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/15.33, allocations: 0 / 3.212 GB, free: 32.73 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat