Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008681/0.0008681, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005157, allocations: 15.75 kB / 0.6735 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2756, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01111/0.2867, allocations: 9.498 MB / 0.7964 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.699/0.9858, allocations: 129.7 MB / 0.923 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.988, allocations: 33.62 kB / 0.9231 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.9891, allocations: 168.5 kB / 0.9232 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.9933, allocations: 0.8099 MB / 0.924 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.9985, allocations: 1.122 MB / 0.9251 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004576/1.003, allocations: 1.675 MB / 0.9268 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005122/1.008, allocations: 2.287 MB / 0.929 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/1.01, allocations: 0.8135 MB / 0.9298 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.013, allocations: 0.8773 MB / 0.9306 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004248/1.013, allocations: 62.25 kB / 0.9307 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/1.015, allocations: 389.5 kB / 0.9311 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005844/1.015, allocations: 461.9 kB / 0.9315 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007093/1.016, allocations: 452.4 kB / 0.9319 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/1.02, allocations: 3.147 MB / 0.935 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.02, allocations: 0 / 0.935 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.827e-06/1.02, allocations: 0.875 kB / 0.935 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001259/1.02, allocations: 0 / 0.935 GB, free: 6 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.006296/1.027, allocations: 2.386 MB / 0.9373 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.027, allocations: 13.25 kB / 0.9374 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.039, allocations: 1.662 MB / 0.939 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/1.043, allocations: 1.402 MB / 0.9404 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/1.043, allocations: 188.6 kB / 0.9405 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000655/1.044, allocations: 246.7 kB / 0.9408 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009199/1.053, allocations: 3.404 MB / 0.9441 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/1.053, allocations: 6.312 kB / 0.9441 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/1.054, allocations: 111.5 kB / 0.9442 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/1.054, allocations: 119 kB / 0.9443 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/1.066, allocations: 3.918 MB / 0.9481 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/1.084, allocations: 10.05 MB / 0.958 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007212/1.091, allocations: 2.716 MB / 0.9606 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/1.092, allocations: 0.5774 MB / 0.9612 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003686/1.096, allocations: 1.52 MB / 0.9627 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=194): time 5.811e-06/1.096, allocations: 0 / 0.9627 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=195): time 0.0112/1.107, allocations: 4.271 MB / 0.9668 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/1.108, allocations: 262.1 kB / 0.9671 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.109, allocations: 1.084 MB / 0.9681 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00029/1.11, allocations: 63.48 kB / 0.9682 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/1.111, allocations: 0.9336 MB / 0.9691 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/1.111, allocations: 0.6373 MB / 0.9697 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.112, allocations: 33.78 kB / 0.9698 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.112, allocations: 371.6 kB / 0.9701 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/1.115, allocations: 1.056 MB / 0.9711 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/1.118, allocations: 1.373 MB / 0.9725 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/1.121, allocations: 1.169 MB / 0.9736 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.121, allocations: 0 / 0.9736 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007116/1.128, allocations: 2.729 MB / 0.9763 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0013/1.129, allocations: 2.47 MB / 0.9787 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.129, allocations: 8.375 kB / 0.9787 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-05/1.129, allocations: 16.28 kB / 0.9787 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.132, allocations: 0.5409 MB / 0.9793 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/1.132, allocations: 19.3 kB / 0.9793 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.135, allocations: 271.1 kB / 0.9795 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.135, allocations: 94.78 kB / 0.9796 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.135, allocations: 4.875 kB / 0.9796 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006381/1.142, allocations: 2.512 MB / 0.9821 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.142, allocations: 13.28 kB / 0.9821 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.142, allocations: 13.22 kB / 0.9821 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/1.144, allocations: 0.5324 MB / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.144, allocations: 23.86 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.147, allocations: 264.2 kB / 0.9829 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.147, allocations: 83.97 kB / 0.983 GB, free: 4.527 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (229): * Single equations (assignments): 229 * 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.001596/1.148, allocations: 0.5883 MB / 0.9836 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/1.149, allocations: 174.1 kB / 0.9837 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008025/1.157, allocations: 3.127 MB / 0.9868 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.157, allocations: 20.75 kB / 0.9868 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.157, allocations: 0 / 0.9868 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.157, allocations: 11.95 kB / 0.9868 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.17, allocations: 5.845 MB / 0.9925 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.17, allocations: 2.812 kB / 0.9925 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/1.173, allocations: 0.5096 MB / 0.993 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.636e-05/1.173, allocations: 11.03 kB / 0.993 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/1.173, allocations: 64.91 kB / 0.9931 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.771e-05/1.173, allocations: 13.81 kB / 0.9931 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.173, allocations: 2.656 kB / 0.9931 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007398/1.18, allocations: 2.89 MB / 0.9959 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.182, allocations: 0.5686 MB / 0.9965 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/1.183, allocations: 43.48 kB / 0.9965 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.185, allocations: 213.6 kB / 0.9967 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/1.186, allocations: 122 kB / 0.9968 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/1.186, allocations: 76.97 kB / 0.9969 GB, free: 156 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00165/1.188, allocations: 0.7759 MB / 0.9977 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.703e-06/1.188, allocations: 0 / 0.9977 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004078/1.192, allocations: 0.7745 MB / 0.9984 GB, free: 15.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * 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.002053/1.194, allocations: 0.6034 MB / 0.999 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.206, allocations: 3.967 MB / 1.003 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.206, allocations: 7.938 kB / 1.003 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/1.21, allocations: 1.363 MB / 1.004 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.212, allocations: 362.9 kB / 1.005 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.226, allocations: 5.358 MB / 1.01 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.228, allocations: 1.598 MB / 1.011 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004963/1.233, allocations: 0.7827 MB / 1.012 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/1.234, allocations: 215.1 kB / 1.012 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of SimCode: time 9.11e-07/1.234, allocations: 0 / 1.012 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.04787/1.281, allocations: 26.58 MB / 1.038 GB, free: 11.32 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: