Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_E",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.553/2.553, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.076e-05, allocations: 4 kB / 330.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4252, allocations: 60.25 MB / 391.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.156/9.581, allocations: 2.977 GB / 3.359 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/9.581, allocations: 76.61 kB / 3.36 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.475/13.06, allocations: 0.6417 GB / 4.001 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/13.06, allocations: 0 / 4.001 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002619/13.06, allocations: 103.9 kB / 4.001 GB, free: 1.41 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: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.4724/13.53, allocations: 8.563 MB / 4.01 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/13.53, allocations: 10.88 kB / 4.01 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004977/13.53, allocations: 0.8071 MB / 4.011 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/13.55, allocations: 1.63 MB / 4.012 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/13.57, allocations: 3.775 MB / 4.016 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008141/13.57, allocations: 437.2 kB / 4.016 GB, free: 34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004133/13.57, allocations: 0.6248 MB / 4.017 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07509/13.65, allocations: 17.86 MB / 4.034 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/13.65, allocations: 5.844 kB / 4.034 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003496/13.65, allocations: 230.2 kB / 4.034 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/13.65, allocations: 314 kB / 4.035 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07807/13.73, allocations: 21.27 MB / 4.056 GB, free: 33.45 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.1034/13.84, allocations: 41.51 MB / 4.096 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06023/13.9, allocations: 15.05 MB / 4.111 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0177/13.91, allocations: 4.398 MB / 4.115 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2469/14.16, allocations: 64.1 MB / 4.178 GB, free: 20.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/14.16, allocations: 91.17 kB / 4.178 GB, free: 20.14 MB / 0.573 GB Notification: Performance of pre-optimization done (n=608): time 1.509e-05/14.16, allocations: 0 / 4.178 GB, free: 20.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=608): time 0.1247/14.29, allocations: 22.96 MB / 4.2 GB, free: 3.383 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/14.29, allocations: 112.2 kB / 4.2 GB, free: 3.258 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/14.29, allocations: 1.081 MB / 4.201 GB, free: 2.266 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003202/14.29, allocations: 131.9 kB / 4.201 GB, free: 2.133 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/14.29, allocations: 1.535 MB / 4.203 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006039/14.3, allocations: 2.117 MB / 4.205 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003249/14.3, allocations: 112 kB / 4.205 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0008137/14.3, allocations: 0.5252 MB / 4.206 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02017/14.32, allocations: 6.116 MB / 4.212 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02191/14.35, allocations: 6.846 MB / 4.218 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4828/14.83, allocations: 7.354 MB / 4.225 GB, free: 94.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/14.83, allocations: 3.594 kB / 4.226 GB, free: 94.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.07603/14.9, allocations: 20.94 MB / 4.246 GB, free: 94.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00122/14.91, allocations: 4.939 MB / 4.251 GB, free: 89.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.495e-05/14.91, allocations: 13.62 kB / 4.251 GB, free: 89.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.098/15, allocations: 20.85 MB / 4.271 GB, free: 89.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/15.01, allocations: 360.8 kB / 4.271 GB, free: 89.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08265/15.09, allocations: 22.88 MB / 4.294 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/15.11, allocations: 1.008 MB / 4.295 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004225/15.11, allocations: 0.6861 MB / 4.295 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/15.11, allocations: 10.27 kB / 4.296 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07373/15.18, allocations: 20.62 MB / 4.316 GB, free: 88.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.998e-05/15.19, allocations: 14.12 kB / 4.316 GB, free: 88.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1023/15.29, allocations: 20.97 MB / 4.336 GB, free: 88.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/15.29, allocations: 342 kB / 4.336 GB, free: 88.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08084/15.37, allocations: 22.88 MB / 4.359 GB, free: 80.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01592/15.39, allocations: 0.9548 MB / 4.36 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003845/15.39, allocations: 0.6813 MB / 4.36 GB, free: 80.43 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 44 (hexFVa.fluidState[20].phase,hexFVa.fluidState[19].phase,hexFVa.fluidState[18].phase,hexFVa.fluidState[17].phase,hexFVa.fluidState[16].phase,hexFVa.fluidState[15].phase,hexFVa.fluidState[14].phase,hexFVa.fluidState[13].phase,hexFVa.fluidState[12].phase,hexFVa.fluidState[11].phase,hexFVa.fluidState[10].phase,hexFVa.fluidState[9].phase,hexFVa.fluidState[8].phase,hexFVa.fluidState[7].phase,hexFVa.fluidState[6].phase,hexFVa.fluidState[5].phase,hexFVa.fluidState[4].phase,hexFVa.fluidState[3].phase,hexFVa.fluidState[2].phase,hexFVa.fluidState[1].phase,hexFVb.fluidState[20].phase,hexFVb.fluidState[19].phase,hexFVb.fluidState[18].phase,hexFVb.fluidState[17].phase,hexFVb.fluidState[16].phase,hexFVb.fluidState[15].phase,hexFVb.fluidState[14].phase,hexFVb.fluidState[13].phase,hexFVb.fluidState[12].phase,hexFVb.fluidState[11].phase,hexFVb.fluidState[10].phase,hexFVb.fluidState[9].phase,hexFVb.fluidState[8].phase,hexFVb.fluidState[7].phase,hexFVb.fluidState[6].phase,hexFVb.fluidState[5].phase,hexFVb.fluidState[4].phase,hexFVb.fluidState[3].phase,hexFVb.fluidState[2].phase,hexFVb.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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 {40 466} Notification: Performance of prepare postOptimizeDAE: time 0.005297/15.4, allocations: 407.5 kB / 4.361 GB, free: 80.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003186/15.4, allocations: 308.8 kB / 4.361 GB, free: 80 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6204/16.02, allocations: 90.2 MB / 4.449 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000274/16.02, allocations: 191.6 kB / 4.449 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001268/16.02, allocations: 37.12 kB / 4.449 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002034/16.02, allocations: 32.38 kB / 4.449 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05106/16.07, allocations: 36.77 MB / 4.485 GB, free: 80.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/16.07, allocations: 0 / 4.485 GB, free: 80.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01607/16.09, allocations: 1.318 MB / 4.487 GB, free: 80.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04106/16.13, allocations: 6.184 MB / 4.493 GB, free: 80.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00323/16.13, allocations: 240.1 kB / 4.493 GB, free: 80.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1059/16.24, allocations: 54.92 MB / 4.547 GB, free: 53.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/16.24, allocations: 0 / 4.547 GB, free: 53.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08753/16.33, allocations: 27.15 MB / 4.573 GB, free: 46.51 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006872/16.33, allocations: 1.611 MB / 4.575 GB, free: 45.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00332/16.34, allocations: 153.5 kB / 4.575 GB, free: 45.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/16.35, allocations: 0.589 MB / 4.575 GB, free: 45.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004209/16.35, allocations: 0.5196 MB / 4.576 GB, free: 45.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002548/16.36, allocations: 236.8 kB / 4.576 GB, free: 45.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001765/16.36, allocations: 0.7863 MB / 4.577 GB, free: 44.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/16.36, allocations: 0 / 4.577 GB, free: 44.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02766/16.39, allocations: 5.191 MB / 4.582 GB, free: 44.12 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (hexFVb.p,hexFVb.htilde[1],hexFVb.htilde[2],hexFVb.htilde[3],hexFVb.htilde[4],hexFVb.htilde[5],hexFVb.htilde[6],hexFVb.htilde[7],hexFVb.htilde[8],hexFVb.htilde[9],hexFVb.htilde[10],hexFVb.htilde[11],hexFVb.htilde[12],hexFVb.htilde[13],hexFVb.htilde[14],hexFVb.htilde[15],hexFVb.htilde[16],hexFVb.htilde[17],hexFVb.htilde[18],hexFVb.htilde[19],hexFVa.p,hexFVa.htilde[1],hexFVa.htilde[2],hexFVa.htilde[3],hexFVa.htilde[4],hexFVa.htilde[5],hexFVa.htilde[6],hexFVa.htilde[7],hexFVa.htilde[8],hexFVa.htilde[9],hexFVa.htilde[10],hexFVa.htilde[11],hexFVa.htilde[12],hexFVa.htilde[13],hexFVa.htilde[14],hexFVa.htilde[15],hexFVa.htilde[16],hexFVa.htilde[17],hexFVa.htilde[18],hexFVa.htilde[19]) * Number of discrete variables: 88 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (519): * Single equations (assignments): 454 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 21 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 21 {(20,57.2%) 38,(20,57.2%) 38,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.09919/16.49, allocations: 29.53 MB / 4.611 GB, free: 32.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.09041/16.58, allocations: 25.48 MB / 4.636 GB, free: 17.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/16.58, allocations: 0 / 4.636 GB, free: 17.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03766/16.61, allocations: 11.26 MB / 4.647 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02419/16.64, allocations: 1.715 MB / 4.648 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5477/17.19, allocations: 20.72 MB / 4.669 GB, free: 84.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007104/17.19, allocations: 3.96 MB / 4.672 GB, free: 83.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01125/17.2, allocations: 1.739 MB / 4.674 GB, free: 83.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009756/17.21, allocations: 2.561 MB / 4.677 GB, free: 83.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.084e-06/17.21, allocations: 0 / 4.677 GB, free: 83.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.451/19.66, allocations: 442.6 MB / 5.109 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/19.66, allocations: 197.9 kB / 5.109 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/36.34, allocations: 3.906 kB / 5.109 GB, free: 119.3 MB / 0.6355 GB