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.553/1.553, allocations: 289.9 MB / 297.4 MB, free: 6.438 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.0009784/0.0009784, allocations: 176.9 kB / 366.7 MB, free: 1.711 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.425/1.425, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008169/0.000817, allocations: 89.42 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.969e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6427, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/6.002, allocations: 2.12 GB / 3.094 GB, free: 344.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/6.003, allocations: 104.4 kB / 3.094 GB, free: 344.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4006/6.403, allocations: 184.9 MB / 3.274 GB, free: 192.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/6.403, allocations: 0 / 3.274 GB, free: 192.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00029/6.403, allocations: 103.9 kB / 3.274 GB, free: 192.7 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.009696/6.413, allocations: 3.636 MB / 3.278 GB, free: 189 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/6.413, allocations: 8.031 kB / 3.278 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/6.424, allocations: 1.805 MB / 3.28 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/6.429, allocations: 2.399 MB / 3.282 GB, free: 184.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/6.43, allocations: 140 kB / 3.282 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/6.431, allocations: 240 kB / 3.282 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009082/6.44, allocations: 5.171 MB / 3.288 GB, free: 179.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/6.451, allocations: 5.407 MB / 3.293 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/6.451, allocations: 11.88 kB / 3.293 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005238/6.451, allocations: 8 kB / 3.293 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/6.452, allocations: 215.4 kB / 3.293 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/6.479, allocations: 25.18 MB / 3.318 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/6.483, allocations: 3.617 MB / 3.321 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/6.485, allocations: 1.754 MB / 3.323 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/6.485, allocations: 0.5112 MB / 3.323 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002129/6.487, allocations: 1.913 MB / 3.325 GB, free: 138.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 3.988e-06/6.487, allocations: 0 / 3.325 GB, free: 138.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01187/6.499, allocations: 6.402 MB / 3.332 GB, free: 132.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/6.499, allocations: 449.2 kB / 3.332 GB, free: 131.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/6.501, allocations: 1.393 MB / 3.333 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/6.501, allocations: 29.7 kB / 3.333 GB, free: 130.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/6.503, allocations: 1.715 MB / 3.335 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/6.503, allocations: 0.824 MB / 3.336 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/6.503, allocations: 0 / 3.336 GB, free: 127.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001302/6.504, allocations: 411.5 kB / 3.336 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/6.505, allocations: 1.356 MB / 3.338 GB, free: 125.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/6.507, allocations: 2.049 MB / 3.34 GB, free: 123.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/6.514, allocations: 2.615 MB / 3.342 GB, free: 120.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/6.514, allocations: 8 kB / 3.342 GB, free: 120.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.009403/6.523, allocations: 4.582 MB / 3.347 GB, free: 116.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000838/6.524, allocations: 6.784 MB / 3.353 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/6.524, allocations: 20 kB / 3.353 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/6.524, allocations: 32 kB / 3.353 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/6.528, allocations: 0.8307 MB / 3.354 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/6.528, allocations: 39.92 kB / 3.354 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/6.531, allocations: 346.1 kB / 3.354 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/6.531, allocations: 143.8 kB / 3.355 GB, free: 107.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/6.531, allocations: 0 / 3.355 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008565/6.54, allocations: 4.005 MB / 3.358 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/6.54, allocations: 16 kB / 3.358 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/6.54, allocations: 36.12 kB / 3.359 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/6.543, allocations: 0.7761 MB / 3.359 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/6.543, allocations: 43.86 kB / 3.359 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/6.546, allocations: 290.2 kB / 3.36 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/6.546, allocations: 139.9 kB / 3.36 GB, free: 102.3 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.0006161/6.547, allocations: 176.1 kB / 3.36 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/6.547, allocations: 241.2 kB / 3.36 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/6.558, allocations: 4.793 MB / 3.365 GB, free: 96.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/6.558, allocations: 28 kB / 3.365 GB, free: 96.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/6.558, allocations: 0 / 3.365 GB, free: 96.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/6.558, allocations: 23.88 kB / 3.365 GB, free: 96.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/6.572, allocations: 8.963 MB / 3.374 GB, free: 87.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/6.572, allocations: 4 kB / 3.374 GB, free: 87.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003622/6.576, allocations: 0.7803 MB / 3.374 GB, free: 87.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.303e-05/6.576, allocations: 19.94 kB / 3.374 GB, free: 87.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/6.576, allocations: 43.94 kB / 3.374 GB, free: 86.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/6.576, allocations: 16 kB / 3.374 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/6.576, allocations: 0 / 3.374 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008911/6.585, allocations: 4.772 MB / 3.379 GB, free: 82.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/6.586, allocations: 0.8095 MB / 3.38 GB, free: 81.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/6.587, allocations: 4 kB / 3.38 GB, free: 81.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/6.589, allocations: 247.6 kB / 3.38 GB, free: 80.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/6.589, allocations: 169.8 kB / 3.38 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/6.59, allocations: 95.94 kB / 3.38 GB, free: 80.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001345/6.591, allocations: 1.111 MB / 3.381 GB, free: 79.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.591, allocations: 0 / 3.381 GB, free: 79.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004483/6.596, allocations: 1.25 MB / 3.383 GB, free: 78.3 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.001225/6.597, allocations: 0.5514 MB / 3.383 GB, free: 77.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006107/6.603, allocations: 5.15 MB / 3.388 GB, free: 72.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/6.603, allocations: 0 / 3.388 GB, free: 72.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/6.605, allocations: 1.702 MB / 3.39 GB, free: 70.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/6.607, allocations: 0.5213 MB / 3.39 GB, free: 70.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009353/6.617, allocations: 6.04 MB / 3.396 GB, free: 64.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/6.619, allocations: 2.686 MB / 3.399 GB, free: 61.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005954/6.625, allocations: 1.409 MB / 3.4 GB, free: 60.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/6.626, allocations: 243.3 kB / 3.401 GB, free: 59.91 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/6.626, allocations: 0 / 3.401 GB, free: 59.91 MB / 0.948 GB Notification: Performance of Templates: time 0.0531/6.679, allocations: 41.98 MB / 3.442 GB, free: 18.05 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)