Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.308/2.308, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.419e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 60.24 MB / 391.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.519/9.922, allocations: 3.027 GB / 3.409 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/9.923, allocations: 82.34 kB / 3.409 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.865/11.79, allocations: 343.2 MB / 3.744 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/11.79, allocations: 0 / 3.744 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.127e-05/11.79, allocations: 34.34 kB / 3.744 GB, free: 32.24 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.05734/11.85, allocations: 7.847 MB / 3.752 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/11.85, allocations: 12.03 kB / 3.752 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004141/11.85, allocations: 283.8 kB / 3.752 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02791/11.88, allocations: 2.775 MB / 3.755 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/11.9, allocations: 3.59 MB / 3.758 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005486/11.9, allocations: 1.091 MB / 3.759 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004431/11.91, allocations: 191.9 kB / 3.76 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04568/11.95, allocations: 11.18 MB / 3.771 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/11.95, allocations: 0 / 3.771 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004637/11.96, allocations: 79.95 kB / 3.771 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/11.96, allocations: 43.94 kB / 3.771 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4892/12.45, allocations: 20.3 MB / 3.79 GB, free: 55.41 MB / 0.5105 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.1446/12.59, allocations: 58.71 MB / 3.848 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0269/12.62, allocations: 8.458 MB / 3.856 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01689/12.64, allocations: 6.491 MB / 3.862 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3869/13.02, allocations: 120.1 MB / 3.98 GB, free: 3.695 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.451e-05/13.02, allocations: 56.56 kB / 3.98 GB, free: 3.629 MB / 0.573 GB Notification: Performance of pre-optimization done (n=212): time 5.751e-06/13.02, allocations: 0 / 3.98 GB, free: 3.629 MB / 0.573 GB Notification: Performance of matching and sorting (n=213): time 0.5727/13.6, allocations: 25.87 MB / 4.005 GB, free: 119.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/13.6, allocations: 80.52 kB / 4.005 GB, free: 119.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/13.6, allocations: 0.5661 MB / 4.006 GB, free: 119.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003493/13.6, allocations: 61.64 kB / 4.006 GB, free: 119.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/13.6, allocations: 0.5293 MB / 4.006 GB, free: 119.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004181/13.61, allocations: 0.7401 MB / 4.007 GB, free: 118.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00336/13.61, allocations: 44 kB / 4.007 GB, free: 118.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003497/13.61, allocations: 435.6 kB / 4.007 GB, free: 118.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01831/13.63, allocations: 6.677 MB / 4.014 GB, free: 118.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01895/13.65, allocations: 7.149 MB / 4.021 GB, free: 117.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5166/14.16, allocations: 85 MB / 4.104 GB, free: 104.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/14.16, allocations: 0 / 4.104 GB, free: 104.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=279) (initialization): time 1.915/16.08, allocations: 196.8 MB / 4.296 GB, free: 100.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00122/16.08, allocations: 4.976 MB / 4.301 GB, free: 95.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-05/16.08, allocations: 12 kB / 4.301 GB, free: 95.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3879/16.47, allocations: 50.24 MB / 4.35 GB, free: 59.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/16.48, allocations: 1.45 MB / 4.351 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05117/16.54, allocations: 14 MB / 4.365 GB, free: 48.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02746/16.56, allocations: 2.819 MB / 4.368 GB, free: 45.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004228/16.57, allocations: 432.3 kB / 4.368 GB, free: 45.35 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/16.57, allocations: 4.781 kB / 4.368 GB, free: 45.35 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.734/17.3, allocations: 49.4 MB / 4.416 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/17.3, allocations: 12.69 kB / 4.416 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3104/17.61, allocations: 49.96 MB / 4.465 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/17.63, allocations: 1.461 MB / 4.467 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06765/17.7, allocations: 13.65 MB / 4.48 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03254/17.73, allocations: 2.823 MB / 4.483 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/17.73, allocations: 430.2 kB / 4.483 GB, free: 114.5 MB / 0.573 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.006347/17.74, allocations: 263 kB / 4.483 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00338/17.74, allocations: 135.3 kB / 4.484 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07067/17.81, allocations: 32.47 MB / 4.515 GB, free: 89.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06188/17.88, allocations: 30.47 MB / 4.545 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/17.88, allocations: 12.5 kB / 4.545 GB, free: 62.19 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.05e-05/17.88, allocations: 9.938 kB / 4.545 GB, free: 62.19 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5211/18.4, allocations: 58.42 MB / 4.602 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/18.4, allocations: 0 / 4.602 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03075/18.43, allocations: 3.521 MB / 4.606 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007736/18.44, allocations: 1.106 MB / 4.607 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003738/18.44, allocations: 293.3 kB / 4.607 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/18.45, allocations: 5.949 MB / 4.613 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/18.45, allocations: 0 / 4.613 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06909/18.52, allocations: 20.63 MB / 4.633 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007971/18.53, allocations: 1.807 MB / 4.635 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003814/18.54, allocations: 52.92 kB / 4.635 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02768/18.56, allocations: 2.787 MB / 4.637 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003759/18.57, allocations: 415.8 kB / 4.638 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003748/18.57, allocations: 286.2 kB / 4.638 GB, free: 109.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007878/18.57, allocations: 433.5 kB / 4.638 GB, free: 109.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.51e-07/18.57, allocations: 4.656 kB / 4.638 GB, free: 109.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02316/18.59, allocations: 3.245 MB / 4.642 GB, free: 109.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.09262/18.69, allocations: 22.62 MB / 4.664 GB, free: 99.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0913/18.78, allocations: 23.13 MB / 4.686 GB, free: 90.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/18.78, allocations: 0 / 4.686 GB, free: 90.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02363/18.8, allocations: 8.038 MB / 4.694 GB, free: 86.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006504/18.81, allocations: 435.3 kB / 4.695 GB, free: 86.54 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05417/18.86, allocations: 10.48 MB / 4.705 GB, free: 83.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/18.87, allocations: 1.62 MB / 4.706 GB, free: 82.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02646/18.89, allocations: 4.016 MB / 4.71 GB, free: 82.37 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01181/18.9, allocations: 1.186 MB / 4.712 GB, free: 81.78 MB / 0.573 GB Notification: Performance of SimCode: time 1.954e-06/18.9, allocations: 3.812 kB / 4.712 GB, free: 81.78 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.357/20.26, allocations: 289.3 MB / 4.994 GB, free: 111 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/20.26, allocations: 206.3 kB / 4.994 GB, free: 110.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/33.53, allocations: 3.938 kB / 4.994 GB, free: 110.8 MB / 0.573 GB