Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [: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.7143/0.7143, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001183/0.001183, allocations: 164.2 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.437/1.437, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001717/0.001717, allocations: 119.1 kB / 444.4 MB, free: 9.395 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.5526/0.5526, allocations: 73.4 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.7521, allocations: 137.6 MB / 0.8004 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.7526, allocations: 103.9 kB / 0.8005 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2452/0.9978, allocations: 93.6 MB / 0.8919 GB, free: 76 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002842/0.9982, allocations: 59.98 kB / 0.8919 GB, free: 16 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 683 * Number of variables: 683 Notification: Performance of Generate backend data structure: time 0.3661/1.364, allocations: 2.184 MB / 0.8941 GB, free: 211.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.364, allocations: 10.66 kB / 0.8941 GB, free: 211.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/1.369, allocations: 0.6649 MB / 0.8947 GB, free: 211.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/1.373, allocations: 1.454 MB / 0.8962 GB, free: 210.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/1.373, allocations: 82.97 kB / 0.8962 GB, free: 210.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/1.374, allocations: 149.7 kB / 0.8964 GB, free: 210.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00541/1.379, allocations: 3.058 MB / 0.8994 GB, free: 210.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/1.385, allocations: 3.867 MB / 0.9031 GB, free: 210.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.178e-05/1.386, allocations: 11.78 kB / 0.9032 GB, free: 210.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/1.386, allocations: 7.406 kB / 0.9032 GB, free: 210.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002359/1.386, allocations: 165.7 kB / 0.9033 GB, free: 210.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/1.409, allocations: 15.58 MB / 0.9185 GB, free: 203.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/1.41, allocations: 0.543 MB / 0.9191 GB, free: 203.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/1.41, allocations: 0.5116 MB / 0.9196 GB, free: 203 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/1.41, allocations: 13.31 kB / 0.9196 GB, free: 203 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/1.41, allocations: 55.2 kB / 0.9196 GB, free: 203 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 4.408e-06/1.41, allocations: 0 / 0.9196 GB, free: 203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=56): time 0.008179/1.419, allocations: 3.623 MB / 0.9232 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/1.419, allocations: 245.8 kB / 0.9234 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.421, allocations: 1.143 MB / 0.9245 GB, free: 200.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.421, allocations: 25.7 kB / 0.9245 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/1.422, allocations: 1.141 MB / 0.9257 GB, free: 199.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.422, allocations: 212.1 kB / 0.9259 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/1.422, allocations: 0 / 0.9259 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.422, allocations: 404.9 kB / 0.9262 GB, free: 199.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.423, allocations: 0.7878 MB / 0.927 GB, free: 199.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.425, allocations: 1.468 MB / 0.9285 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.427, allocations: 1.157 MB / 0.9296 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/1.427, allocations: 5.219 kB / 0.9296 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003894/1.43, allocations: 2.301 MB / 0.9318 GB, free: 198.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003318/1.434, allocations: 9.387 MB / 0.941 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.132e-05/1.434, allocations: 26.56 kB / 0.941 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-05/1.434, allocations: 39.66 kB / 0.9411 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.436, allocations: 406 kB / 0.9415 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.035e-05/1.436, allocations: 54.03 kB / 0.9415 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.438, allocations: 171.1 kB / 0.9417 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.438, allocations: 90.66 kB / 0.9418 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.438, allocations: 5.625 kB / 0.9418 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003179/1.441, allocations: 1.928 MB / 0.9436 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.883e-05/1.441, allocations: 24.5 kB / 0.9437 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/1.441, allocations: 38.16 kB / 0.9437 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.443, allocations: 388.8 kB / 0.9441 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.483e-05/1.443, allocations: 46.33 kB / 0.9441 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.444, allocations: 103.3 kB / 0.9442 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.444, allocations: 89.42 kB / 0.9443 GB, free: 188.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0003666/1.445, allocations: 167.6 kB / 0.9445 GB, free: 188.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/1.445, allocations: 95 kB / 0.9446 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/1.447, allocations: 0.8801 MB / 0.9454 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.447, allocations: 9.531 kB / 0.9454 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.447, allocations: 3.438 kB / 0.9454 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.447, allocations: 7 kB / 0.9454 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.46, allocations: 8.088 MB / 0.9533 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-05/1.46, allocations: 14.78 kB / 0.9533 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/1.46, allocations: 125.1 kB / 0.9535 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.934e-05/1.46, allocations: 17.97 kB / 0.9535 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/1.461, allocations: 18.91 kB / 0.9535 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-05/1.461, allocations: 24.73 kB / 0.9535 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.724e-05/1.461, allocations: 22.22 kB / 0.9535 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002897/1.464, allocations: 2.379 MB / 0.9559 GB, free: 185 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.465, allocations: 345.3 kB / 0.9562 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/1.465, allocations: 19.42 kB / 0.9562 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.466, allocations: 65.8 kB / 0.9563 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.467, allocations: 70.31 kB / 0.9563 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/1.467, allocations: 31.41 kB / 0.9564 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001546/1.468, allocations: 0.8651 MB / 0.9572 GB, free: 184.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005008/1.473, allocations: 0.7197 MB / 0.9579 GB, free: 184.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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 Backend phase and start with SimCode phase: time 0.000381/1.474, allocations: 142 kB / 0.9581 GB, free: 184.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004018/1.478, allocations: 2.536 MB / 0.9605 GB, free: 184 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/1.478, allocations: 3.812 kB / 0.9605 GB, free: 184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006056/1.478, allocations: 475.6 kB / 0.961 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.48, allocations: 195.9 kB / 0.9612 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.49, allocations: 3.525 MB / 0.9646 GB, free: 182.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/1.494, allocations: 2.156 MB / 0.9667 GB, free: 181.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.954e-06/1.494, allocations: 2.719 kB / 0.9667 GB, free: 181.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.05662/1.551, allocations: 21.26 MB / 0.9875 GB, free: 178.5 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)