Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007131/0.007131, allocations: 169.2 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 7.406 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.032/0.3499, allocations: 27.68 MB / 1.101 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1769/0.5268, allocations: 154 MB / 1.252 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.5306, allocations: 67.69 kB / 1.252 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.5336, allocations: 0.5542 MB / 1.252 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7075/1.241, allocations: 1.759 MB / 1.254 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006506/1.248, allocations: 2.421 MB / 1.256 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.26, allocations: 8.59 MB / 1.265 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/1.274, allocations: 8.409 MB / 1.273 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/1.279, allocations: 1.885 MB / 1.275 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005713/1.285, allocations: 2.584 MB / 1.277 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/1.286, allocations: 213 kB / 1.277 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/1.29, allocations: 1.073 MB / 1.278 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002549/1.292, allocations: 1.537 MB / 1.28 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004445/1.297, allocations: 2.296 MB / 1.282 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.307, allocations: 8.972 MB / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.307, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.307, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002659/1.308, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01245/1.32, allocations: 4.268 MB / 1.295 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.32, allocations: 8.656 kB / 1.295 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/1.336, allocations: 2.17 MB / 1.297 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.342, allocations: 2.675 MB / 1.3 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/1.342, allocations: 363.5 kB / 1.3 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/1.344, allocations: 472.1 kB / 1.301 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/1.361, allocations: 7.4 MB / 1.308 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/1.361, allocations: 5.938 kB / 1.308 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006129/1.361, allocations: 208.3 kB / 1.308 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/1.362, allocations: 266.3 kB / 1.308 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/1.379, allocations: 7.199 MB / 1.315 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/1.422, allocations: 28.47 MB / 1.343 GB, free: 3.289 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/1.434, allocations: 4.519 MB / 1.348 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005669/1.44, allocations: 2.212 MB / 1.35 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009488/1.441, allocations: 0.5177 MB / 1.35 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006256/1.447, allocations: 2.501 MB / 1.353 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=277): time 7.244e-06/1.447, allocations: 0 / 1.353 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=280): time 0.02446/1.471, allocations: 8.5 MB / 1.361 GB, free: 8.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/1.472, allocations: 397.8 kB / 1.361 GB, free: 8.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/1.475, allocations: 1.926 MB / 1.363 GB, free: 7.117 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000749/1.476, allocations: 79.48 kB / 1.363 GB, free: 7.047 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.478, allocations: 1.876 MB / 1.365 GB, free: 5.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.479, allocations: 0.9206 MB / 1.366 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009233/1.48, allocations: 242 kB / 1.366 GB, free: 4.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.48, allocations: 302.1 kB / 1.367 GB, free: 4.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005788/1.486, allocations: 1.838 MB / 1.368 GB, free: 3.234 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006259/1.492, allocations: 2.543 MB / 1.371 GB, free: 1.434 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.504, allocations: 4.371 MB / 1.375 GB, free: 13.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-05/1.504, allocations: 4 kB / 1.375 GB, free: 13.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.01436/1.518, allocations: 4.779 MB / 1.38 GB, free: 8.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.000463/1.519, allocations: 0.6019 MB / 1.38 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.519, allocations: 20 kB / 1.38 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/1.519, allocations: 28 kB / 1.38 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/1.524, allocations: 0.909 MB / 1.381 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.537e-05/1.524, allocations: 41.8 kB / 1.381 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/1.53, allocations: 464.8 kB / 1.382 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.531, allocations: 152 kB / 1.382 GB, free: 6.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.531, allocations: 4 kB / 1.382 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/1.544, allocations: 4.219 MB / 1.386 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/1.544, allocations: 24.25 kB / 1.386 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/1.544, allocations: 31.98 kB / 1.386 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.549, allocations: 0.8466 MB / 1.387 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.061e-05/1.549, allocations: 41.8 kB / 1.387 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.554, allocations: 425.9 kB / 1.387 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.555, allocations: 151.9 kB / 1.388 GB, free: 0.4961 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 385 * 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.004149/1.559, allocations: 1.402 MB / 1.389 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.56, allocations: 260.8 kB / 1.389 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.574, allocations: 4.915 MB / 1.394 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/1.574, allocations: 32 kB / 1.394 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.574, allocations: 0 / 1.394 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.645e-05/1.574, allocations: 27.88 kB / 1.394 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.586, allocations: 5.901 MB / 1.4 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/1.586, allocations: 15.95 kB / 1.4 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004767/1.591, allocations: 0.8127 MB / 1.401 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.801e-05/1.591, allocations: 12 kB / 1.401 GB, free: 3.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004293/1.591, allocations: 75.94 kB / 1.401 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/1.591, allocations: 15.98 kB / 1.401 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.591, allocations: 6.906 kB / 1.401 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.603, allocations: 4.617 MB / 1.405 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.605, allocations: 0.8792 MB / 1.406 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.606, allocations: 63.98 kB / 1.406 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004177/1.611, allocations: 347.6 kB / 1.406 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/1.611, allocations: 200.7 kB / 1.407 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/1.612, allocations: 103.9 kB / 1.407 GB, free: 12.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002959/1.615, allocations: 1.403 MB / 1.408 GB, free: 11.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.81e-07/1.615, allocations: 0 / 1.408 GB, free: 11.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006823/1.621, allocations: 1.554 MB / 1.41 GB, free: 9.766 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDifTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,pvOriented.HDirTil.incAng.decAng.tNext) * Number of discrete states: 9 (pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.002051/1.623, allocations: 0.6748 MB / 1.41 GB, free: 9.316 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01788/1.641, allocations: 6.682 MB / 1.417 GB, free: 2.758 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.641, allocations: 128 / 1.417 GB, free: 2.758 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005684/1.647, allocations: 2.221 MB / 1.419 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.653, allocations: 0.698 MB / 1.42 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.675, allocations: 10.71 MB / 1.43 GB, free: 5.129 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.679, allocations: 2.755 MB / 1.433 GB, free: 2.34 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.007906/1.687, allocations: 1.346 MB / 1.434 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/1.689, allocations: 307.2 kB / 1.434 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of SimCode: time 7.12e-07/1.689, allocations: 7.938 kB / 1.434 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of Templates: time 0.09343/1.783, allocations: 48.09 MB / 1.481 GB, free: 1.082 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)