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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001544/0.001544, allocations: 180.8 kB / 370.8 MB, free: 10.87 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.375/2.375, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001151/0.001151, allocations: 93.66 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006422, allocations: 11.52 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2209, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03379/0.2548, allocations: 22.89 MB / 1.001 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8722/1.127, allocations: 133.8 MB / 1.131 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003725/1.131, allocations: 66.62 kB / 1.131 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/1.134, allocations: 444.1 kB / 1.132 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007266/1.141, allocations: 1.32 MB / 1.133 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00832/1.149, allocations: 1.854 MB / 1.135 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008272/1.157, allocations: 3.208 MB / 1.138 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/1.174, allocations: 6.904 MB / 1.145 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/1.179, allocations: 1.58 MB / 1.146 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00495/1.184, allocations: 1.79 MB / 1.148 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001739/1.185, allocations: 198.3 kB / 1.148 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/1.189, allocations: 0.5694 MB / 1.149 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003145/1.192, allocations: 1.396 MB / 1.15 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/1.195, allocations: 0.8652 MB / 1.151 GB, free: 15 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.208, allocations: 7.216 MB / 1.158 GB, free: 9.578 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.208, allocations: 4 kB / 1.158 GB, free: 9.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.477e-06/1.208, allocations: 0 / 1.158 GB, free: 9.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003569/1.209, allocations: 0 / 1.158 GB, free: 9.574 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.01626/1.225, allocations: 4 MB / 1.162 GB, free: 6.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.225, allocations: 12.3 kB / 1.162 GB, free: 6.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0231/1.248, allocations: 2.061 MB / 1.164 GB, free: 5.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0085/1.257, allocations: 2.52 MB / 1.166 GB, free: 4.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/1.257, allocations: 347.1 kB / 1.167 GB, free: 3.977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/1.259, allocations: 465.1 kB / 1.167 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/1.287, allocations: 7.049 MB / 1.174 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/1.288, allocations: 18.56 kB / 1.174 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/1.29, allocations: 200.1 kB / 1.174 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/1.29, allocations: 252.6 kB / 1.175 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/1.32, allocations: 6.885 MB / 1.181 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0666/1.387, allocations: 26.96 MB / 1.208 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.406, allocations: 4.294 MB / 1.212 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.407, allocations: 0.515 MB / 1.212 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009213/1.416, allocations: 2.225 MB / 1.214 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=254): time 7.755e-06/1.417, allocations: 0 / 1.214 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257): time 0.03304/1.45, allocations: 7.932 MB / 1.222 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002275/1.45, allocations: 385.8 kB / 1.223 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/1.454, allocations: 1.785 MB / 1.224 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009078/1.455, allocations: 73.7 kB / 1.224 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/1.458, allocations: 1.828 MB / 1.226 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001803/1.46, allocations: 0.8549 MB / 1.227 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/1.46, allocations: 52 kB / 1.227 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002966/1.46, allocations: 419.5 kB / 1.227 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00772/1.468, allocations: 1.661 MB / 1.229 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00885/1.477, allocations: 2.359 MB / 1.231 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008663/1.486, allocations: 1.943 MB / 1.233 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/1.486, allocations: 11.94 kB / 1.233 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01999/1.506, allocations: 4.383 MB / 1.238 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003047/1.509, allocations: 6.948 MB / 1.244 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.844e-05/1.509, allocations: 20 kB / 1.244 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.397e-05/1.509, allocations: 32 kB / 1.244 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008821/1.518, allocations: 0.8346 MB / 1.245 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.341e-05/1.518, allocations: 43.86 kB / 1.245 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006352/1.524, allocations: 394.2 kB / 1.246 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.526, allocations: 135.9 kB / 1.246 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.526, allocations: 4 kB / 1.246 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01736/1.543, allocations: 3.841 MB / 1.249 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-05/1.543, allocations: 19.98 kB / 1.25 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.047e-05/1.543, allocations: 32 kB / 1.25 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008062/1.551, allocations: 0.7802 MB / 1.25 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.812e-05/1.551, allocations: 39.86 kB / 1.25 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.557, allocations: 354.1 kB / 1.251 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009876/1.558, allocations: 131.9 kB / 1.251 GB, free: 356 kB / 0.7761 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.004971/1.563, allocations: 1.351 MB / 1.252 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.564, allocations: 245 kB / 1.252 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.585, allocations: 4.529 MB / 1.257 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.585, allocations: 24 kB / 1.257 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.585, allocations: 4 kB / 1.257 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/1.585, allocations: 15.91 kB / 1.257 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03361/1.619, allocations: 9.634 MB / 1.266 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.619, allocations: 0 / 1.266 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008388/1.628, allocations: 0.7763 MB / 1.267 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/1.628, allocations: 11.94 kB / 1.267 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007896/1.628, allocations: 75.94 kB / 1.267 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-05/1.628, allocations: 12 kB / 1.267 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.628, allocations: 0 / 1.267 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.647, allocations: 4.481 MB / 1.271 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/1.65, allocations: 0.8209 MB / 1.272 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.651, allocations: 48 kB / 1.272 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/1.657, allocations: 299.5 kB / 1.273 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009067/1.658, allocations: 157.9 kB / 1.273 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000525/1.659, allocations: 95.94 kB / 1.273 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003642/1.662, allocations: 1.291 MB / 1.274 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.71e-07/1.662, allocations: 0 / 1.274 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009472/1.672, allocations: 1.34 MB / 1.275 GB, free: 6.711 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.002868/1.675, allocations: 0.6263 MB / 1.276 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02693/1.702, allocations: 6.075 MB / 1.282 GB, free: 156 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/1.702, allocations: 4 kB / 1.282 GB, free: 152 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008813/1.711, allocations: 2.015 MB / 1.284 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/1.716, allocations: 0.5814 MB / 1.284 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02985/1.746, allocations: 9.787 MB / 1.294 GB, free: 3.691 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/1.752, allocations: 2.781 MB / 1.297 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01112/1.763, allocations: 1.27 MB / 1.298 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002886/1.766, allocations: 279.2 kB / 1.298 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of SimCode: time 1.603e-06/1.766, allocations: 0 / 1.298 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of Templates: time 0.1396/1.906, allocations: 41.64 MB / 1.339 GB, free: 5.832 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)