Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.383/2.383, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.00128/0.001279, allocations: 179.7 kB / 326.2 MB, free: 2.871 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.267/2.267, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0008678/0.0008675, allocations: 99.28 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007212/0.0007214, allocations: 15.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2389, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9851/1.224, allocations: 168.3 MB / 1.064 GB, free: 64.58 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004137/1.225, allocations: 103.8 kB / 1.064 GB, free: 64.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3661/1.591, allocations: 96.41 MB / 1.158 GB, free: 39.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/1.591, allocations: 0 / 1.158 GB, free: 39.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001718/1.591, allocations: 54.66 kB / 1.158 GB, free: 39.37 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009818/1.601, allocations: 2.265 MB / 1.16 GB, free: 37.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.601, allocations: 11.78 kB / 1.16 GB, free: 37.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/1.608, allocations: 0.745 MB / 1.161 GB, free: 37.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/1.613, allocations: 1.453 MB / 1.163 GB, free: 37.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/1.613, allocations: 202.9 kB / 1.163 GB, free: 37.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/1.615, allocations: 252.5 kB / 1.163 GB, free: 37.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.63, allocations: 4.219 MB / 1.167 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/1.63, allocations: 11.59 kB / 1.167 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/1.631, allocations: 109.3 kB / 1.167 GB, free: 35.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/1.632, allocations: 159.4 kB / 1.167 GB, free: 35.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/1.642, allocations: 3.451 MB / 1.171 GB, free: 35.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/1.676, allocations: 21.41 MB / 1.192 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/1.68, allocations: 2.243 MB / 1.194 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/1.681, allocations: 0.7175 MB / 1.195 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.155e-05/1.681, allocations: 19.61 kB / 1.195 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.681, allocations: 45.91 kB / 1.195 GB, free: 15.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.687e-06/1.681, allocations: 0 / 1.195 GB, free: 15.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.008681/1.69, allocations: 4.179 MB / 1.199 GB, free: 13.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/1.69, allocations: 247 kB / 1.199 GB, free: 12.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.692, allocations: 1.103 MB / 1.2 GB, free: 12.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/1.693, allocations: 37.69 kB / 1.2 GB, free: 12.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/1.693, allocations: 1.194 MB / 1.201 GB, free: 11.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/1.694, allocations: 252.1 kB / 1.201 GB, free: 10.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.694, allocations: 35.78 kB / 1.201 GB, free: 10.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.694, allocations: 406.2 kB / 1.202 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.696, allocations: 0.6931 MB / 1.203 GB, free: 9.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.698, allocations: 1.395 MB / 1.204 GB, free: 8.156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/1.7, allocations: 0.9756 MB / 1.205 GB, free: 7.184 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/1.7, allocations: 8 kB / 1.205 GB, free: 7.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005222/1.705, allocations: 2.164 MB / 1.207 GB, free: 5.004 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004543/1.706, allocations: 0.7923 MB / 1.208 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.706, allocations: 24 kB / 1.208 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-05/1.706, allocations: 32 kB / 1.208 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/1.709, allocations: 431.2 kB / 1.208 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-05/1.709, allocations: 51.8 kB / 1.208 GB, free: 3.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.711, allocations: 199.3 kB / 1.208 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.712, allocations: 87.92 kB / 1.209 GB, free: 3.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.712, allocations: 4 kB / 1.209 GB, free: 3.066 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/1.716, allocations: 1.831 MB / 1.21 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.716, allocations: 28.95 kB / 1.21 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/1.716, allocations: 32 kB / 1.21 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.718, allocations: 391.3 kB / 1.211 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-05/1.718, allocations: 51.73 kB / 1.211 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.72, allocations: 135.4 kB / 1.211 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/1.72, allocations: 83.98 kB / 1.211 GB, free: 0.5273 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002959/1.723, allocations: 1.133 MB / 1.212 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/1.724, allocations: 102.8 kB / 1.212 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/1.726, allocations: 1.081 MB / 1.213 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.727, allocations: 12 kB / 1.213 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.727, allocations: 3.938 kB / 1.213 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.727, allocations: 7.984 kB / 1.213 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/1.75, allocations: 10.32 MB / 1.223 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/1.75, allocations: 16.38 kB / 1.223 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.751, allocations: 191.6 kB / 1.224 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.162e-05/1.751, allocations: 24.06 kB / 1.224 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/1.751, allocations: 35.94 kB / 1.224 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-05/1.751, allocations: 31.86 kB / 1.224 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/1.751, allocations: 19.94 kB / 1.224 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/1.755, allocations: 2.153 MB / 1.226 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009973/1.756, allocations: 347.4 kB / 1.226 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.756, allocations: 32 kB / 1.226 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.758, allocations: 95.86 kB / 1.226 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/1.758, allocations: 99.55 kB / 1.226 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/1.758, allocations: 44 kB / 1.226 GB, free: 288 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00183/1.76, allocations: 0.7503 MB / 1.227 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.76, allocations: 3.938 kB / 1.227 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004816/1.765, allocations: 0.7773 MB / 1.228 GB, free: 14.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004491/1.765, allocations: 162.8 kB / 1.228 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006249/1.772, allocations: 2.454 MB / 1.23 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.562e-05/1.772, allocations: 8.062 kB / 1.23 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.773, allocations: 0.5646 MB / 1.231 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.777, allocations: 251.6 kB / 1.231 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.79, allocations: 5.305 MB / 1.236 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/1.794, allocations: 2.003 MB / 1.238 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00402/1.798, allocations: 0.8404 MB / 1.239 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/1.799, allocations: 87.41 kB / 1.239 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of SimCode: time 1.783e-06/1.799, allocations: 0 / 1.239 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of Templates: time 0.04485/1.844, allocations: 13.58 MB / 1.253 GB, free: 5.324 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)