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.581/2.581, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.749e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4345, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.595/8.03, allocations: 2.583 GB / 2.935 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/8.03, allocations: 79.95 kB / 2.935 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688/9.718, allocations: 215 MB / 3.145 GB, free: 79.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/9.718, allocations: 0.7031 kB / 3.145 GB, free: 79.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/9.718, allocations: 4.844 kB / 3.145 GB, free: 79.84 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.009221/9.728, allocations: 1.738 MB / 3.147 GB, free: 79.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/9.728, allocations: 13.53 kB / 3.147 GB, free: 79.08 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/9.728, allocations: 70.86 kB / 3.147 GB, free: 79.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/9.73, allocations: 187 kB / 3.147 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/9.73, allocations: 269.9 kB / 3.147 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/9.731, allocations: 23.59 kB / 3.147 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/9.731, allocations: 33.52 kB / 3.147 GB, free: 78.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/9.734, allocations: 0.8027 MB / 3.148 GB, free: 78.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/9.734, allocations: 2.062 kB / 3.148 GB, free: 78.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/9.734, allocations: 21.11 kB / 3.148 GB, free: 78.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/9.734, allocations: 7.156 kB / 3.148 GB, free: 78.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/9.737, allocations: 0.8477 MB / 3.149 GB, free: 78.68 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.00547/9.743, allocations: 2.911 MB / 3.152 GB, free: 76.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/9.745, allocations: 386.9 kB / 3.152 GB, free: 76.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/9.745, allocations: 68.06 kB / 3.152 GB, free: 76.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6392/10.38, allocations: 140.6 MB / 3.289 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002601/10.39, allocations: 484.5 kB / 3.29 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 5.66e-06/10.39, allocations: 0 / 3.29 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.007583/10.39, allocations: 1.12 MB / 3.291 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/10.39, allocations: 380.3 kB / 3.291 GB, free: 19.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/10.4, allocations: 162.4 kB / 3.292 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/10.4, allocations: 36.02 kB / 3.292 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/10.4, allocations: 180.4 kB / 3.292 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/10.4, allocations: 117.2 kB / 3.292 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/10.4, allocations: 13.73 kB / 3.292 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001513/10.4, allocations: 333.4 kB / 3.292 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/10.4, allocations: 71.72 kB / 3.292 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/10.4, allocations: 340 kB / 3.293 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/10.4, allocations: 118.2 kB / 3.293 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/10.4, allocations: 7.953 kB / 3.293 GB, free: 18.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00117/10.4, allocations: 434.1 kB / 3.293 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/10.4, allocations: 8 kB / 3.293 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/10.4, allocations: 8 kB / 3.293 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/10.4, allocations: 19.33 kB / 3.293 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/10.4, allocations: 209.4 kB / 3.293 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/10.4, allocations: 1.179 MB / 3.294 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/10.4, allocations: 26.48 kB / 3.295 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/10.4, allocations: 43.36 kB / 3.295 GB, free: 16.67 MB / 0.4948 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): 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.0002322/10.4, allocations: 150.5 kB / 3.295 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/10.4, allocations: 23.81 kB / 3.295 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/10.41, allocations: 1.874 MB / 3.297 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/10.41, allocations: 21.44 kB / 3.297 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/10.41, allocations: 7.938 kB / 3.297 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/10.41, allocations: 8 kB / 3.297 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/10.41, allocations: 0.8922 MB / 3.297 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/10.41, allocations: 0 / 3.297 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/10.41, allocations: 108.9 kB / 3.298 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/10.41, allocations: 223.6 kB / 3.298 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/10.41, allocations: 20.05 kB / 3.298 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005328/10.41, allocations: 0.6487 MB / 3.298 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/10.41, allocations: 5.688 kB / 3.298 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/10.41, allocations: 1.164 MB / 3.3 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/10.41, allocations: 270.7 kB / 3.3 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/10.41, allocations: 7.688 kB / 3.3 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/10.41, allocations: 21.42 kB / 3.3 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/10.41, allocations: 43.67 kB / 3.3 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/10.41, allocations: 30.47 kB / 3.3 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005502/10.41, allocations: 335.5 kB / 3.3 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.92e-07/10.41, allocations: 0 / 3.3 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008212/10.42, allocations: 1.625 MB / 3.302 GB, free: 11.24 MB / 0.4948 GB 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.01817/10.44, allocations: 4.243 MB / 3.306 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002268/10.44, allocations: 0.4995 MB / 3.306 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/10.44, allocations: 4 kB / 3.306 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/10.44, allocations: 365.2 kB / 3.307 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/10.44, allocations: 113.4 kB / 3.307 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.454/12.9, allocations: 495.9 MB / 3.791 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/12.9, allocations: 0.9408 MB / 3.792 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003849/12.9, allocations: 1.189 MB / 3.793 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007176/12.9, allocations: 261.6 kB / 3.794 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of SimCode: time 2.134e-06/12.9, allocations: 4 kB / 3.794 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/13.02, allocations: 48.34 MB / 3.841 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/13.02, allocations: 205.8 kB / 3.841 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.54/17.56, allocations: 0 / 3.841 GB, free: 36.65 MB / 0.4948 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