Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.804/0.804, allocations: 132.4 MB / 139.7 MB, free: 15.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001338/0.001338, allocations: 175.3 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001708, allocations: 122.8 kB / 444.4 MB, free: 9.406 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4684/0.4684, allocations: 73.4 MB / 0.666 GB, free: 62.55 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.859/5.327, allocations: 2.178 GB / 2.844 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/5.327, allocations: 107.4 kB / 2.844 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.8029/6.13, allocations: 189.3 MB / 3.029 GB, free: 88.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002921/6.131, allocations: 91.98 kB / 3.029 GB, free: 88.21 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1030 * Number of variables: 1030 Notification: Performance of Generate backend data structure: time 0.01254/6.143, allocations: 3.521 MB / 3.033 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/6.143, allocations: 8.031 kB / 3.033 GB, free: 84.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/6.158, allocations: 1.996 MB / 3.035 GB, free: 82.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/6.163, allocations: 2.124 MB / 3.037 GB, free: 80.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/6.163, allocations: 127.9 kB / 3.037 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/6.165, allocations: 224 kB / 3.037 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01103/6.176, allocations: 4.967 MB / 3.042 GB, free: 75.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/6.19, allocations: 5.047 MB / 3.047 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/6.19, allocations: 7.938 kB / 3.047 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005013/6.191, allocations: 11.98 kB / 3.047 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/6.191, allocations: 198.9 kB / 3.047 GB, free: 69.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03241/6.223, allocations: 18.78 MB / 3.065 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/6.227, allocations: 3.108 MB / 3.069 GB, free: 47.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/6.229, allocations: 1.591 MB / 3.07 GB, free: 45.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/6.23, allocations: 0.5189 MB / 3.071 GB, free: 45.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/6.232, allocations: 1.787 MB / 3.072 GB, free: 43.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=238): time 4.609e-06/6.232, allocations: 0 / 3.072 GB, free: 43.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=241): time 0.01025/6.243, allocations: 5.314 MB / 3.078 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/6.243, allocations: 364.1 kB / 3.078 GB, free: 37.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/6.244, allocations: 1.265 MB / 3.079 GB, free: 36.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/6.245, allocations: 33.64 kB / 3.079 GB, free: 36.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/6.246, allocations: 1.347 MB / 3.08 GB, free: 34.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/6.246, allocations: 0.7739 MB / 3.081 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/6.247, allocations: 4 kB / 3.081 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001259/6.247, allocations: 407.3 kB / 3.082 GB, free: 33.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/6.249, allocations: 1.325 MB / 3.083 GB, free: 32.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/6.251, allocations: 1.993 MB / 3.085 GB, free: 29.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/6.255, allocations: 1.95 MB / 3.087 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/6.255, allocations: 4 kB / 3.087 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.007687/6.263, allocations: 3.893 MB / 3.091 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/6.264, allocations: 7.01 MB / 3.097 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/6.264, allocations: 16 kB / 3.097 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/6.264, allocations: 39.98 kB / 3.097 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00448/6.269, allocations: 0.7917 MB / 3.098 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.135e-05/6.269, allocations: 47.86 kB / 3.098 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/6.273, allocations: 310.1 kB / 3.099 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/6.273, allocations: 139.8 kB / 3.099 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/6.273, allocations: 4 kB / 3.099 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008105/6.281, allocations: 3.42 MB / 3.102 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/6.281, allocations: 16.94 kB / 3.102 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-05/6.282, allocations: 32 kB / 3.102 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/6.286, allocations: 0.7722 MB / 3.103 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.825e-05/6.286, allocations: 43.86 kB / 3.103 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/6.29, allocations: 282.3 kB / 3.103 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006399/6.29, allocations: 131.9 kB / 3.103 GB, free: 10.51 MB / 0.6198 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 334 * Array equations: 0 * Algorithm blocks: 2 * 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.001109/6.291, allocations: 187.8 kB / 3.103 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/6.292, allocations: 205.5 kB / 3.104 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/6.303, allocations: 3.997 MB / 3.108 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/6.303, allocations: 31.91 kB / 3.108 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/6.303, allocations: 0 / 3.108 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/6.303, allocations: 15.89 kB / 3.108 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3041/6.607, allocations: 9.225 MB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/6.608, allocations: 7.594 kB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004018/6.612, allocations: 0.6639 MB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-05/6.612, allocations: 22.72 kB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/6.612, allocations: 45.19 kB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/6.612, allocations: 22.31 kB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/6.612, allocations: 10.28 kB / 3.117 GB, free: 203.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007664/6.62, allocations: 4.371 MB / 3.122 GB, free: 202.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/6.621, allocations: 0.7588 MB / 3.122 GB, free: 202 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005502/6.622, allocations: 7.5 kB / 3.122 GB, free: 202 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/6.625, allocations: 225.1 kB / 3.123 GB, free: 202 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/6.625, allocations: 152.6 kB / 3.123 GB, free: 202 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/6.625, allocations: 100.7 kB / 3.123 GB, free: 202 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001507/6.627, allocations: 1.004 MB / 3.124 GB, free: 201.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005918/6.633, allocations: 1.21 MB / 3.125 GB, free: 201.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 254 * 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.002277/6.635, allocations: 0.655 MB / 3.126 GB, free: 201.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008276/6.643, allocations: 5.143 MB / 3.131 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/6.644, allocations: 3.719 kB / 3.131 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/6.646, allocations: 1.621 MB / 3.132 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/6.649, allocations: 402 kB / 3.133 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/6.661, allocations: 5.63 MB / 3.138 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004043/6.665, allocations: 2.81 MB / 3.141 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/6.665, allocations: 0 / 3.141 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.1113/6.777, allocations: 61.19 MB / 3.201 GB, free: 196.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)