Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.43/2.43, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.068e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4195, allocations: 60.24 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.03/10.45, allocations: 3.296 GB / 3.678 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/10.45, allocations: 78.23 kB / 3.678 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.21/16.66, allocations: 1.343 GB / 5.021 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/16.66, allocations: 0 / 5.021 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000153/16.66, allocations: 52.58 kB / 5.021 GB, free: 89.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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.02223/16.68, allocations: 4.057 MB / 5.025 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/16.68, allocations: 9.875 kB / 5.025 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/16.68, allocations: 347.6 kB / 5.025 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/16.68, allocations: 250.8 kB / 5.025 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/16.69, allocations: 1.573 MB / 5.027 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/16.69, allocations: 182 kB / 5.027 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/16.7, allocations: 267.8 kB / 5.027 GB, free: 87.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/16.71, allocations: 3.813 MB / 5.031 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.371e-05/16.71, allocations: 3.953 kB / 5.031 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007449/16.71, allocations: 95.12 kB / 5.031 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/16.71, allocations: 141.7 kB / 5.031 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/16.72, allocations: 5.52 MB / 5.037 GB, free: 87.4 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.04072/16.77, allocations: 15.48 MB / 5.052 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/16.78, allocations: 4.723 MB / 5.056 GB, free: 80.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/16.79, allocations: 1.927 MB / 5.058 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02352/16.81, allocations: 9.974 MB / 5.068 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/16.81, allocations: 62.97 kB / 5.068 GB, free: 73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 5.23e-06/16.81, allocations: 0 / 5.068 GB, free: 73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.01906/16.83, allocations: 4.875 MB / 5.073 GB, free: 71.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/16.83, allocations: 76.34 kB / 5.073 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/16.83, allocations: 0.6999 MB / 5.074 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008654/16.83, allocations: 72.73 kB / 5.074 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/16.83, allocations: 0.8447 MB / 5.074 GB, free: 70.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/16.84, allocations: 0.8412 MB / 5.075 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/16.84, allocations: 58.03 kB / 5.075 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004087/16.84, allocations: 463.3 kB / 5.076 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/16.84, allocations: 1.366 MB / 5.077 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005098/16.85, allocations: 2.014 MB / 5.079 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005011/16.85, allocations: 1.691 MB / 5.081 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-05/16.85, allocations: 3.625 kB / 5.081 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01646/16.87, allocations: 4.374 MB / 5.085 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002354/16.87, allocations: 7.148 MB / 5.092 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.79e-05/16.87, allocations: 18.28 kB / 5.092 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/16.88, allocations: 1.259 MB / 5.093 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/16.89, allocations: 0.4888 MB / 5.094 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/16.9, allocations: 11.59 MB / 5.105 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/16.9, allocations: 390.6 kB / 5.105 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/16.9, allocations: 116.2 kB / 5.106 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/16.9, allocations: 4 kB / 5.106 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01452/16.92, allocations: 4.166 MB / 5.11 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/16.92, allocations: 16 kB / 5.11 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007323/16.92, allocations: 1.259 MB / 5.111 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/16.93, allocations: 482.9 kB / 5.111 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/16.94, allocations: 11.59 MB / 5.123 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/16.94, allocations: 335.4 kB / 5.123 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/16.95, allocations: 126.2 kB / 5.123 GB, free: 29.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001001/16.95, allocations: 260.2 kB / 5.123 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/16.95, allocations: 146.2 kB / 5.123 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/16.97, allocations: 5.47 MB / 5.129 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/16.97, allocations: 24 kB / 5.129 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/16.97, allocations: 12 kB / 5.129 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/16.97, allocations: 15.48 kB / 5.129 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/16.98, allocations: 2.508 MB / 5.131 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/16.98, allocations: 0 / 5.131 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/16.98, allocations: 338 kB / 5.132 GB, free: 22.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/17, allocations: 2.682 MB / 5.134 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009847/17, allocations: 92.8 kB / 5.134 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04688/17.04, allocations: 11.78 MB / 5.146 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/17.04, allocations: 4 kB / 5.146 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03317/17.08, allocations: 7.094 MB / 5.153 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/17.08, allocations: 0.5773 MB / 5.153 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/17.08, allocations: 67.03 kB / 5.153 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004711/17.09, allocations: 189.3 kB / 5.154 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/17.09, allocations: 179.1 kB / 5.154 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004732/17.09, allocations: 82.78 kB / 5.154 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001326/17.09, allocations: 0.5164 MB / 5.154 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/17.09, allocations: 0 / 5.154 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01312/17.1, allocations: 1.617 MB / 5.156 GB, free: 1.809 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03847/17.14, allocations: 8.297 MB / 5.164 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03494/17.17, allocations: 6.839 MB / 5.171 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/17.17, allocations: 448 / 5.171 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/17.19, allocations: 2.602 MB / 5.173 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008446/17.2, allocations: 0.8722 MB / 5.174 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4199/17.62, allocations: 5.719 MB / 5.18 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/17.62, allocations: 1.688 MB / 5.181 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01054/17.63, allocations: 1.327 MB / 5.183 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003263/17.63, allocations: 0.7696 MB / 5.183 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of SimCode: time 2.114e-06/17.63, allocations: 0 / 5.183 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/17.82, allocations: 73.67 MB / 5.255 GB, free: 93.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/17.82, allocations: 209.2 kB / 5.255 GB, free: 93.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.547/23.36, allocations: 0 / 5.255 GB, free: 93.3 MB / 0.5417 GB