Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.925e-05, allocations: 11.92 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.518/8.649, allocations: 2.755 GB / 3.156 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/8.649, allocations: 79.64 kB / 3.156 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/10.02, allocations: 217.2 MB / 3.368 GB, free: 90 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/10.02, allocations: 3.094 kB / 3.368 GB, free: 90 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.729e-05/10.02, allocations: 4 kB / 3.368 GB, free: 90 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.009032/10.03, allocations: 1.74 MB / 3.37 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/10.03, allocations: 12.03 kB / 3.37 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/10.03, allocations: 63.58 kB / 3.37 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/10.04, allocations: 186.9 kB / 3.37 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/10.04, allocations: 281.6 kB / 3.371 GB, free: 88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/10.04, allocations: 23.28 kB / 3.371 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/10.04, allocations: 31.5 kB / 3.371 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/10.04, allocations: 0.7984 MB / 3.371 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/10.04, allocations: 3.938 kB / 3.371 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/10.04, allocations: 14.5 kB / 3.371 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/10.04, allocations: 8 kB / 3.371 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/10.04, allocations: 0.8515 MB / 3.372 GB, free: 87 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.005128/10.05, allocations: 2.909 MB / 3.375 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/10.05, allocations: 381.3 kB / 3.375 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/10.05, allocations: 73.39 kB / 3.376 GB, free: 84.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089/11.14, allocations: 140.6 MB / 3.513 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/11.14, allocations: 482.7 kB / 3.513 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/11.14, allocations: 0 / 3.513 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.00544/11.15, allocations: 1.124 MB / 3.514 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/11.15, allocations: 382 kB / 3.515 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/11.15, allocations: 170.8 kB / 3.515 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/11.15, allocations: 33.08 kB / 3.515 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/11.15, allocations: 190.4 kB / 3.515 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/11.15, allocations: 111 kB / 3.515 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/11.15, allocations: 12.78 kB / 3.515 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/11.15, allocations: 333.5 kB / 3.516 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/11.15, allocations: 73.47 kB / 3.516 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/11.15, allocations: 334.2 kB / 3.516 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/11.15, allocations: 125.8 kB / 3.516 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/11.15, allocations: 3.906 kB / 3.516 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001154/11.15, allocations: 435.5 kB / 3.516 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/11.15, allocations: 11.19 kB / 3.516 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/11.15, allocations: 12.28 kB / 3.516 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/11.15, allocations: 15.22 kB / 3.516 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/11.15, allocations: 203.8 kB / 3.517 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005188/11.15, allocations: 1.18 MB / 3.518 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/11.15, allocations: 26.48 kB / 3.518 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/11.15, allocations: 43.45 kB / 3.518 GB, free: 67.51 MB / 0.5261 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.000186/11.15, allocations: 154.8 kB / 3.518 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/11.15, allocations: 22.59 kB / 3.518 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/11.16, allocations: 1.876 MB / 3.52 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/11.16, allocations: 20.2 kB / 3.52 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/11.16, allocations: 4.125 kB / 3.52 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/11.16, allocations: 14.75 kB / 3.52 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/11.16, allocations: 0.8807 MB / 3.521 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/11.16, allocations: 3.938 kB / 3.521 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/11.16, allocations: 110.2 kB / 3.521 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/11.16, allocations: 218.3 kB / 3.521 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/11.16, allocations: 30.38 kB / 3.521 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003897/11.16, allocations: 0.6363 MB / 3.522 GB, free: 66.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/11.16, allocations: 6.797 kB / 3.522 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/11.16, allocations: 1.162 MB / 3.523 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/11.16, allocations: 276.3 kB / 3.523 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/11.16, allocations: 15.58 kB / 3.523 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/11.16, allocations: 21.7 kB / 3.523 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/11.16, allocations: 35.89 kB / 3.523 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/11.16, allocations: 32.44 kB / 3.523 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005135/11.16, allocations: 330.5 kB / 3.524 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/11.16, allocations: 0 / 3.524 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008234/11.17, allocations: 1.624 MB / 3.525 GB, free: 65.63 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: 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.01688/11.19, allocations: 4.259 MB / 3.529 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002116/11.19, allocations: 0.4967 MB / 3.53 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/11.19, allocations: 0 / 3.53 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/11.19, allocations: 371.6 kB / 3.53 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/11.19, allocations: 109.7 kB / 3.53 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.114/13.31, allocations: 496.5 MB / 4.015 GB, free: 51.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/13.31, allocations: 0.9364 MB / 4.016 GB, free: 50.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002578/13.31, allocations: 1.188 MB / 4.017 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/13.31, allocations: 265.8 kB / 4.017 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/13.31, allocations: 3.938 kB / 4.017 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5606/13.87, allocations: 48.39 MB / 4.065 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/13.87, allocations: 198.1 kB / 4.065 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.593/18.46, allocations: 1.062 kB / 4.065 GB, free: 103.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat