Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 191.5 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 107.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 49.89 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2455, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01101/0.2565, allocations: 10.83 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.398, allocations: 150.8 MB / 1.376 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.4002, allocations: 35.81 kB / 1.376 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.4024, allocations: 0.6064 MB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.4057, allocations: 0.82 MB / 1.377 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.4094, allocations: 1.428 MB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.4131, allocations: 3.049 MB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.4169, allocations: 2.589 MB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.4186, allocations: 1.081 MB / 1.385 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.4203, allocations: 1.357 MB / 1.387 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003754/0.4207, allocations: 184 kB / 1.387 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.4223, allocations: 0.7959 MB / 1.388 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.423, allocations: 0.6578 MB / 1.388 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.4244, allocations: 1.27 MB / 1.39 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.429, allocations: 4.128 MB / 1.394 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.429, allocations: 0 / 1.394 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.885e-06/0.429, allocations: 0 / 1.394 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.786e-05/0.4291, allocations: 3.938 kB / 1.394 GB, free: 0.8359 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: 675 * Number of variables: 675 Notification: Performance of Generate backend data structure: time 0.006657/0.4358, allocations: 2.98 MB / 1.396 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4359, allocations: 11.98 kB / 1.396 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.447, allocations: 1.597 MB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.4502, allocations: 1.451 MB / 1.399 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.4504, allocations: 193.1 kB / 1.4 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006999/0.4511, allocations: 252 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.4613, allocations: 3.507 MB / 1.403 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.4614, allocations: 0 / 1.403 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000537/0.4619, allocations: 108 kB / 1.403 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.4621, allocations: 120.8 kB / 1.404 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.4736, allocations: 3.973 MB / 1.407 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.494, allocations: 10.24 MB / 1.417 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007887/0.5019, allocations: 2.647 MB / 1.42 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/0.5056, allocations: 1.308 MB / 1.421 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.5065, allocations: 0.5865 MB / 1.422 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004435/0.511, allocations: 1.561 MB / 1.423 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=196): time 5.31e-06/0.511, allocations: 0 / 1.423 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197): time 0.5315/1.043, allocations: 4.402 MB / 1.428 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/1.043, allocations: 255.4 kB / 1.428 GB, free: 201 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.045, allocations: 1.139 MB / 1.429 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/1.045, allocations: 58.83 kB / 1.429 GB, free: 200.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/1.046, allocations: 0.934 MB / 1.43 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/1.046, allocations: 0.6461 MB / 1.431 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008754/1.047, allocations: 391.5 kB / 1.431 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/1.047, allocations: 301.6 kB / 1.431 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/1.051, allocations: 1.127 MB / 1.432 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/1.054, allocations: 1.421 MB / 1.434 GB, free: 197.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006599/1.061, allocations: 2.518 MB / 1.436 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.061, allocations: 2.188 kB / 1.436 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008054/1.069, allocations: 2.866 MB / 1.439 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.069, allocations: 11.16 kB / 1.439 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.069, allocations: 7.375 kB / 1.439 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.013e-05/1.069, allocations: 13.5 kB / 1.439 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.072, allocations: 0.5619 MB / 1.44 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.432e-05/1.072, allocations: 17.75 kB / 1.44 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.075, allocations: 282.7 kB / 1.44 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.075, allocations: 96.8 kB / 1.44 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004389/1.08, allocations: 1.491 MB / 1.441 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003522/1.083, allocations: 1.385 MB / 1.443 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006484/1.09, allocations: 2.461 MB / 1.445 GB, free: 193 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.06e-05/1.09, allocations: 0.7031 kB / 1.445 GB, free: 193 MB / 0.9167 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007423/1.097, allocations: 2.799 MB / 1.448 GB, free: 192 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.097, allocations: 8.578 kB / 1.448 GB, free: 192 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.097, allocations: 7.75 kB / 1.448 GB, free: 192 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.097, allocations: 15.91 kB / 1.448 GB, free: 192 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.1, allocations: 0.5507 MB / 1.448 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.615e-05/1.1, allocations: 19.48 kB / 1.448 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.103, allocations: 267.5 kB / 1.449 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/1.103, allocations: 98.55 kB / 1.449 GB, free: 191.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006405/1.104, allocations: 294.8 kB / 1.449 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/1.104, allocations: 175.2 kB / 1.449 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.115, allocations: 3.213 MB / 1.452 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/1.115, allocations: 21.28 kB / 1.452 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.115, allocations: 1.438 kB / 1.452 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/1.115, allocations: 10.45 kB / 1.452 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.127, allocations: 6.004 MB / 1.458 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.127, allocations: 0 / 1.458 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.13, allocations: 0.5236 MB / 1.459 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/1.13, allocations: 11.19 kB / 1.459 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/1.13, allocations: 68.8 kB / 1.459 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/1.13, allocations: 8.938 kB / 1.459 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.13, allocations: 5.891 kB / 1.459 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.145, allocations: 5.255 MB / 1.464 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.147, allocations: 0.549 MB / 1.465 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/1.148, allocations: 51.83 kB / 1.465 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.151, allocations: 205.1 kB / 1.465 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/1.152, allocations: 133.8 kB / 1.465 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003914/1.152, allocations: 78.56 kB / 1.465 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001804/1.154, allocations: 0.8148 MB / 1.466 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.41e-07/1.154, allocations: 0 / 1.466 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005013/1.159, allocations: 0.8307 MB / 1.467 GB, free: 179.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/1.162, allocations: 0.6487 MB / 1.467 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01703/1.179, allocations: 4.183 MB / 1.471 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.179, allocations: 0 / 1.471 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.184, allocations: 1.409 MB / 1.473 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.187, allocations: 411.9 kB / 1.473 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/1.202, allocations: 6.61 MB / 1.48 GB, free: 166.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/1.204, allocations: 1.628 MB / 1.481 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007154/1.211, allocations: 0.7831 MB / 1.482 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.213, allocations: 211.3 kB / 1.482 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.974e-06/1.213, allocations: 4 kB / 1.482 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.0655/1.278, allocations: 29.33 MB / 1.511 GB, free: 134.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)