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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 293 MB / 309 MB, free: 4.789 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.0009303/0.0009303, allocations: 168.6 kB / 378.7 MB, free: 1.02 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.395/1.395, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0007359/0.0007358, allocations: 88.91 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005257, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2938, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.943, allocations: 2.121 GB / 3.112 GB, free: 73.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004251/5.943, allocations: 104.8 kB / 3.112 GB, free: 73.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.146/7.089, allocations: 187.5 MB / 3.295 GB, free: 228.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.106e-06/7.089, allocations: 0 / 3.295 GB, free: 228.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006879/7.09, allocations: 102.1 kB / 3.295 GB, free: 228.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.01785/7.108, allocations: 3.888 MB / 3.299 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/7.108, allocations: 8.75 kB / 3.299 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/7.121, allocations: 1.805 MB / 3.301 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/7.132, allocations: 2.474 MB / 3.303 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008715/7.133, allocations: 324.2 kB / 3.303 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/7.137, allocations: 417.3 kB / 3.304 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/7.164, allocations: 6.491 MB / 3.31 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/7.164, allocations: 20.5 kB / 3.31 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002332/7.167, allocations: 178.5 kB / 3.31 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000455/7.167, allocations: 217.8 kB / 3.311 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/7.187, allocations: 6.459 MB / 3.317 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05067/7.238, allocations: 26.2 MB / 3.342 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/7.249, allocations: 4.247 MB / 3.347 GB, free: 196.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005143/7.254, allocations: 2.067 MB / 3.349 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/7.255, allocations: 0.5118 MB / 3.349 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006158/7.261, allocations: 2.236 MB / 3.351 GB, free: 193.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.076e-05/7.261, allocations: 0 / 3.351 GB, free: 193.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02535/7.287, allocations: 7.717 MB / 3.359 GB, free: 188.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/7.287, allocations: 439.7 kB / 3.359 GB, free: 188.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/7.291, allocations: 1.799 MB / 3.361 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009754/7.292, allocations: 68.3 kB / 3.361 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/7.294, allocations: 1.709 MB / 3.363 GB, free: 185.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/7.296, allocations: 0.8624 MB / 3.364 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/7.296, allocations: 54.81 kB / 3.364 GB, free: 185.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002994/7.297, allocations: 411.1 kB / 3.364 GB, free: 184.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004536/7.301, allocations: 1.656 MB / 3.366 GB, free: 183.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/7.306, allocations: 2.389 MB / 3.368 GB, free: 182.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/7.317, allocations: 4.054 MB / 3.372 GB, free: 179.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-05/7.317, allocations: 3.812 kB / 3.372 GB, free: 179.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.0134/7.33, allocations: 4.36 MB / 3.376 GB, free: 177.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004423/7.331, allocations: 0.5893 MB / 3.377 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/7.331, allocations: 19.53 kB / 3.377 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.761e-05/7.331, allocations: 31.44 kB / 3.377 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/7.335, allocations: 0.8326 MB / 3.378 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.039e-05/7.336, allocations: 42.95 kB / 3.378 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/7.34, allocations: 407.3 kB / 3.378 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/7.341, allocations: 144.4 kB / 3.378 GB, free: 175.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/7.341, allocations: 3.844 kB / 3.378 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01189/7.353, allocations: 3.827 MB / 3.382 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/7.353, allocations: 16 kB / 3.382 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.694e-05/7.353, allocations: 28 kB / 3.382 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/7.357, allocations: 0.7845 MB / 3.383 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.076e-05/7.357, allocations: 47.86 kB / 3.383 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/7.362, allocations: 342.2 kB / 3.383 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007918/7.362, allocations: 136 kB / 3.383 GB, free: 172.5 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.004882/7.367, allocations: 1.316 MB / 3.385 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/7.369, allocations: 249 kB / 3.385 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/7.381, allocations: 4.494 MB / 3.389 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/7.382, allocations: 31.94 kB / 3.389 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/7.382, allocations: 0 / 3.389 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-05/7.382, allocations: 19.94 kB / 3.389 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/7.406, allocations: 9.489 MB / 3.398 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/7.406, allocations: 8 kB / 3.398 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004298/7.41, allocations: 0.7841 MB / 3.399 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/7.41, allocations: 12 kB / 3.399 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006706/7.411, allocations: 71.94 kB / 3.399 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-05/7.411, allocations: 12 kB / 3.399 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/7.411, allocations: 4 kB / 3.399 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/7.422, allocations: 4.298 MB / 3.404 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00346/7.426, allocations: 0.821 MB / 3.404 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001943/7.428, allocations: 52 kB / 3.404 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004419/7.432, allocations: 291.6 kB / 3.405 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007626/7.433, allocations: 169.8 kB / 3.405 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006422/7.434, allocations: 99.92 kB / 3.405 GB, free: 150 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003613/7.438, allocations: 1.297 MB / 3.406 GB, free: 148.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/7.438, allocations: 0 / 3.406 GB, free: 148.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008371/7.446, allocations: 1.391 MB / 3.408 GB, free: 147.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) * 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.002128/7.448, allocations: 0.674 MB / 3.408 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01437/7.463, allocations: 6.055 MB / 3.414 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/7.463, allocations: 3.938 kB / 3.414 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/7.467, allocations: 2.008 MB / 3.416 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005997/7.473, allocations: 0.6147 MB / 3.417 GB, free: 138 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/7.493, allocations: 9.415 MB / 3.426 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004763/7.498, allocations: 2.609 MB / 3.428 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006717/7.505, allocations: 1.285 MB / 3.43 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/7.506, allocations: 271.3 kB / 3.43 GB, free: 124.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/7.506, allocations: 0 / 3.43 GB, free: 124.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07378/7.58, allocations: 42.26 MB / 3.471 GB, free: 82.23 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)