Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, 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.001261/0.001261, allocations: 193.2 kB / 499.1 MB, free: 4.691 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.55/1.55, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.001129/0.001129, allocations: 112.9 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 50.72 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3267, 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_N): time 0.02135/0.3481, allocations: 24.51 MB / 1.242 GB, free: 92.66 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.5066, allocations: 154.9 MB / 1.393 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003756/0.5105, allocations: 67.69 kB / 1.393 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.5138, allocations: 1.182 MB / 1.395 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.5183, allocations: 1.279 MB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.5242, allocations: 2.378 MB / 1.398 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007435/0.5317, allocations: 7.214 MB / 1.405 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009452/0.5412, allocations: 7.379 MB / 1.412 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.5444, allocations: 2.082 MB / 1.414 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.5487, allocations: 2.791 MB / 1.417 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.5501, allocations: 384 kB / 1.417 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.5532, allocations: 1.128 MB / 1.419 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.5557, allocations: 1.656 MB / 1.42 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003465/0.5592, allocations: 2.309 MB / 1.422 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.8054/1.365, allocations: 8.176 MB / 1.43 GB, free: 25.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.365, allocations: 0 / 1.43 GB, free: 25.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.334e-06/1.365, allocations: 0 / 1.43 GB, free: 25.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003995/1.365, allocations: 0 / 1.43 GB, free: 25.93 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.02076/1.386, allocations: 4.764 MB / 1.435 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.386, allocations: 17.55 kB / 1.435 GB, free: 24.24 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/1.4, allocations: 1.911 MB / 1.437 GB, free: 23.96 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008654/1.409, allocations: 2.396 MB / 1.439 GB, free: 23.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/1.41, allocations: 335 kB / 1.44 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003928/1.414, allocations: 434.9 kB / 1.44 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/1.444, allocations: 6.697 MB / 1.447 GB, free: 22.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004136/1.444, allocations: 13.42 kB / 1.447 GB, free: 22.77 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002405/1.447, allocations: 184.6 kB / 1.447 GB, free: 22.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005697/1.447, allocations: 226.3 kB / 1.447 GB, free: 22.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02398/1.471, allocations: 6.598 MB / 1.453 GB, free: 22.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/1.523, allocations: 23.92 MB / 1.477 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.534, allocations: 4.126 MB / 1.481 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005167/1.539, allocations: 1.89 MB / 1.483 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/1.54, allocations: 0.5106 MB / 1.483 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005973/1.546, allocations: 2.081 MB / 1.485 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=242): time 1.311e-05/1.546, allocations: 0 / 1.485 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=245): time 0.02246/1.569, allocations: 7.33 MB / 1.492 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.569, allocations: 395.7 kB / 1.493 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.573, allocations: 1.748 MB / 1.494 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007342/1.574, allocations: 67.3 kB / 1.495 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.576, allocations: 1.727 MB / 1.496 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.577, allocations: 0.816 MB / 1.497 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.579, allocations: 0.5633 MB / 1.498 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/1.579, allocations: 306 kB / 1.498 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/1.583, allocations: 1.616 MB / 1.499 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/1.587, allocations: 2.313 MB / 1.502 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/1.595, allocations: 3.946 MB / 1.506 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.595, allocations: 4.5 kB / 1.506 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.009837/1.605, allocations: 4.264 MB / 1.51 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.605, allocations: 16.78 kB / 1.51 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.605, allocations: 19.5 kB / 1.51 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.271e-05/1.605, allocations: 34.75 kB / 1.51 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/1.61, allocations: 0.8241 MB / 1.511 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.809e-05/1.61, allocations: 51.02 kB / 1.511 GB, free: 0.5586 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/1.613, allocations: 392.3 kB / 1.511 GB, free: 348 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.613, allocations: 143.6 kB / 1.511 GB, free: 300 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006292/1.62, allocations: 2.553 MB / 1.514 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00451/1.624, allocations: 2.21 MB / 1.516 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007966/1.632, allocations: 3.744 MB / 1.519 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-05/1.632, allocations: 7.219 kB / 1.519 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=347) (initialization_lambda0): time 0.0103/1.642, allocations: 4.048 MB / 1.523 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.643, allocations: 15.47 kB / 1.523 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.643, allocations: 19.19 kB / 1.523 GB, free: 8.949 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.643, allocations: 33.66 kB / 1.523 GB, free: 8.949 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/1.646, allocations: 0.7861 MB / 1.524 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.572e-05/1.646, allocations: 48.89 kB / 1.524 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/1.65, allocations: 354.3 kB / 1.525 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/1.65, allocations: 139.9 kB / 1.525 GB, free: 8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (347): * Single equations (assignments): 347 * 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.001038/1.651, allocations: 356.7 kB / 1.525 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/1.652, allocations: 241 kB / 1.525 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.663, allocations: 4.195 MB / 1.529 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/1.663, allocations: 28 kB / 1.529 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.663, allocations: 0 / 1.529 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/1.663, allocations: 15.95 kB / 1.529 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.681, allocations: 9.005 MB / 1.538 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.681, allocations: 0 / 1.538 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/1.685, allocations: 0.7424 MB / 1.539 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/1.685, allocations: 12 kB / 1.539 GB, free: 9.332 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.686, allocations: 75.88 kB / 1.539 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/1.686, allocations: 12 kB / 1.539 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.686, allocations: 0 / 1.539 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/1.701, allocations: 7.09 MB / 1.546 GB, free: 2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.703, allocations: 0.7199 MB / 1.547 GB, free: 1.258 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.703, allocations: 70.64 kB / 1.547 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/1.706, allocations: 263.7 kB / 1.547 GB, free: 0.9336 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/1.707, allocations: 165.7 kB / 1.547 GB, free: 0.7695 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.707, allocations: 91.94 kB / 1.547 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002301/1.709, allocations: 1.257 MB / 1.548 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.2e-07/1.709, allocations: 0 / 1.548 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005556/1.715, allocations: 1.311 MB / 1.55 GB, free: 14.09 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 (265): * Single equations (assignments): 263 * 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.00175/1.716, allocations: 0.6641 MB / 1.55 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01477/1.731, allocations: 5.877 MB / 1.556 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.731, allocations: 2.438 kB / 1.556 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004597/1.736, allocations: 1.874 MB / 1.558 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.739, allocations: 0.5714 MB / 1.559 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.758, allocations: 10.72 MB / 1.569 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/1.761, allocations: 2.629 MB / 1.572 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006063/1.767, allocations: 1.273 MB / 1.573 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.768, allocations: 274.7 kB / 1.573 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-06/1.768, allocations: 0 / 1.573 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of Templates: time 0.09789/1.866, allocations: 41.54 MB / 1.614 GB, free: 13.37 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)