Running command: "" <> buildModelFMU(OpenHPL.Examples.HPDetailed,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.386/2.386, allocations: 257 MB / 269.1 MB, free: 11.76 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.653e-05, allocations: 4 kB / 332.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3911, allocations: 59.97 MB / 392.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5735, allocations: 101.6 MB / 493.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.5739, allocations: 79.97 kB / 493.8 MB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9202/1.494, allocations: 106 MB / 0.5858 GB, free: 84.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.494, allocations: 0 / 0.5858 GB, free: 84.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002082/1.494, allocations: 132 kB / 0.5859 GB, free: 84.5 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.03656/1.531, allocations: 6.566 MB / 0.5923 GB, free: 77.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.531, allocations: 12.03 kB / 0.5923 GB, free: 77.85 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006003/1.537, allocations: 1.137 MB / 0.5934 GB, free: 76.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/1.542, allocations: 0.667 MB / 0.5941 GB, free: 76.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/1.555, allocations: 3.584 MB / 0.5976 GB, free: 72.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007576/1.556, allocations: 488.8 kB / 0.598 GB, free: 71.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00483/1.561, allocations: 0.6288 MB / 0.5986 GB, free: 71.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/1.606, allocations: 13.88 MB / 0.6122 GB, free: 57.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003918/1.606, allocations: 11.91 kB / 0.6122 GB, free: 57.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004269/1.611, allocations: 256 kB / 0.6124 GB, free: 57.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/1.612, allocations: 0.9891 MB / 0.6134 GB, free: 56.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04525/1.657, allocations: 14.8 MB / 0.6279 GB, free: 41.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.775, allocations: 35.72 MB / 0.6628 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03351/1.809, allocations: 12.92 MB / 0.6754 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01529/1.824, allocations: 5.236 MB / 0.6805 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/1.826, allocations: 0.9771 MB / 0.6814 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.827, allocations: 112.3 kB / 0.6815 GB, free: 1.695 MB / 474.7 MB Notification: Performance of pre-optimization done (n=731): time 1.083e-05/1.827, allocations: 3.938 kB / 0.6816 GB, free: 1.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=755): time 0.1018/1.928, allocations: 25.26 MB / 0.7062 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.929, allocations: 125.3 kB / 0.7063 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.931, allocations: 0.8826 MB / 0.7072 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002358/1.933, allocations: 149.7 kB / 0.7073 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.935, allocations: 2.258 MB / 0.7095 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005575/1.941, allocations: 2.549 MB / 0.712 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002583/1.944, allocations: 140 kB / 0.7122 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001032/1.945, allocations: 0.6348 MB / 0.7128 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.364/2.309, allocations: 4.799 MB / 0.7175 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01467/2.323, allocations: 5.464 MB / 0.7228 GB, free: 128.4 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: 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.2995/2.623, allocations: 43.24 MB / 0.765 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/2.623, allocations: 0 / 0.765 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.05559/2.679, allocations: 13.37 MB / 0.7781 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/2.679, allocations: 12.94 kB / 0.7781 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/2.679, allocations: 8 kB / 0.7781 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/2.69, allocations: 1.729 MB / 0.7798 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/2.707, allocations: 1.525 MB / 0.7813 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03551/2.743, allocations: 15.63 MB / 0.7966 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009514/2.752, allocations: 348.6 kB / 0.7969 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/2.755, allocations: 266.1 kB / 0.7971 GB, free: 93.46 MB / 0.4948 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (penstockKP.KP.boundaryCon[2,2],penstockKP.KP.boundaryCon[2,1],penstockKP.KP.boundaryCon[1,2],penstockKP.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 28,1 7,1 24,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.004709/2.76, allocations: 466.2 kB / 0.7976 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0027/2.763, allocations: 305.4 kB / 0.7979 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05694/2.82, allocations: 14.3 MB / 0.8118 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.915e-05/2.82, allocations: 87.94 kB / 0.8119 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/2.82, allocations: 3.953 kB / 0.8119 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002219/2.82, allocations: 39.84 kB / 0.812 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08783/2.908, allocations: 25.75 MB / 0.8371 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001211/2.908, allocations: 8 kB / 0.8371 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01836/2.926, allocations: 1.66 MB / 0.8387 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009501/2.936, allocations: 1.452 MB / 0.8402 GB, free: 50.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002647/2.939, allocations: 225.1 kB / 0.8404 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/2.966, allocations: 13.49 MB / 0.8535 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/2.966, allocations: 15.94 kB / 0.8536 GB, free: 36.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06263/3.029, allocations: 21.75 MB / 0.8748 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/3.03, allocations: 406.8 kB / 0.8752 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/3.033, allocations: 152 kB / 0.8753 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008644/3.041, allocations: 343.7 kB / 0.8757 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002508/3.044, allocations: 0.5326 MB / 0.8762 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/3.045, allocations: 259.8 kB / 0.8764 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001301/3.046, allocations: 0.6435 MB / 0.8771 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/3.046, allocations: 0 / 0.8771 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008067/3.054, allocations: 1.907 MB / 0.8789 GB, free: 10.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 24 (reservoir.m,tail.m,surgeTank.m,surgeTank.Vdot,penstockKP.U[1],penstockKP.U[2],penstockKP.U[3],penstockKP.U[4],penstockKP.U[5],penstockKP.U[6],penstockKP.U[7],penstockKP.U[8],penstockKP.U[9],penstockKP.U[10],penstockKP.U[11],penstockKP.U[12],penstockKP.U[13],penstockKP.U[14],penstockKP.U[15],penstockKP.U[16],penstockKP.U[17],penstockKP.U[18],penstockKP.U[19],penstockKP.U[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (787): * Single equations (assignments): 783 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 30,1 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.07439/3.129, allocations: 24.98 MB / 0.9033 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03808/3.167, allocations: 12.16 MB / 0.9152 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/3.167, allocations: 4 kB / 0.9152 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3676/3.534, allocations: 6.579 MB / 0.9216 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004588/3.539, allocations: 378.4 kB / 0.922 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0554/3.595, allocations: 17.63 MB / 0.9392 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009664/3.604, allocations: 4.399 MB / 0.9435 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01974/3.624, allocations: 3.717 MB / 0.9471 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01168/3.636, allocations: 2.923 MB / 0.95 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.495e-06/3.636, allocations: 3.938 kB / 0.95 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2801/3.916, allocations: 127.9 MB / 1.075 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/3.916, allocations: 194.2 kB / 1.075 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/11.45, allocations: 0 / 1.075 GB, free: 51.18 MB / 0.5261 GB