Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [: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.796/0.796, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001514/0.001514, allocations: 166.6 kB / 171.6 MB, free: 2 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.244/1.244, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.00166/0.00166, allocations: 116.2 kB / 444.4 MB, free: 9.336 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.5148/0.5149, allocations: 73.39 MB / 0.666 GB, free: 62.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.6883, allocations: 124 MB / 0.7871 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6886, allocations: 91.94 kB / 0.7872 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04568/0.7343, allocations: 17.29 MB / 0.8041 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.7345, allocations: 8 kB / 0.8041 GB, free: 10.77 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001605/0.7361, allocations: 0.6191 MB / 0.8047 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.7361, allocations: 12.03 kB / 0.8047 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.7372, allocations: 103.5 kB / 0.8048 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.7378, allocations: 274.5 kB / 0.8051 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.7379, allocations: 4 kB / 0.8051 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.7379, allocations: 13.69 kB / 0.8051 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005467/0.7385, allocations: 253.3 kB / 0.8053 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.7391, allocations: 349.4 kB / 0.8057 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.7391, allocations: 3.938 kB / 0.8057 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.7392, allocations: 0 / 0.8057 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.7392, allocations: 24.36 kB / 0.8057 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.7414, allocations: 1.415 MB / 0.8071 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.7421, allocations: 337.5 kB / 0.8074 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.7424, allocations: 153.7 kB / 0.8075 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.7426, allocations: 89.09 kB / 0.8076 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.743, allocations: 223.3 kB / 0.8078 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.743, allocations: 0 / 0.8078 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001134/0.7442, allocations: 447.1 kB / 0.8083 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.7442, allocations: 81.11 kB / 0.8083 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.7445, allocations: 192 kB / 0.8085 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.7445, allocations: 25.7 kB / 0.8086 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.7446, allocations: 150.1 kB / 0.8087 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.7447, allocations: 90.66 kB / 0.8088 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.7447, allocations: 0 / 0.8088 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7449, allocations: 334.8 kB / 0.8091 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.7451, allocations: 136.2 kB / 0.8092 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.7454, allocations: 205.4 kB / 0.8094 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.7457, allocations: 165.1 kB / 0.8096 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7458, allocations: 0 / 0.8096 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008695/0.7466, allocations: 427.3 kB / 0.81 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/0.7471, allocations: 0.8736 MB / 0.8109 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7471, allocations: 11.94 kB / 0.8109 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.7474, allocations: 44.77 kB / 0.8109 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.7479, allocations: 87.88 kB / 0.811 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.7494, allocations: 1.424 MB / 0.8124 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.7497, allocations: 43.86 kB / 0.8124 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.7498, allocations: 24.05 kB / 0.8124 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.7498, allocations: 4 kB / 0.8124 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007144/0.7505, allocations: 345.2 kB / 0.8128 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7505, allocations: 0 / 0.8128 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.7507, allocations: 49.09 kB / 0.8128 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.7511, allocations: 87.81 kB / 0.8129 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.7524, allocations: 1.401 MB / 0.8143 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.7528, allocations: 39.98 kB / 0.8143 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.7528, allocations: 19.98 kB / 0.8143 GB, free: 15.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.753, allocations: 116.9 kB / 0.8144 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.7531, allocations: 27.72 kB / 0.8145 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.7538, allocations: 384.2 kB / 0.8148 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7539, allocations: 11.72 kB / 0.8148 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7539, allocations: 7.938 kB / 0.8149 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.7539, allocations: 144 / 0.8149 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.7547, allocations: 0.5237 MB / 0.8154 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7547, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.7551, allocations: 84 kB / 0.8154 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.7552, allocations: 32.83 kB / 0.8155 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.7553, allocations: 8 kB / 0.8155 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.7564, allocations: 1.33 MB / 0.8168 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7564, allocations: 4 kB / 0.8168 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007501/0.7571, allocations: 0.5035 MB / 0.8173 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.7573, allocations: 132.7 kB / 0.8174 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.7574, allocations: 11.91 kB / 0.8174 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.7577, allocations: 39.89 kB / 0.8175 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7578, allocations: 31.95 kB / 0.8175 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.7579, allocations: 8 kB / 0.8175 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001539/0.758, allocations: 156.5 kB / 0.8176 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006553/0.7587, allocations: 131.9 kB / 0.8178 GB, free: 11.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.7589, allocations: 116.6 kB / 0.8179 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.7602, allocations: 0.7733 MB / 0.8186 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7602, allocations: 0 / 0.8186 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.7606, allocations: 287.2 kB / 0.8189 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.761, allocations: 42.16 kB / 0.8189 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.7622, allocations: 471.2 kB / 0.8194 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/0.7628, allocations: 0.8208 MB / 0.8202 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of SimCode: time 4e-07/0.7628, allocations: 0 / 0.8202 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of Templates: time 0.01133/0.7741, allocations: 5.706 MB / 0.8258 GB, free: 3.656 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)