Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.0009776/0.0009776, allocations: 184.5 kB / 372.9 MB, free: 10.17 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.555/1.555, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.000866/0.0008662, allocations: 101.3 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 11.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.621, allocations: 2.121 GB / 3.102 GB, free: 187.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004725/5.622, allocations: 107.9 kB / 3.102 GB, free: 187.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3551/5.977, allocations: 164.6 MB / 3.262 GB, free: 21.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/5.977, allocations: 3.938 kB / 3.262 GB, free: 21.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002348/5.977, allocations: 91.98 kB / 3.263 GB, free: 21.39 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.01084/5.988, allocations: 3.653 MB / 3.266 GB, free: 17.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/5.988, allocations: 8.031 kB / 3.266 GB, free: 17.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/6, allocations: 1.736 MB / 3.268 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/6.006, allocations: 2.265 MB / 3.27 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/6.006, allocations: 300.3 kB / 3.27 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/6.007, allocations: 392.3 kB / 3.271 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/6.024, allocations: 6.012 MB / 3.277 GB, free: 6.719 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/6.024, allocations: 7.938 kB / 3.277 GB, free: 6.711 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005251/6.024, allocations: 168 kB / 3.277 GB, free: 6.547 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/6.024, allocations: 194.9 kB / 3.277 GB, free: 6.355 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/6.04, allocations: 6.085 MB / 3.283 GB, free: 268 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5752/6.615, allocations: 22.86 MB / 3.305 GB, free: 246.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/6.626, allocations: 3.952 MB / 3.309 GB, free: 246.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004967/6.631, allocations: 1.831 MB / 3.311 GB, free: 246.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/6.632, allocations: 0.5071 MB / 3.311 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005267/6.637, allocations: 2.042 MB / 3.313 GB, free: 246.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 5.731e-06/6.637, allocations: 0 / 3.313 GB, free: 246.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01647/6.654, allocations: 7.002 MB / 3.32 GB, free: 244.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002591/6.654, allocations: 441.4 kB / 3.321 GB, free: 243.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/6.658, allocations: 1.719 MB / 3.322 GB, free: 243.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009266/6.659, allocations: 69.67 kB / 3.322 GB, free: 243.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/6.661, allocations: 1.594 MB / 3.324 GB, free: 243.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/6.662, allocations: 0.8115 MB / 3.325 GB, free: 242.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/6.662, allocations: 57.34 kB / 3.325 GB, free: 242.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001587/6.662, allocations: 411.3 kB / 3.325 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/6.666, allocations: 1.541 MB / 3.327 GB, free: 242.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/6.671, allocations: 2.274 MB / 3.329 GB, free: 241.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008392/6.679, allocations: 3.835 MB / 3.333 GB, free: 240.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/6.679, allocations: 3.875 kB / 3.333 GB, free: 240.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01107/6.69, allocations: 4.114 MB / 3.337 GB, free: 240.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004266/6.691, allocations: 0.6153 MB / 3.337 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/6.691, allocations: 20.44 kB / 3.337 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-05/6.691, allocations: 30.75 kB / 3.337 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/6.695, allocations: 0.804 MB / 3.338 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-05/6.695, allocations: 46.23 kB / 3.338 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/6.699, allocations: 380.3 kB / 3.338 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/6.699, allocations: 132.9 kB / 3.339 GB, free: 239.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/6.699, allocations: 7.719 kB / 3.339 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009225/6.708, allocations: 3.681 MB / 3.342 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.749e-05/6.709, allocations: 21.31 kB / 3.342 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/6.709, allocations: 31.94 kB / 3.342 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/6.713, allocations: 0.7545 MB / 3.343 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.491e-05/6.713, allocations: 42.88 kB / 3.343 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/6.716, allocations: 336.2 kB / 3.343 GB, free: 239.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/6.716, allocations: 132.5 kB / 3.343 GB, free: 239.1 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.003199/6.72, allocations: 1.248 MB / 3.345 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/6.72, allocations: 229.4 kB / 3.345 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/6.73, allocations: 4.104 MB / 3.349 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/6.73, allocations: 23.97 kB / 3.349 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/6.73, allocations: 0 / 3.349 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/6.73, allocations: 18.06 kB / 3.349 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/6.746, allocations: 8.629 MB / 3.357 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/6.746, allocations: 3.422 kB / 3.357 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/6.75, allocations: 0.7149 MB / 3.358 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-05/6.75, allocations: 10.84 kB / 3.358 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/6.75, allocations: 75.92 kB / 3.358 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/6.75, allocations: 11.06 kB / 3.358 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/6.75, allocations: 6.781 kB / 3.358 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/6.758, allocations: 3.925 MB / 3.362 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/6.76, allocations: 0.7638 MB / 3.363 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/6.761, allocations: 46.69 kB / 3.363 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/6.763, allocations: 274.3 kB / 3.363 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/6.764, allocations: 151.6 kB / 3.363 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/6.764, allocations: 92.59 kB / 3.363 GB, free: 230.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001727/6.765, allocations: 1.238 MB / 3.365 GB, free: 230.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/6.765, allocations: 4 kB / 3.365 GB, free: 230.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004684/6.77, allocations: 1.319 MB / 3.366 GB, free: 230.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.001653/6.772, allocations: 0.6652 MB / 3.366 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01268/6.785, allocations: 5.662 MB / 3.372 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/6.785, allocations: 4.188 kB / 3.372 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/6.789, allocations: 1.823 MB / 3.374 GB, free: 227.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/6.793, allocations: 0.5511 MB / 3.374 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/6.807, allocations: 8.667 MB / 3.383 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/6.81, allocations: 2.459 MB / 3.385 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00609/6.816, allocations: 1.258 MB / 3.386 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/6.817, allocations: 263.5 kB / 3.387 GB, free: 221.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/6.817, allocations: 3.094 kB / 3.387 GB, free: 221.5 MB / 0.948 GB Notification: Performance of Templates: time 0.0637/6.881, allocations: 38.75 MB / 3.425 GB, free: 219.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)