Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_Francis_IPSLGen,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_Francis_IPSLGen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.609/2.609, allocations: 256.4 MB / 268.5 MB, free: 12.24 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.775e-05, allocations: 4 kB / 331.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 59.81 MB / 391.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.6119, allocations: 114.4 MB / 0.4936 GB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.6123, allocations: 87.95 kB / 0.4937 GB, free: 2.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045/1.657, allocations: 134.8 MB / 0.6253 GB, free: 45.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.657, allocations: 0 / 0.6253 GB, free: 45.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004131/1.658, allocations: 167.9 kB / 0.6255 GB, free: 45.61 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2523 * Number of variables: 2523 Notification: Performance of Generate backend data structure: time 0.0456/1.703, allocations: 8.361 MB / 0.6336 GB, free: 37.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.703, allocations: 8.031 kB / 0.6336 GB, free: 37.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00669/1.71, allocations: 1.28 MB / 0.6349 GB, free: 35.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/1.722, allocations: 1.289 MB / 0.6362 GB, free: 34.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/1.74, allocations: 4.377 MB / 0.6404 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/1.741, allocations: 0.7918 MB / 0.6412 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/1.746, allocations: 0.7265 MB / 0.6419 GB, free: 28.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04959/1.796, allocations: 15.24 MB / 0.6568 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/1.797, allocations: 15.89 kB / 0.6568 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004684/1.801, allocations: 304 kB / 0.6571 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/1.802, allocations: 1.023 MB / 0.6581 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05054/1.853, allocations: 16.22 MB / 0.6739 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.153/2.006, allocations: 40.61 MB / 0.7136 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4362/2.442, allocations: 15.19 MB / 0.7284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0228/2.465, allocations: 5.981 MB / 0.7343 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003301/2.469, allocations: 1.01 MB / 0.7353 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/2.469, allocations: 120.1 kB / 0.7354 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=862): time 2.166e-05/2.469, allocations: 0 / 0.7354 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=886): time 0.1298/2.599, allocations: 31.4 MB / 0.766 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/2.599, allocations: 200.7 kB / 0.7662 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/2.604, allocations: 1.861 MB / 0.768 GB, free: 95.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002625/2.606, allocations: 172.6 kB / 0.7682 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/2.608, allocations: 2.867 MB / 0.771 GB, free: 93.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005457/2.614, allocations: 3 MB / 0.7739 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/2.617, allocations: 159 kB / 0.7741 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008368/2.618, allocations: 0.6479 MB / 0.7747 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01594/2.634, allocations: 5.405 MB / 0.78 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01693/2.651, allocations: 6.278 MB / 0.7861 GB, free: 86.25 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: order2_1.w = $START.order2_1.w (1.0 = $START.order2_1.w) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = $START.surgeTank.Vdot (surgeTank.Vdot_0 = $START.surgeTank.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.h = $START.surgeTank.h (surgeTank.h_0 = $START.surgeTank.h) Notification: Performance of analyzeInitialSystem (initialization): time 0.337/2.988, allocations: 49.01 MB / 0.834 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/2.988, allocations: 4 kB / 0.834 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.07798/3.066, allocations: 17.97 MB / 0.8515 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/3.067, allocations: 5.353 MB / 0.8568 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-05/3.067, allocations: 12 kB / 0.8568 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/3.088, allocations: 3.482 MB / 0.8602 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.022/3.11, allocations: 1.902 MB / 0.862 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06708/3.177, allocations: 29.62 MB / 0.891 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/3.19, allocations: 0.5452 MB / 0.8915 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003093/3.194, allocations: 311.8 kB / 0.8918 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/3.194, allocations: 7.984 kB / 0.8918 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08382/3.277, allocations: 17.61 MB / 0.909 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.982e-05/3.278, allocations: 12 kB / 0.909 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/3.3, allocations: 3.489 MB / 0.9124 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02312/3.323, allocations: 1.888 MB / 0.9143 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4365/3.759, allocations: 29.59 MB / 0.9432 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/3.771, allocations: 0.5346 MB / 0.9437 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/3.774, allocations: 312 kB / 0.944 GB, free: 116 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: order2_1.w = $START.order2_1.w surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 926 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 28,1 7,1 22,1 7,26 10} Notification: Performance of prepare postOptimizeDAE: time 0.004752/3.779, allocations: 0.519 MB / 0.9445 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002726/3.782, allocations: 461.8 kB / 0.9449 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07915/3.861, allocations: 19.13 MB / 0.9636 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/3.861, allocations: 92.72 kB / 0.9637 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/3.861, allocations: 0 / 0.9637 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002637/3.861, allocations: 51.22 kB / 0.9637 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1198/3.981, allocations: 32.46 MB / 0.9954 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000142/3.981, allocations: 7.5 kB / 0.9955 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02099/4.002, allocations: 1.876 MB / 0.9973 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02009/4.023, allocations: 3.275 MB / 1 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00303/4.026, allocations: 246.4 kB / 1.001 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05752/4.083, allocations: 28.64 MB / 1.029 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/4.083, allocations: 12.22 kB / 1.029 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0946/4.178, allocations: 27.87 MB / 1.056 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/4.18, allocations: 0.5548 MB / 1.056 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003788/4.183, allocations: 191.2 kB / 1.057 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/4.196, allocations: 0.5337 MB / 1.057 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004822/4.201, allocations: 0.787 MB / 1.058 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002839/4.204, allocations: 296.8 kB / 1.058 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00326/4.207, allocations: 1.379 MB / 1.06 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/4.207, allocations: 0 / 1.06 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02102/4.228, allocations: 3.76 MB / 1.063 GB, free: 45.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 29 (reservoir.m,tail.m,penstock.U[1],penstock.U[2],penstock.U[3],penstock.U[4],penstock.U[5],penstock.U[6],penstock.U[7],penstock.U[8],penstock.U[9],penstock.U[10],penstock.U[11],penstock.U[12],penstock.U[13],penstock.U[14],penstock.U[15],penstock.U[16],penstock.U[17],penstock.U[18],penstock.U[19],penstock.U[20],surgeTank.m,surgeTank.Vdot,order2_1.delta,order2_1.w,governor.pilot_servo.x_scaled[1],governor.main_servo.x_scaled[1],governor.control.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (887): * Single equations (assignments): 876 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {26 10,1 24,1 30,1 8,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.09989/4.328, allocations: 31.54 MB / 1.094 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.4507/4.779, allocations: 24.44 MB / 1.118 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/4.779, allocations: 0 / 1.118 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02963/4.809, allocations: 9.014 MB / 1.127 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/4.815, allocations: 0.4897 MB / 1.127 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06481/4.879, allocations: 20.31 MB / 1.147 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/4.891, allocations: 5.168 MB / 1.152 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03226/4.923, allocations: 6.191 MB / 1.158 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01383/4.937, allocations: 3.649 MB / 1.162 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/4.937, allocations: 0 / 1.162 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7898/5.727, allocations: 194.3 MB / 1.351 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/5.727, allocations: 201.3 kB / 1.352 GB, free: 121 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/17.91, allocations: 3.938 kB / 1.352 GB, free: 121 MB / 0.5417 GB