Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.364/2.364, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 183.4 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.446/2.446, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.001159, allocations: 94.42 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006181/0.0006182, allocations: 12.03 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2029, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.4678, allocations: 155.9 MB / 1.051 GB, free: 5.867 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.4682, allocations: 99.94 kB / 1.051 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9497/1.418, allocations: 86.76 MB / 1.136 GB, free: 97.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/1.418, allocations: 0 / 1.136 GB, free: 97.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000145/1.418, allocations: 43.98 kB / 1.136 GB, free: 97.19 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005177/1.423, allocations: 1.657 MB / 1.138 GB, free: 95.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.423, allocations: 12.03 kB / 1.138 GB, free: 95.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009617/1.424, allocations: 223.2 kB / 1.138 GB, free: 95.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/1.432, allocations: 0.626 MB / 1.138 GB, free: 94.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/1.435, allocations: 0.8842 MB / 1.139 GB, free: 93.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.435, allocations: 94.52 kB / 1.139 GB, free: 93.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/1.436, allocations: 128 kB / 1.139 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/1.441, allocations: 2.322 MB / 1.142 GB, free: 90.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.473e-05/1.441, allocations: 15.88 kB / 1.142 GB, free: 90.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/1.442, allocations: 67.91 kB / 1.142 GB, free: 90.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/1.442, allocations: 142.3 kB / 1.142 GB, free: 90.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/1.447, allocations: 1.859 MB / 1.144 GB, free: 88.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/1.465, allocations: 12.51 MB / 1.156 GB, free: 75.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/1.471, allocations: 1.859 MB / 1.158 GB, free: 73.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/1.471, allocations: 98.11 kB / 1.158 GB, free: 73.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.471, allocations: 47.55 kB / 1.158 GB, free: 73.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 3.307e-06/1.471, allocations: 0 / 1.158 GB, free: 73.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.009237/1.48, allocations: 3.698 MB / 1.162 GB, free: 69.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.481, allocations: 64.41 kB / 1.162 GB, free: 69.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.482, allocations: 0.7899 MB / 1.162 GB, free: 68.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/1.482, allocations: 45.7 kB / 1.162 GB, free: 68.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/1.483, allocations: 0.7084 MB / 1.163 GB, free: 67.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/1.483, allocations: 382.5 kB / 1.163 GB, free: 67.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.483, allocations: 31.94 kB / 1.163 GB, free: 67.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.483, allocations: 369.9 kB / 1.164 GB, free: 66.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.485, allocations: 0.6012 MB / 1.164 GB, free: 66.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.486, allocations: 1.04 MB / 1.165 GB, free: 65.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/1.488, allocations: 0.7525 MB / 1.166 GB, free: 64.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.488, allocations: 4 kB / 1.166 GB, free: 64.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005504/1.494, allocations: 2.03 MB / 1.168 GB, free: 62.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.494, allocations: 13.88 kB / 1.168 GB, free: 62.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.494, allocations: 16 kB / 1.168 GB, free: 62.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.495, allocations: 255 kB / 1.168 GB, free: 62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.498, allocations: 359.4 kB / 1.169 GB, free: 61.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009763/1.508, allocations: 10.82 MB / 1.179 GB, free: 49.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.511, allocations: 127.9 kB / 1.179 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005707/1.512, allocations: 64 kB / 1.18 GB, free: 49.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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 prepare postOptimizeDAE: time 0.001846/1.514, allocations: 408 kB / 1.18 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007552/1.515, allocations: 134.4 kB / 1.18 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007086/1.522, allocations: 1.673 MB / 1.182 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.522, allocations: 15.98 kB / 1.182 GB, free: 47.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.522, allocations: 3.953 kB / 1.182 GB, free: 47.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/1.522, allocations: 3.984 kB / 1.182 GB, free: 47.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/1.53, allocations: 3.288 MB / 1.185 GB, free: 43.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.53, allocations: 8 kB / 1.185 GB, free: 43.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.531, allocations: 219.7 kB / 1.185 GB, free: 43.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/1.533, allocations: 238.7 kB / 1.185 GB, free: 43.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.533, allocations: 31.94 kB / 1.185 GB, free: 43.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00867/1.541, allocations: 10.8 MB / 1.196 GB, free: 31.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.541, allocations: 8 kB / 1.196 GB, free: 31.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/1.546, allocations: 2.079 MB / 1.198 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/1.547, allocations: 331.2 kB / 1.198 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/1.547, allocations: 32 kB / 1.198 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.548, allocations: 87.86 kB / 1.198 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.548, allocations: 92.78 kB / 1.199 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/1.549, allocations: 36 kB / 1.199 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001036/1.55, allocations: 0.6138 MB / 1.199 GB, free: 27.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.55, allocations: 3.938 kB / 1.199 GB, free: 27.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001876/1.552, allocations: 404 kB / 1.2 GB, free: 27.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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.00451/1.556, allocations: 4.155 MB / 1.204 GB, free: 23.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005246/1.561, allocations: 2.446 MB / 1.206 GB, free: 20.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.561, allocations: 4.125 kB / 1.206 GB, free: 20.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/1.565, allocations: 1.629 MB / 1.208 GB, free: 18.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.567, allocations: 310.9 kB / 1.208 GB, free: 18.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.588, allocations: 17.82 MB / 1.225 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.589, allocations: 1.36 MB / 1.227 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001988/1.591, allocations: 355 kB / 1.227 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.593, allocations: 0.5188 MB / 1.227 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/1.593, allocations: 4 kB / 1.227 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08381/1.677, allocations: 26.8 MB / 1.254 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/1.677, allocations: 228.3 kB / 1.254 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/5.275, allocations: 4 kB / 1.254 GB, free: 3.211 MB / 0.7292 GB