Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001038/0.001038, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008588/0.0008587, allocations: 102.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006305, allocations: 14.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2815, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02052/0.302, allocations: 22.9 MB / 1.002 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7587/1.061, allocations: 133.8 MB / 1.132 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004382/1.065, allocations: 65.12 kB / 1.133 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/1.067, allocations: 435.4 kB / 1.133 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00594/1.073, allocations: 1.323 MB / 1.134 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006532/1.079, allocations: 1.855 MB / 1.136 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007133/1.087, allocations: 3.206 MB / 1.139 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/1.099, allocations: 6.915 MB / 1.146 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/1.104, allocations: 1.58 MB / 1.147 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/1.108, allocations: 1.786 MB / 1.149 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/1.11, allocations: 198.1 kB / 1.149 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/1.112, allocations: 0.5658 MB / 1.15 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/1.114, allocations: 1.393 MB / 1.151 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/1.116, allocations: 0.8652 MB / 1.152 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.126, allocations: 7.221 MB / 1.159 GB, free: 8.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.126, allocations: 0 / 1.159 GB, free: 8.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/1.126, allocations: 0 / 1.159 GB, free: 8.762 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003862/1.127, allocations: 0 / 1.159 GB, free: 8.762 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: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.01444/1.141, allocations: 4.008 MB / 1.163 GB, free: 6.027 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.141, allocations: 12.64 kB / 1.163 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/1.156, allocations: 2.065 MB / 1.165 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0079/1.164, allocations: 2.524 MB / 1.168 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/1.164, allocations: 347 kB / 1.168 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/1.166, allocations: 455.4 kB / 1.168 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/1.187, allocations: 7.05 MB / 1.175 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/1.187, allocations: 10.59 kB / 1.175 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006609/1.188, allocations: 202.5 kB / 1.175 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002892/1.188, allocations: 257.1 kB / 1.176 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/1.207, allocations: 6.89 MB / 1.182 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0575/1.265, allocations: 26.97 MB / 1.209 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.276, allocations: 4.28 MB / 1.213 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.278, allocations: 0.5151 MB / 1.213 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006163/1.284, allocations: 2.225 MB / 1.216 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=254): time 8.726e-06/1.284, allocations: 4 kB / 1.216 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257): time 0.02317/1.307, allocations: 7.924 MB / 1.223 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002546/1.307, allocations: 389.6 kB / 1.224 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/1.311, allocations: 1.785 MB / 1.225 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008271/1.312, allocations: 73.7 kB / 1.226 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0024/1.315, allocations: 1.825 MB / 1.227 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.316, allocations: 0.8626 MB / 1.228 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/1.317, allocations: 52 kB / 1.228 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003885/1.318, allocations: 411.5 kB / 1.229 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005249/1.323, allocations: 1.664 MB / 1.23 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.329, allocations: 2.37 MB / 1.233 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/1.334, allocations: 1.944 MB / 1.234 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/1.334, allocations: 8 kB / 1.234 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01397/1.348, allocations: 4.382 MB / 1.239 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003191/1.352, allocations: 6.945 MB / 1.246 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-05/1.352, allocations: 19.94 kB / 1.246 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.739e-05/1.352, allocations: 32 kB / 1.246 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/1.357, allocations: 0.8268 MB / 1.246 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.085e-05/1.357, allocations: 43.86 kB / 1.246 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.361, allocations: 401.2 kB / 1.247 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/1.362, allocations: 135.9 kB / 1.247 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.362, allocations: 4 kB / 1.247 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/1.374, allocations: 3.84 MB / 1.251 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.379e-05/1.374, allocations: 16 kB / 1.251 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.826e-05/1.374, allocations: 32 kB / 1.251 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/1.378, allocations: 0.777 MB / 1.252 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.322e-05/1.378, allocations: 43.86 kB / 1.252 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/1.382, allocations: 350.2 kB / 1.252 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005804/1.383, allocations: 135.9 kB / 1.252 GB, free: 15.29 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (347): * Single equations (assignments): 347 * 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.004671/1.387, allocations: 1.351 MB / 1.253 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.389, allocations: 256.9 kB / 1.254 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.402, allocations: 4.533 MB / 1.258 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/1.402, allocations: 28 kB / 1.258 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/1.402, allocations: 0 / 1.258 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-05/1.402, allocations: 15.91 kB / 1.258 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.426, allocations: 9.627 MB / 1.267 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.427, allocations: 0 / 1.267 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004374/1.431, allocations: 0.7763 MB / 1.268 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.606e-05/1.431, allocations: 12 kB / 1.268 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005042/1.431, allocations: 75.94 kB / 1.268 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-05/1.432, allocations: 15.94 kB / 1.268 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.432, allocations: 4 kB / 1.268 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.443, allocations: 4.469 MB / 1.273 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.445, allocations: 0.8171 MB / 1.273 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009649/1.446, allocations: 47.98 kB / 1.274 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/1.45, allocations: 291.7 kB / 1.274 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004266/1.45, allocations: 165.8 kB / 1.274 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/1.451, allocations: 95.94 kB / 1.274 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003047/1.454, allocations: 1.299 MB / 1.275 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.01e-07/1.454, allocations: 0 / 1.275 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006988/1.461, allocations: 1.348 MB / 1.277 GB, free: 5.641 MB / 0.8073 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 (276): * Single equations (assignments): 274 * 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.002107/1.463, allocations: 0.6243 MB / 1.277 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0162/1.479, allocations: 6.075 MB / 1.283 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.479, allocations: 4.062 kB / 1.283 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005025/1.484, allocations: 2.015 MB / 1.285 GB, free: 13.03 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.488, allocations: 0.5713 MB / 1.286 GB, free: 12.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.509, allocations: 9.787 MB / 1.295 GB, free: 2.613 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/1.514, allocations: 2.777 MB / 1.298 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006474/1.52, allocations: 1.278 MB / 1.299 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.522, allocations: 283.2 kB / 1.299 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.166e-06/1.522, allocations: 0 / 1.299 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.08177/1.603, allocations: 41.63 MB / 1.34 GB, free: 4.77 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)