Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001044/0.001043, allocations: 182.1 kB / 371.6 MB, free: 3.387 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.525/1.525, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008384, allocations: 91.64 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.336e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.302, allocations: 2.121 GB / 3.101 GB, free: 75.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/6.302, allocations: 108.1 kB / 3.101 GB, free: 75.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9226/7.225, allocations: 186.6 MB / 3.283 GB, free: 229 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/7.225, allocations: 1.594 kB / 3.283 GB, free: 229 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004793/7.225, allocations: 95.62 kB / 3.283 GB, free: 228.9 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01272/7.238, allocations: 3.639 MB / 3.287 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/7.238, allocations: 14.19 kB / 3.287 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/7.251, allocations: 1.805 MB / 3.289 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/7.258, allocations: 2.404 MB / 3.291 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/7.258, allocations: 320.5 kB / 3.291 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/7.26, allocations: 420.3 kB / 3.292 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01878/7.279, allocations: 6.009 MB / 3.298 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004157/7.279, allocations: 8.625 kB / 3.298 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/7.282, allocations: 186.2 kB / 3.298 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004356/7.282, allocations: 225.5 kB / 3.298 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/7.296, allocations: 5.632 MB / 3.303 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/7.336, allocations: 26.19 MB / 3.329 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006044/7.342, allocations: 3.747 MB / 3.333 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/7.345, allocations: 1.822 MB / 3.335 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/7.346, allocations: 0.5085 MB / 3.335 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003359/7.349, allocations: 1.985 MB / 3.337 GB, free: 198 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 6.302e-06/7.349, allocations: 0 / 3.337 GB, free: 198 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01174/7.361, allocations: 5.598 MB / 3.342 GB, free: 194.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/7.361, allocations: 453.3 kB / 3.343 GB, free: 194.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/7.364, allocations: 1.564 MB / 3.344 GB, free: 193.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007594/7.365, allocations: 68.48 kB / 3.344 GB, free: 193.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/7.367, allocations: 1.717 MB / 3.346 GB, free: 192.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/7.368, allocations: 0.8548 MB / 3.347 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/7.369, allocations: 54.97 kB / 3.347 GB, free: 191.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002167/7.369, allocations: 411.1 kB / 3.347 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/7.372, allocations: 1.407 MB / 3.349 GB, free: 190.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/7.375, allocations: 2.133 MB / 3.351 GB, free: 189.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/7.378, allocations: 1.698 MB / 3.353 GB, free: 188.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/7.378, allocations: 3.594 kB / 3.353 GB, free: 188.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.007906/7.386, allocations: 3.866 MB / 3.356 GB, free: 186.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/7.387, allocations: 6.83 MB / 3.363 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/7.387, allocations: 26.56 kB / 3.363 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.326e-05/7.387, allocations: 32.94 kB / 3.363 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/7.391, allocations: 0.8317 MB / 3.364 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-05/7.391, allocations: 41.3 kB / 3.364 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/7.395, allocations: 401.4 kB / 3.364 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/7.396, allocations: 138.2 kB / 3.364 GB, free: 178.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/7.396, allocations: 8.031 kB / 3.364 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006096/7.402, allocations: 3.334 MB / 3.368 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/7.402, allocations: 14.91 kB / 3.368 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/7.402, allocations: 38.56 kB / 3.368 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/7.406, allocations: 0.7763 MB / 3.368 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.021e-05/7.406, allocations: 39.52 kB / 3.368 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/7.41, allocations: 350.8 kB / 3.369 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/7.41, allocations: 140.3 kB / 3.369 GB, free: 176.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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.001054/7.411, allocations: 277.2 kB / 3.369 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007636/7.412, allocations: 249.4 kB / 3.369 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007294/7.419, allocations: 4.028 MB / 3.373 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/7.419, allocations: 30.78 kB / 3.373 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/7.419, allocations: 3.688 kB / 3.373 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/7.419, allocations: 11.95 kB / 3.373 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/7.434, allocations: 9.004 MB / 3.382 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/7.434, allocations: 3.688 kB / 3.382 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/7.438, allocations: 0.7764 MB / 3.383 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.286e-05/7.438, allocations: 15.95 kB / 3.383 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003467/7.438, allocations: 71.94 kB / 3.383 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-05/7.438, allocations: 12 kB / 3.383 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/7.438, allocations: 4 kB / 3.383 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/7.444, allocations: 3.979 MB / 3.387 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/7.446, allocations: 0.821 MB / 3.388 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008357/7.447, allocations: 48 kB / 3.388 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/7.45, allocations: 287.7 kB / 3.388 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/7.45, allocations: 169.8 kB / 3.388 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002536/7.45, allocations: 91.94 kB / 3.388 GB, free: 162.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002662/7.453, allocations: 1.279 MB / 3.39 GB, free: 160.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/7.453, allocations: 0 / 3.39 GB, free: 160.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006398/7.459, allocations: 1.406 MB / 3.391 GB, free: 159.5 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) * 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.001708/7.461, allocations: 0.6227 MB / 3.392 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008965/7.47, allocations: 5.389 MB / 3.397 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/7.47, allocations: 3.938 kB / 3.397 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/7.473, allocations: 1.759 MB / 3.399 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/7.477, allocations: 0.583 MB / 3.399 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/7.489, allocations: 6.17 MB / 3.405 GB, free: 145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/7.493, allocations: 2.694 MB / 3.408 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007634/7.5, allocations: 1.41 MB / 3.409 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/7.502, allocations: 247.3 kB / 3.409 GB, free: 140.6 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/7.502, allocations: 4 kB / 3.409 GB, free: 140.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06399/7.566, allocations: 44.54 MB / 3.453 GB, free: 96.16 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)