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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.774/2.774, allocations: 287.5 MB / 303.2 MB, free: 8.188 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.001323/0.001323, allocations: 179 kB / 371.8 MB, free: 10.83 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.059/2.059, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009417/0.0009416, allocations: 105.7 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 12.05 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.572/6.788, allocations: 2.12 GB / 3.099 GB, free: 192.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/6.789, allocations: 111.9 kB / 3.1 GB, free: 192.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7116/7.5, allocations: 187.5 MB / 3.283 GB, free: 3.262 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.775e-06/7.5, allocations: 0 / 3.283 GB, free: 3.262 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003558/7.501, allocations: 107.9 kB / 3.283 GB, free: 3.156 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.6789/8.18, allocations: 3.87 MB / 3.287 GB, free: 249 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/8.18, allocations: 9.469 kB / 3.287 GB, free: 249 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/8.201, allocations: 1.805 MB / 3.288 GB, free: 248.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009003/8.21, allocations: 2.476 MB / 3.291 GB, free: 248.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/8.211, allocations: 319.3 kB / 3.291 GB, free: 248.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/8.213, allocations: 416.7 kB / 3.291 GB, free: 248.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/8.243, allocations: 6.486 MB / 3.298 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/8.243, allocations: 11.27 kB / 3.298 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/8.244, allocations: 184.2 kB / 3.298 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/8.245, allocations: 221.9 kB / 3.298 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/8.274, allocations: 6.462 MB / 3.305 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06121/8.335, allocations: 26.2 MB / 3.33 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/8.354, allocations: 4.249 MB / 3.334 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008403/8.362, allocations: 2.07 MB / 3.336 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/8.363, allocations: 0.5118 MB / 3.337 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009118/8.373, allocations: 2.233 MB / 3.339 GB, free: 234.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 7.564e-06/8.373, allocations: 0 / 3.339 GB, free: 234.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.03175/8.404, allocations: 7.718 MB / 3.346 GB, free: 232.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/8.405, allocations: 445.4 kB / 3.347 GB, free: 232.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/8.409, allocations: 1.791 MB / 3.349 GB, free: 232.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009825/8.41, allocations: 73.39 kB / 3.349 GB, free: 232.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/8.412, allocations: 1.719 MB / 3.35 GB, free: 231.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/8.414, allocations: 0.8509 MB / 3.351 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/8.414, allocations: 54.38 kB / 3.351 GB, free: 230.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002344/8.415, allocations: 412.4 kB / 3.352 GB, free: 230 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007337/8.422, allocations: 1.658 MB / 3.353 GB, free: 229.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008176/8.43, allocations: 2.389 MB / 3.356 GB, free: 228 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/8.446, allocations: 4.059 MB / 3.36 GB, free: 225.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/8.446, allocations: 8.438 kB / 3.36 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01879/8.465, allocations: 4.366 MB / 3.364 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/8.465, allocations: 0.5876 MB / 3.364 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/8.465, allocations: 18.28 kB / 3.364 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.34e-05/8.465, allocations: 30.5 kB / 3.364 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008455/8.474, allocations: 0.8318 MB / 3.365 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.901e-05/8.474, allocations: 42.77 kB / 3.365 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/8.48, allocations: 399.2 kB / 3.366 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/8.481, allocations: 143.8 kB / 3.366 GB, free: 223.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/8.481, allocations: 3.969 kB / 3.366 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01621/8.498, allocations: 3.826 MB / 3.37 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/8.498, allocations: 19.08 kB / 3.37 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/8.498, allocations: 30.62 kB / 3.37 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/8.506, allocations: 0.7863 MB / 3.37 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.271e-05/8.506, allocations: 38.25 kB / 3.37 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/8.512, allocations: 352.6 kB / 3.371 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009478/8.513, allocations: 130.7 kB / 3.371 GB, free: 221.8 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 () * Number of clocked 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.004391/8.517, allocations: 1.323 MB / 3.372 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/8.518, allocations: 243.1 kB / 3.372 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/8.537, allocations: 4.495 MB / 3.377 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/8.537, allocations: 32.31 kB / 3.377 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/8.537, allocations: 3.938 kB / 3.377 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/8.537, allocations: 14.91 kB / 3.377 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/8.567, allocations: 9.478 MB / 3.386 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/8.567, allocations: 7.5 kB / 3.386 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00789/8.575, allocations: 0.7776 MB / 3.387 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/8.575, allocations: 15.62 kB / 3.387 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006272/8.575, allocations: 72.34 kB / 3.387 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/8.576, allocations: 11.38 kB / 3.387 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/8.576, allocations: 10.06 kB / 3.387 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/8.592, allocations: 4.3 MB / 3.391 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002869/8.595, allocations: 0.8225 MB / 3.392 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/8.596, allocations: 48.66 kB / 3.392 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005956/8.602, allocations: 297.1 kB / 3.392 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008213/8.603, allocations: 167.2 kB / 3.392 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004953/8.604, allocations: 94.86 kB / 3.393 GB, free: 212.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003022/8.607, allocations: 1.295 MB / 3.394 GB, free: 211.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.62e-07/8.607, allocations: 0 / 3.394 GB, free: 211.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008468/8.615, allocations: 1.404 MB / 3.395 GB, free: 211.8 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 (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.00245/8.618, allocations: 0.6595 MB / 3.396 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02349/8.641, allocations: 6.063 MB / 3.402 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/8.641, allocations: 0 / 3.402 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007651/8.649, allocations: 2.006 MB / 3.404 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/8.656, allocations: 0.6216 MB / 3.404 GB, free: 208.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/8.68, allocations: 9.416 MB / 3.414 GB, free: 203.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004586/8.685, allocations: 2.606 MB / 3.416 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01082/8.696, allocations: 1.277 MB / 3.417 GB, free: 202.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00264/8.699, allocations: 275.9 kB / 3.418 GB, free: 202.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/8.699, allocations: 0 / 3.418 GB, free: 202.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1046/8.803, allocations: 41.93 MB / 3.459 GB, free: 187.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)