Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.779/2.779, allocations: 287.3 MB / 302.3 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 181.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.38 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007388/0.0007392, allocations: 12.66 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2335, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03143/0.265, allocations: 21.89 MB / 0.9996 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9909/1.256, allocations: 133.6 MB / 1.13 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/1.26, allocations: 64.66 kB / 1.13 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/1.262, allocations: 411.4 kB / 1.13 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007509/1.27, allocations: 1.307 MB / 1.132 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008999/1.279, allocations: 1.836 MB / 1.134 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008451/1.287, allocations: 2.911 MB / 1.136 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/1.304, allocations: 6.434 MB / 1.143 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/1.308, allocations: 1.465 MB / 1.144 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00473/1.313, allocations: 1.654 MB / 1.146 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001745/1.315, allocations: 188.5 kB / 1.146 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/1.319, allocations: 0.519 MB / 1.146 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003143/1.322, allocations: 1.261 MB / 1.148 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002333/1.324, allocations: 0.7984 MB / 1.148 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/1.337, allocations: 6.641 MB / 1.155 GB, free: 11.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.337, allocations: 3.938 kB / 1.155 GB, free: 11.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.729e-06/1.337, allocations: 1 kB / 1.155 GB, free: 11.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003569/1.337, allocations: 3.938 kB / 1.155 GB, free: 11.86 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: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01639/1.354, allocations: 3.782 MB / 1.159 GB, free: 9.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.354, allocations: 14.14 kB / 1.159 GB, free: 9.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02351/1.377, allocations: 1.999 MB / 1.161 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008471/1.386, allocations: 2.343 MB / 1.163 GB, free: 6.723 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/1.386, allocations: 325.4 kB / 1.163 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/1.389, allocations: 428.5 kB / 1.164 GB, free: 6.434 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/1.416, allocations: 6.56 MB / 1.17 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/1.416, allocations: 15.98 kB / 1.17 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.418, allocations: 182.5 kB / 1.17 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003687/1.418, allocations: 227.3 kB / 1.17 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/1.447, allocations: 6.534 MB / 1.177 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06311/1.51, allocations: 23.75 MB / 1.2 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/1.529, allocations: 4.182 MB / 1.204 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/1.53, allocations: 0.5072 MB / 1.205 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008805/1.539, allocations: 2.033 MB / 1.207 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=240): time 6.422e-06/1.539, allocations: 0 / 1.207 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=243): time 0.03008/1.569, allocations: 7.205 MB / 1.214 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000278/1.569, allocations: 393.8 kB / 1.214 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/1.573, allocations: 1.705 MB / 1.216 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000858/1.574, allocations: 69.7 kB / 1.216 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/1.577, allocations: 1.726 MB / 1.217 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.579, allocations: 0.8086 MB / 1.218 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/1.579, allocations: 52 kB / 1.218 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003072/1.579, allocations: 415.4 kB / 1.219 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007745/1.587, allocations: 1.547 MB / 1.22 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00876/1.596, allocations: 2.254 MB / 1.222 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/1.605, allocations: 1.829 MB / 1.224 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/1.605, allocations: 8 kB / 1.224 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01943/1.624, allocations: 4.122 MB / 1.228 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.003841/1.628, allocations: 7.256 MB / 1.235 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/1.628, allocations: 20 kB / 1.235 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.169e-05/1.628, allocations: 36 kB / 1.235 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008644/1.637, allocations: 0.8073 MB / 1.236 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/1.637, allocations: 43.86 kB / 1.236 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/1.643, allocations: 382.6 kB / 1.236 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.645, allocations: 135.9 kB / 1.237 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.645, allocations: 6.188 kB / 1.237 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01821/1.663, allocations: 3.69 MB / 1.24 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/1.663, allocations: 23.94 kB / 1.24 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.172e-05/1.663, allocations: 36.12 kB / 1.24 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008112/1.671, allocations: 0.7722 MB / 1.241 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-05/1.671, allocations: 43.8 kB / 1.241 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/1.677, allocations: 350.2 kB / 1.241 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009439/1.678, allocations: 131.9 kB / 1.242 GB, free: 10.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 337 * 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.004756/1.683, allocations: 1.277 MB / 1.243 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.684, allocations: 229.2 kB / 1.243 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.704, allocations: 4.136 MB / 1.247 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/1.704, allocations: 24 kB / 1.247 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.704, allocations: 0 / 1.247 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-05/1.704, allocations: 15.95 kB / 1.247 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/1.736, allocations: 8.892 MB / 1.256 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.736, allocations: 0 / 1.256 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007818/1.744, allocations: 0.7217 MB / 1.256 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.925e-05/1.744, allocations: 12 kB / 1.256 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007327/1.745, allocations: 67.94 kB / 1.257 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-05/1.745, allocations: 12 kB / 1.257 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/1.745, allocations: 11.92 kB / 1.257 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.762, allocations: 4.1 MB / 1.261 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/1.765, allocations: 0.7549 MB / 1.261 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009922/1.766, allocations: 51.98 kB / 1.261 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005466/1.771, allocations: 271.5 kB / 1.262 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008086/1.772, allocations: 165.7 kB / 1.262 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005457/1.773, allocations: 87.94 kB / 1.262 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003697/1.776, allocations: 1.229 MB / 1.263 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.51e-07/1.777, allocations: 0 / 1.263 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009682/1.786, allocations: 1.265 MB / 1.264 GB, free: 2.516 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002727/1.789, allocations: 0.6229 MB / 1.265 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02567/1.815, allocations: 5.686 MB / 1.27 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-05/1.815, allocations: 0.875 kB / 1.27 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/1.829, allocations: 1.834 MB / 1.272 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00973/1.839, allocations: 0.5076 MB / 1.273 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/1.881, allocations: 9.032 MB / 1.282 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/1.885, allocations: 2.623 MB / 1.284 GB, free: 14.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009449/1.895, allocations: 1.261 MB / 1.285 GB, free: 13.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.897, allocations: 275.2 kB / 1.286 GB, free: 12.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.733e-06/1.897, allocations: 4 kB / 1.286 GB, free: 12.75 MB / 0.823 GB Notification: Performance of Templates: time 0.1115/2.009, allocations: 38.18 MB / 1.323 GB, free: 6.715 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)