Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001218/0.001218, allocations: 100.1 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.001465/0.001465, allocations: 177.3 kB / 15.94 MB, free: 220 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.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.723/1.723, allocations: 251.9 MB / 0.51 GB, free: 4.914 MB / 414.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.0006049/0.0006058, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7296, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01228/0.742, allocations: 9.508 MB / 0.7373 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.9268, allocations: 129.7 MB / 0.8639 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.9287, allocations: 31.81 kB / 0.864 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.9294, allocations: 170.5 kB / 0.8641 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.9322, allocations: 0.8044 MB / 0.8649 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.9355, allocations: 1.124 MB / 0.866 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.9391, allocations: 1.69 MB / 0.8676 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003787/0.9429, allocations: 2.287 MB / 0.8699 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.9444, allocations: 0.8167 MB / 0.8707 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.9457, allocations: 0.8705 MB / 0.8715 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.9459, allocations: 64 kB / 0.8716 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.9471, allocations: 391.5 kB / 0.872 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.9475, allocations: 454.1 kB / 0.8724 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004519/0.948, allocations: 460.3 kB / 0.8728 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.9511, allocations: 3.144 MB / 0.8759 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9511, allocations: 0 / 0.8759 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9511, allocations: 0 / 0.8759 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001103/0.9512, allocations: 0 / 0.8759 GB, free: 3.5 MB / 0.6856 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.005741/0.957, allocations: 2.383 MB / 0.8782 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.957, allocations: 8.031 kB / 0.8782 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.9676, allocations: 1.67 MB / 0.8799 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.9707, allocations: 1.397 MB / 0.8812 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.9709, allocations: 193 kB / 0.8814 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.9713, allocations: 247.9 kB / 0.8817 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007511/0.9788, allocations: 3.399 MB / 0.885 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.9789, allocations: 7.922 kB / 0.885 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.9791, allocations: 112 kB / 0.8851 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.9793, allocations: 124.6 kB / 0.8852 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.9893, allocations: 3.921 MB / 0.889 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/1.007, allocations: 10.04 MB / 0.8988 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/1.015, allocations: 2.698 MB / 0.9015 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.016, allocations: 0.5865 MB / 0.902 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004814/1.021, allocations: 1.507 MB / 0.9035 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=194): time 1.587e-05/1.021, allocations: 0 / 0.9035 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=195): time 0.01369/1.035, allocations: 4.269 MB / 0.9077 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/1.035, allocations: 261.3 kB / 0.9079 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.037, allocations: 1.085 MB / 0.909 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/1.037, allocations: 57.7 kB / 0.9091 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.5524/1.59, allocations: 0.929 MB / 0.91 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.591, allocations: 0.6416 MB / 0.9106 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/1.592, allocations: 35.53 kB / 0.9106 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.592, allocations: 374.7 kB / 0.911 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0039/1.596, allocations: 1.053 MB / 0.912 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/1.599, allocations: 1.372 MB / 0.9133 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/1.603, allocations: 1.16 MB / 0.9145 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/1.603, allocations: 5.594 kB / 0.9145 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008427/1.612, allocations: 2.737 MB / 0.9172 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005521/1.612, allocations: 2.472 MB / 0.9196 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.612, allocations: 6.109 kB / 0.9196 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-05/1.612, allocations: 15.09 kB / 0.9196 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/1.616, allocations: 0.5376 MB / 0.9201 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.693e-05/1.616, allocations: 16 kB / 0.9201 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/1.619, allocations: 275.2 kB / 0.9204 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/1.619, allocations: 87.66 kB / 0.9205 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.619, allocations: 9.406 kB / 0.9205 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007956/1.627, allocations: 2.518 MB / 0.9229 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.627, allocations: 6.594 kB / 0.923 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.627, allocations: 15.03 kB / 0.923 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.63, allocations: 0.5276 MB / 0.9235 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.787e-05/1.63, allocations: 21.66 kB / 0.9235 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.632, allocations: 264.6 kB / 0.9238 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.633, allocations: 86.12 kB / 0.9238 GB, free: 169.4 MB / 0.7169 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.001429/1.634, allocations: 0.5825 MB / 0.9244 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/1.634, allocations: 168.6 kB / 0.9246 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/1.642, allocations: 3.129 MB / 0.9276 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.642, allocations: 31.47 kB / 0.9277 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.642, allocations: 7.703 kB / 0.9277 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/1.642, allocations: 7.953 kB / 0.9277 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.653, allocations: 5.841 MB / 0.9334 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/1.653, allocations: 5.688 kB / 0.9334 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.656, allocations: 0.5165 MB / 0.9339 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-05/1.656, allocations: 7.312 kB / 0.9339 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.656, allocations: 67.81 kB / 0.934 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/1.656, allocations: 8 kB / 0.934 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.656, allocations: 0 / 0.934 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/1.662, allocations: 2.891 MB / 0.9368 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.664, allocations: 0.5708 MB / 0.9373 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/1.664, allocations: 39.95 kB / 0.9374 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.667, allocations: 213.6 kB / 0.9376 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.667, allocations: 129.8 kB / 0.9377 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/1.667, allocations: 75.94 kB / 0.9378 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001474/1.669, allocations: 0.7753 MB / 0.9385 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.669, allocations: 0 / 0.9385 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003571/1.672, allocations: 0.7734 MB / 0.9393 GB, free: 159 MB / 0.7169 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.00155/1.674, allocations: 0.608 MB / 0.9399 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00989/1.684, allocations: 3.974 MB / 0.9438 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.684, allocations: 0 / 0.9438 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/1.687, allocations: 1.359 MB / 0.9451 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.689, allocations: 367.6 kB / 0.9454 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009244/1.698, allocations: 5.358 MB / 0.9507 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.699, allocations: 1.599 MB / 0.9522 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004462/1.704, allocations: 0.775 MB / 0.953 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000899/1.705, allocations: 211.3 kB / 0.9532 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/1.705, allocations: 4 kB / 0.9532 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.04154/1.746, allocations: 26.57 MB / 0.9791 GB, free: 118.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: