Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 185.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009714, allocations: 102.1 kB / 0.9329 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 48.67 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3218, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02394/0.3458, allocations: 25.62 MB / 1.243 GB, free: 91.62 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.5152, allocations: 155.1 MB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.5208, allocations: 71.69 kB / 1.395 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.005902/0.5268, allocations: 1.688 MB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.533, allocations: 1.505 MB / 1.398 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007538/0.5406, allocations: 2.554 MB / 1.4 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.5514, allocations: 7.959 MB / 1.408 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0174/0.5689, allocations: 7.664 MB / 1.416 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005134/0.5741, allocations: 2.222 MB / 1.418 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006124/0.5803, allocations: 3.009 MB / 1.421 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002534/0.5829, allocations: 396 kB / 1.421 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.5876, allocations: 1.256 MB / 1.422 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.5917, allocations: 1.804 MB / 1.424 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.7183/1.31, allocations: 2.482 MB / 1.426 GB, free: 25.28 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.019/1.329, allocations: 8.874 MB / 1.435 GB, free: 25.09 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.329, allocations: 1.562 kB / 1.435 GB, free: 25.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/1.329, allocations: 0 / 1.435 GB, free: 25.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005529/1.33, allocations: 0.625 kB / 1.435 GB, free: 25.09 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1250 * Number of variables: 1250 Notification: Performance of Generate backend data structure: time 0.02897/1.359, allocations: 5.065 MB / 1.44 GB, free: 23.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/1.359, allocations: 12.98 kB / 1.44 GB, free: 23.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.375, allocations: 1.978 MB / 1.442 GB, free: 22.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/1.385, allocations: 2.578 MB / 1.445 GB, free: 22.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000557/1.386, allocations: 361.2 kB / 1.445 GB, free: 22.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003536/1.389, allocations: 464.6 kB / 1.445 GB, free: 22.32 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/1.418, allocations: 7.18 MB / 1.452 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/1.418, allocations: 6.625 kB / 1.452 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/1.42, allocations: 199.7 kB / 1.453 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/1.421, allocations: 263.2 kB / 1.453 GB, free: 21.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/1.442, allocations: 6.944 MB / 1.46 GB, free: 21.51 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06265/1.505, allocations: 27.15 MB / 1.486 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/1.517, allocations: 4.245 MB / 1.49 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/1.523, allocations: 2.109 MB / 1.492 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/1.524, allocations: 0.5208 MB / 1.493 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006869/1.531, allocations: 2.276 MB / 1.495 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=256): time 1.11e-05/1.531, allocations: 3.188 kB / 1.495 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of matching and sorting (n=259): time 0.03019/1.561, allocations: 8.037 MB / 1.503 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.561, allocations: 399.3 kB / 1.503 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/1.565, allocations: 1.818 MB / 1.505 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.566, allocations: 72.45 kB / 1.505 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.568, allocations: 1.837 MB / 1.507 GB, free: 1.688 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.57, allocations: 0.8621 MB / 1.508 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00273/1.573, allocations: 0.5748 MB / 1.508 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/1.573, allocations: 305.1 kB / 1.509 GB, free: 312 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.578, allocations: 1.737 MB / 1.51 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/1.585, allocations: 2.427 MB / 1.513 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.597, allocations: 4.171 MB / 1.517 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/1.598, allocations: 4.719 kB / 1.517 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=357) (initialization): time 0.01441/1.612, allocations: 4.524 MB / 1.521 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/1.612, allocations: 11.78 kB / 1.521 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.455e-05/1.612, allocations: 15.66 kB / 1.521 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.807e-05/1.612, allocations: 35.53 kB / 1.521 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004662/1.617, allocations: 0.8505 MB / 1.522 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.754e-05/1.617, allocations: 41.95 kB / 1.522 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.622, allocations: 405.3 kB / 1.522 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006822/1.622, allocations: 142.9 kB / 1.523 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008445/1.631, allocations: 2.697 MB / 1.525 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005306/1.636, allocations: 2.268 MB / 1.527 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009312/1.645, allocations: 3.875 MB / 1.531 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.484e-05/1.645, allocations: 4 kB / 1.531 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of matching and sorting (n=357) (initialization_lambda0): time 0.01351/1.659, allocations: 4.212 MB / 1.535 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.659, allocations: 16.78 kB / 1.535 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-05/1.659, allocations: 16 kB / 1.535 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/1.659, allocations: 32 kB / 1.535 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/1.664, allocations: 0.7964 MB / 1.536 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.538e-05/1.664, allocations: 48.64 kB / 1.536 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.668, allocations: 362.2 kB / 1.537 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/1.669, allocations: 147.9 kB / 1.537 GB, free: 12.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001506/1.67, allocations: 358.4 kB / 1.537 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.672, allocations: 248.9 kB / 1.537 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.685, allocations: 4.586 MB / 1.542 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.685, allocations: 24 kB / 1.542 GB, free: 7.645 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.685, allocations: 8 kB / 1.542 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.685, allocations: 15.94 kB / 1.542 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/1.709, allocations: 9.765 MB / 1.551 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.709, allocations: 4 kB / 1.551 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004375/1.714, allocations: 0.7872 MB / 1.552 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.153e-05/1.714, allocations: 17.14 kB / 1.552 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004414/1.714, allocations: 71.94 kB / 1.552 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.889e-05/1.714, allocations: 12 kB / 1.552 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.714, allocations: 8 kB / 1.552 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.732, allocations: 7.75 MB / 1.56 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/1.735, allocations: 0.7705 MB / 1.561 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.736, allocations: 71.77 kB / 1.561 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003587/1.739, allocations: 287.6 kB / 1.561 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.74, allocations: 165.8 kB / 1.561 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/1.74, allocations: 95.94 kB / 1.561 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003309/1.743, allocations: 1.319 MB / 1.562 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/1.743, allocations: 8.469 kB / 1.562 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007916/1.751, allocations: 1.387 MB / 1.564 GB, free: 0.9141 MB / 0.9636 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 (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/1.754, allocations: 0.6779 MB / 1.564 GB, free: 500 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01673/1.771, allocations: 6.267 MB / 1.571 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/1.771, allocations: 0 / 1.571 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005452/1.776, allocations: 2.059 MB / 1.573 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005913/1.782, allocations: 0.6314 MB / 1.573 GB, free: 7.711 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.808, allocations: 11.56 MB / 1.585 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/1.814, allocations: 2.799 MB / 1.587 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008393/1.822, allocations: 1.286 MB / 1.589 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/1.824, allocations: 283.2 kB / 1.589 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/1.824, allocations: 0 / 1.589 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of Templates: time 0.0892/1.913, allocations: 45.22 MB / 1.633 GB, free: 10.86 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)