Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.021e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.246/8.373, allocations: 2.755 GB / 3.156 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/8.373, allocations: 75.39 kB / 3.156 GB, free: 95.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.253/9.626, allocations: 217.2 MB / 3.368 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/9.626, allocations: 0 / 3.368 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.641e-05/9.626, allocations: 4 kB / 3.368 GB, free: 93.67 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.008561/9.635, allocations: 1.742 MB / 3.37 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/9.635, allocations: 8.031 kB / 3.37 GB, free: 92.08 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/9.635, allocations: 67.19 kB / 3.37 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/9.637, allocations: 185.4 kB / 3.37 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/9.637, allocations: 275.4 kB / 3.371 GB, free: 91.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/9.637, allocations: 23.81 kB / 3.371 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/9.637, allocations: 33.23 kB / 3.371 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/9.64, allocations: 0.8093 MB / 3.371 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/9.64, allocations: 0 / 3.371 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/9.641, allocations: 12.75 kB / 3.371 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/9.641, allocations: 8 kB / 3.371 GB, free: 91.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/9.644, allocations: 0.8535 MB / 3.372 GB, free: 90.66 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.005108/9.649, allocations: 2.914 MB / 3.375 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/9.65, allocations: 383.3 kB / 3.375 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/9.651, allocations: 69.25 kB / 3.376 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9927/10.64, allocations: 140.6 MB / 3.513 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/10.65, allocations: 479.4 kB / 3.513 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.557e-06/10.65, allocations: 0 / 3.513 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.005312/10.65, allocations: 1.128 MB / 3.514 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/10.65, allocations: 376.2 kB / 3.515 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/10.65, allocations: 168.8 kB / 3.515 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/10.65, allocations: 36.36 kB / 3.515 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/10.65, allocations: 182.5 kB / 3.515 GB, free: 74.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/10.65, allocations: 115.9 kB / 3.515 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/10.65, allocations: 8.656 kB / 3.515 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/10.65, allocations: 330.5 kB / 3.516 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/10.65, allocations: 73.89 kB / 3.516 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/10.65, allocations: 339.9 kB / 3.516 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/10.65, allocations: 127.8 kB / 3.516 GB, free: 73.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/10.65, allocations: 3.75 kB / 3.516 GB, free: 73.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001166/10.65, allocations: 435 kB / 3.516 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/10.65, allocations: 10.5 kB / 3.516 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/10.65, allocations: 7.75 kB / 3.516 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/10.65, allocations: 15.84 kB / 3.516 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/10.66, allocations: 201.6 kB / 3.517 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005755/10.66, allocations: 1.185 MB / 3.518 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/10.66, allocations: 27.34 kB / 3.518 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/10.66, allocations: 40.64 kB / 3.518 GB, free: 72.74 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.0001847/10.66, allocations: 146.5 kB / 3.518 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/10.66, allocations: 27.84 kB / 3.518 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/10.66, allocations: 1.879 MB / 3.52 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/10.66, allocations: 18.61 kB / 3.52 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/10.66, allocations: 3.969 kB / 3.52 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/10.66, allocations: 9.234 kB / 3.52 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/10.66, allocations: 0.8806 MB / 3.521 GB, free: 72.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/10.66, allocations: 3.875 kB / 3.521 GB, free: 72.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/10.66, allocations: 111.2 kB / 3.521 GB, free: 72.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/10.66, allocations: 226.8 kB / 3.521 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/10.66, allocations: 28.06 kB / 3.521 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/10.66, allocations: 0.6381 MB / 3.522 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/10.66, allocations: 3.969 kB / 3.522 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/10.67, allocations: 1.158 MB / 3.523 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/10.67, allocations: 271.9 kB / 3.523 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/10.67, allocations: 13.2 kB / 3.523 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/10.67, allocations: 23.7 kB / 3.523 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/10.67, allocations: 46.81 kB / 3.523 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/10.67, allocations: 25.06 kB / 3.523 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005387/10.67, allocations: 329.2 kB / 3.524 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.52e-07/10.67, allocations: 0 / 3.524 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007992/10.68, allocations: 1.628 MB / 3.525 GB, free: 70.85 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.01665/10.69, allocations: 4.259 MB / 3.529 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002148/10.69, allocations: 0.4978 MB / 3.53 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/10.69, allocations: 0.8125 kB / 3.53 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/10.69, allocations: 368.6 kB / 3.53 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/10.7, allocations: 112.3 kB / 3.53 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.003/12.7, allocations: 496.5 MB / 4.015 GB, free: 52.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/12.7, allocations: 0.9437 MB / 4.016 GB, free: 52.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002489/12.7, allocations: 1.191 MB / 4.017 GB, free: 51.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/12.7, allocations: 263.6 kB / 4.017 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of SimCode: time 1.132e-06/12.7, allocations: 0 / 4.017 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5703/13.27, allocations: 48.38 MB / 4.065 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/13.27, allocations: 198.3 kB / 4.065 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.628/17.9, allocations: 0 / 4.065 GB, free: 105.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat