Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 179.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007464/0.0007466, allocations: 97.78 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 13.41 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.877/5.064, allocations: 2.239 GB / 3.14 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/5.065, allocations: 107.3 kB / 3.14 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3595/5.424, allocations: 164.7 MB / 3.301 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.126e-06/5.424, allocations: 0 / 3.301 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003707/5.425, allocations: 91.98 kB / 3.301 GB, free: 178.6 MB / 0.8855 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.01198/5.437, allocations: 3.651 MB / 3.305 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/5.437, allocations: 8.031 kB / 3.305 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/5.448, allocations: 1.736 MB / 3.306 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/5.456, allocations: 2.265 MB / 3.309 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/5.456, allocations: 300.3 kB / 3.309 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/5.458, allocations: 392.3 kB / 3.309 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/5.477, allocations: 6.012 MB / 3.315 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/5.477, allocations: 7.844 kB / 3.315 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/5.479, allocations: 172 kB / 3.315 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002271/5.479, allocations: 194.9 kB / 3.316 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/5.495, allocations: 6.086 MB / 3.321 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/5.534, allocations: 22.88 MB / 3.344 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/5.543, allocations: 3.932 MB / 3.348 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/5.547, allocations: 1.848 MB / 3.349 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008113/5.548, allocations: 0.5112 MB / 3.35 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004559/5.552, allocations: 2.033 MB / 3.352 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=240): time 8.356e-06/5.552, allocations: 0 / 3.352 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=243): time 0.01708/5.569, allocations: 7.001 MB / 3.359 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/5.57, allocations: 437.2 kB / 3.359 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/5.573, allocations: 1.721 MB / 3.361 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006709/5.573, allocations: 69.7 kB / 3.361 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/5.575, allocations: 1.594 MB / 3.362 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/5.576, allocations: 0.8203 MB / 3.363 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/5.577, allocations: 52 kB / 3.363 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002252/5.577, allocations: 411.3 kB / 3.364 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/5.581, allocations: 1.535 MB / 3.365 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/5.585, allocations: 2.274 MB / 3.367 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008359/5.593, allocations: 3.83 MB / 3.371 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/5.593, allocations: 7.938 kB / 3.371 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01097/5.604, allocations: 4.111 MB / 3.375 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004748/5.605, allocations: 0.6121 MB / 3.376 GB, free: 99.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.6e-05/5.605, allocations: 27.88 kB / 3.376 GB, free: 99.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.73e-05/5.605, allocations: 32 kB / 3.376 GB, free: 99.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/5.609, allocations: 0.7956 MB / 3.377 GB, free: 98.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.687e-05/5.609, allocations: 43.86 kB / 3.377 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/5.612, allocations: 378.1 kB / 3.377 GB, free: 98.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/5.613, allocations: 139.9 kB / 3.377 GB, free: 97.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/5.613, allocations: 4 kB / 3.377 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008612/5.621, allocations: 3.681 MB / 3.381 GB, free: 94.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/5.622, allocations: 20 kB / 3.381 GB, free: 94.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/5.622, allocations: 28.91 kB / 3.381 GB, free: 94.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/5.625, allocations: 0.7605 MB / 3.382 GB, free: 93.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-05/5.625, allocations: 47.84 kB / 3.382 GB, free: 93.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/5.628, allocations: 334.2 kB / 3.382 GB, free: 93.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/5.629, allocations: 135.9 kB / 3.382 GB, free: 92.89 MB / 0.8855 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.003211/5.632, allocations: 1.245 MB / 3.383 GB, free: 91.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009475/5.633, allocations: 225.3 kB / 3.383 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/5.643, allocations: 4.105 MB / 3.387 GB, free: 87.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/5.643, allocations: 27.98 kB / 3.388 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/5.643, allocations: 4 kB / 3.388 GB, free: 87.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/5.644, allocations: 11.95 kB / 3.388 GB, free: 87.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/5.661, allocations: 8.641 MB / 3.396 GB, free: 78.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/5.661, allocations: 4.125 kB / 3.396 GB, free: 78.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003363/5.664, allocations: 0.7176 MB / 3.397 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-05/5.664, allocations: 12 kB / 3.397 GB, free: 77.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003238/5.664, allocations: 71.94 kB / 3.397 GB, free: 77.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-05/5.665, allocations: 12 kB / 3.397 GB, free: 77.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/5.665, allocations: 4 kB / 3.397 GB, free: 77.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007832/5.672, allocations: 3.938 MB / 3.401 GB, free: 73.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/5.674, allocations: 0.7587 MB / 3.401 GB, free: 72.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007439/5.675, allocations: 51.98 kB / 3.401 GB, free: 72.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/5.678, allocations: 271.7 kB / 3.402 GB, free: 72.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/5.678, allocations: 157.7 kB / 3.402 GB, free: 72.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/5.678, allocations: 87.94 kB / 3.402 GB, free: 72.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002385/5.681, allocations: 1.239 MB / 3.403 GB, free: 71.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/5.681, allocations: 0 / 3.403 GB, free: 71.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005903/5.687, allocations: 1.324 MB / 3.404 GB, free: 69.73 MB / 0.8855 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.001932/5.689, allocations: 0.6559 MB / 3.405 GB, free: 69.19 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01198/5.701, allocations: 5.67 MB / 3.411 GB, free: 63.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/5.701, allocations: 4 kB / 3.411 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003622/5.704, allocations: 1.827 MB / 3.412 GB, free: 61.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/5.709, allocations: 0.5446 MB / 3.413 GB, free: 61.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/5.723, allocations: 8.667 MB / 3.421 GB, free: 52.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/5.726, allocations: 2.451 MB / 3.424 GB, free: 49.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006583/5.733, allocations: 1.256 MB / 3.425 GB, free: 48.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/5.734, allocations: 263.3 kB / 3.425 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of SimCode: time 8.12e-07/5.734, allocations: 0 / 3.425 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.05775/5.792, allocations: 38.76 MB / 3.463 GB, free: 9.824 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)