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.064/2.064, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.479e-05/5.496e-05, allocations: 13.53 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.086/8.223, allocations: 2.473 GB / 2.787 GB, free: 94.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/8.224, allocations: 74.58 kB / 2.787 GB, free: 94.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379/9.603, allocations: 211.3 MB / 2.993 GB, free: 51.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/9.603, allocations: 0 / 2.993 GB, free: 51.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/9.603, allocations: 4 kB / 2.993 GB, free: 51.18 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.008571/9.612, allocations: 1.705 MB / 2.995 GB, free: 49.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/9.612, allocations: 12.03 kB / 2.995 GB, free: 49.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/9.612, allocations: 67.94 kB / 2.995 GB, free: 49.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/9.614, allocations: 186 kB / 2.995 GB, free: 49.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/9.614, allocations: 267.5 kB / 2.996 GB, free: 49.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/9.614, allocations: 23.91 kB / 2.996 GB, free: 49.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/9.615, allocations: 34.75 kB / 2.996 GB, free: 49.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/9.617, allocations: 0.8015 MB / 2.996 GB, free: 48.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/9.617, allocations: 3.938 kB / 2.996 GB, free: 48.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/9.617, allocations: 11.5 kB / 2.996 GB, free: 48.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/9.617, allocations: 11.95 kB / 2.997 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/9.62, allocations: 0.8534 MB / 2.997 GB, free: 48.19 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 0.004884/9.625, allocations: 2.903 MB / 3 GB, free: 45.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/9.627, allocations: 382.3 kB / 3.001 GB, free: 44.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/9.627, allocations: 73.47 kB / 3.001 GB, free: 44.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9579/10.58, allocations: 140.3 MB / 3.138 GB, free: 18.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/10.59, allocations: 483.1 kB / 3.138 GB, free: 18.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.456e-06/10.59, allocations: 0 / 3.138 GB, free: 18.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.006046/10.59, allocations: 1.13 MB / 3.139 GB, free: 18.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/10.59, allocations: 374.7 kB / 3.14 GB, free: 17.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/10.59, allocations: 172.1 kB / 3.14 GB, free: 17.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/10.59, allocations: 30.58 kB / 3.14 GB, free: 17.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/10.59, allocations: 183.5 kB / 3.14 GB, free: 17.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/10.59, allocations: 123.2 kB / 3.14 GB, free: 17.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/10.59, allocations: 7.781 kB / 3.14 GB, free: 17.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/10.59, allocations: 333.4 kB / 3.14 GB, free: 17.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/10.59, allocations: 70.36 kB / 3.14 GB, free: 17.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/10.59, allocations: 343.1 kB / 3.141 GB, free: 16.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/10.59, allocations: 130.1 kB / 3.141 GB, free: 16.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/10.59, allocations: 3.875 kB / 3.141 GB, free: 16.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001123/10.6, allocations: 424.3 kB / 3.141 GB, free: 16.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/10.6, allocations: 11.5 kB / 3.141 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/10.6, allocations: 7.875 kB / 3.141 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/10.6, allocations: 19.66 kB / 3.141 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/10.6, allocations: 198.4 kB / 3.141 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005088/10.6, allocations: 1.18 MB / 3.143 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/10.6, allocations: 30.64 kB / 3.143 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/10.6, allocations: 42.77 kB / 3.143 GB, free: 15.58 MB / 426.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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/10.6, allocations: 147.2 kB / 3.143 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/10.6, allocations: 27.02 kB / 3.143 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/10.6, allocations: 1.872 MB / 3.145 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/10.6, allocations: 33.75 kB / 3.145 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/10.6, allocations: 3.906 kB / 3.145 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/10.6, allocations: 6.156 kB / 3.145 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/10.6, allocations: 0.8834 MB / 3.146 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/10.6, allocations: 4.719 kB / 3.146 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/10.61, allocations: 107.4 kB / 3.146 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/10.61, allocations: 222.6 kB / 3.146 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/10.61, allocations: 30.34 kB / 3.146 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/10.61, allocations: 0.6409 MB / 3.147 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/10.61, allocations: 3.969 kB / 3.147 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/10.61, allocations: 1.161 MB / 3.148 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/10.61, allocations: 270.9 kB / 3.148 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/10.61, allocations: 14.39 kB / 3.148 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/10.61, allocations: 22.83 kB / 3.148 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/10.61, allocations: 39.31 kB / 3.148 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/10.61, allocations: 31.47 kB / 3.148 GB, free: 13.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005117/10.61, allocations: 323.3 kB / 3.148 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.61, allocations: 3.938 kB / 3.148 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007816/10.62, allocations: 1.61 MB / 3.15 GB, free: 13.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 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.01622/10.63, allocations: 4.23 MB / 3.154 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/10.64, allocations: 0.5057 MB / 3.155 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/10.64, allocations: 0 / 3.155 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006452/10.64, allocations: 372.7 kB / 3.155 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/10.64, allocations: 114.5 kB / 3.155 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.268/12.91, allocations: 481.4 MB / 3.625 GB, free: 67.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/12.91, allocations: 0.9422 MB / 3.626 GB, free: 66.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002461/12.91, allocations: 1.193 MB / 3.627 GB, free: 66.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/12.91, allocations: 260.1 kB / 3.627 GB, free: 66.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/12.91, allocations: 0 / 3.627 GB, free: 66.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/13.02, allocations: 48 MB / 3.674 GB, free: 32.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/13.03, allocations: 197.9 kB / 3.675 GB, free: 32.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.565/17.59, allocations: 64 / 3.675 GB, free: 32.17 MB / 458.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