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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.578/2.578, allocations: 287.5 MB / 303.2 MB, free: 8.238 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.00128/0.001279, allocations: 197.7 kB / 371.8 MB, free: 10.8 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.136/2.136, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009362/0.0009362, allocations: 89.11 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005114, allocations: 14.73 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.711, allocations: 2.121 GB / 3.1 GB, free: 191.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/6.711, allocations: 111.9 kB / 3.1 GB, free: 191.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6122/7.323, allocations: 164.6 MB / 3.261 GB, free: 25.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/7.323, allocations: 4 kB / 3.261 GB, free: 25.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003097/7.324, allocations: 103.8 kB / 3.261 GB, free: 25.65 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.0134/7.337, allocations: 3.65 MB / 3.265 GB, free: 21.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/7.337, allocations: 8.031 kB / 3.265 GB, free: 21.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/7.356, allocations: 1.728 MB / 3.266 GB, free: 20.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006614/7.363, allocations: 2.277 MB / 3.268 GB, free: 17.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/7.363, allocations: 296.3 kB / 3.269 GB, free: 17.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/7.365, allocations: 388.4 kB / 3.269 GB, free: 17.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/7.385, allocations: 6.015 MB / 3.275 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/7.386, allocations: 7.938 kB / 3.275 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008792/7.387, allocations: 172 kB / 3.275 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/7.387, allocations: 186.9 kB / 3.275 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/7.411, allocations: 6.093 MB / 3.281 GB, free: 4.523 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7019/8.113, allocations: 22.86 MB / 3.304 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/8.13, allocations: 3.945 MB / 3.307 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007304/8.137, allocations: 1.843 MB / 3.309 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/8.138, allocations: 0.5074 MB / 3.31 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007613/8.146, allocations: 2.044 MB / 3.312 GB, free: 245.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 6.472e-06/8.146, allocations: 0 / 3.312 GB, free: 245.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.02552/8.172, allocations: 6.991 MB / 3.319 GB, free: 243.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/8.172, allocations: 449.2 kB / 3.319 GB, free: 243 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/8.176, allocations: 1.72 MB / 3.321 GB, free: 242.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009812/8.177, allocations: 67.8 kB / 3.321 GB, free: 242.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/8.179, allocations: 1.598 MB / 3.322 GB, free: 242.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/8.18, allocations: 0.8148 MB / 3.323 GB, free: 241.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/8.181, allocations: 52.53 kB / 3.323 GB, free: 241.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002245/8.181, allocations: 418.5 kB / 3.324 GB, free: 241.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007144/8.188, allocations: 1.539 MB / 3.325 GB, free: 241.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007566/8.196, allocations: 2.277 MB / 3.327 GB, free: 240.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/8.211, allocations: 3.832 MB / 3.331 GB, free: 240 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-05/8.211, allocations: 5.531 kB / 3.331 GB, free: 240 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01943/8.231, allocations: 4.111 MB / 3.335 GB, free: 239.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004412/8.231, allocations: 0.6108 MB / 3.336 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/8.231, allocations: 18.66 kB / 3.336 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.719e-05/8.231, allocations: 30.69 kB / 3.336 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008528/8.24, allocations: 0.7957 MB / 3.336 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000121/8.24, allocations: 43.3 kB / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006587/8.247, allocations: 380.2 kB / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/8.248, allocations: 138.7 kB / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/8.248, allocations: 3.875 kB / 3.337 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01821/8.266, allocations: 3.684 MB / 3.341 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-05/8.266, allocations: 21.97 kB / 3.341 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.73e-05/8.266, allocations: 31.19 kB / 3.341 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007802/8.274, allocations: 0.7539 MB / 3.341 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-05/8.274, allocations: 40.03 kB / 3.341 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/8.28, allocations: 342.3 kB / 3.342 GB, free: 238.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/8.281, allocations: 134.1 kB / 3.342 GB, free: 238.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (336): * Single equations (assignments): 336 * 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.004508/8.286, allocations: 1.245 MB / 3.343 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/8.287, allocations: 230.3 kB / 3.343 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/8.306, allocations: 4.106 MB / 3.347 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/8.307, allocations: 25.19 kB / 3.347 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/8.307, allocations: 6.75 kB / 3.347 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.822e-05/8.307, allocations: 13.03 kB / 3.347 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/8.336, allocations: 8.63 MB / 3.356 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/8.336, allocations: 3.375 kB / 3.356 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007451/8.343, allocations: 0.7099 MB / 3.356 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.404e-05/8.343, allocations: 14.38 kB / 3.357 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007728/8.344, allocations: 72.64 kB / 3.357 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-05/8.344, allocations: 9.219 kB / 3.357 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/8.344, allocations: 3.5 kB / 3.357 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/8.359, allocations: 3.931 MB / 3.36 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/8.362, allocations: 0.7672 MB / 3.361 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/8.363, allocations: 46.84 kB / 3.361 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005444/8.369, allocations: 270.8 kB / 3.361 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007483/8.37, allocations: 152.1 kB / 3.362 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004929/8.37, allocations: 100.4 kB / 3.362 GB, free: 232.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002896/8.373, allocations: 1.236 MB / 3.363 GB, free: 232.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.31e-07/8.373, allocations: 4 kB / 3.363 GB, free: 232.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008611/8.382, allocations: 1.316 MB / 3.364 GB, free: 232.1 MB / 0.948 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 (262): * Single equations (assignments): 260 * 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.002565/8.384, allocations: 0.6658 MB / 3.365 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02332/8.408, allocations: 5.668 MB / 3.37 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/8.408, allocations: 12.06 kB / 3.37 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007445/8.415, allocations: 1.826 MB / 3.372 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/8.422, allocations: 0.5544 MB / 3.373 GB, free: 229.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/8.445, allocations: 8.659 MB / 3.381 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/8.448, allocations: 2.46 MB / 3.384 GB, free: 223.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009101/8.457, allocations: 1.257 MB / 3.385 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/8.459, allocations: 264.9 kB / 3.385 GB, free: 223.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/8.459, allocations: 0 / 3.385 GB, free: 223.4 MB / 0.948 GB Notification: Performance of Templates: time 0.09551/8.555, allocations: 38.46 MB / 3.423 GB, free: 221.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)