Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [: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.717/0.717, 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.001135/0.001136, allocations: 164.4 kB / 171.6 MB, free: 1.996 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.473/1.473, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001659/0.001659, allocations: 119.4 kB / 444.4 MB, free: 9.383 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.534/0.534, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.7142, allocations: 133.7 MB / 0.7966 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.7147, allocations: 91.94 kB / 0.7967 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8337/1.548, allocations: 180.8 MB / 0.9732 GB, free: 131 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0008006/1.549, allocations: 132.2 kB / 0.9733 GB, free: 131 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.02052/1.57, allocations: 4.221 MB / 0.9775 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.57, allocations: 12.72 kB / 0.9775 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009444/1.579, allocations: 0.9812 MB / 0.9784 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/1.593, allocations: 3.236 MB / 0.9816 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/1.593, allocations: 153.6 kB / 0.9817 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003208/1.597, allocations: 280 kB / 0.982 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01609/1.613, allocations: 4.854 MB / 0.9867 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/1.638, allocations: 6.831 MB / 0.9934 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/1.638, allocations: 15.88 kB / 0.9934 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002205/1.64, allocations: 19.91 kB / 0.9935 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/1.64, allocations: 277.1 kB / 0.9937 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03357/1.674, allocations: 24.81 MB / 1.018 GB, free: 91.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/1.677, allocations: 2.021 MB / 1.02 GB, free: 89.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/1.678, allocations: 1.442 MB / 1.021 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/1.678, allocations: 17.31 kB / 1.021 GB, free: 88.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.678, allocations: 59.77 kB / 1.021 GB, free: 88.28 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 3.978e-06/1.678, allocations: 0 / 1.021 GB, free: 88.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=160): time 0.008369/1.687, allocations: 4.888 MB / 1.026 GB, free: 83.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.687, allocations: 72.66 kB / 1.026 GB, free: 83.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.688, allocations: 1.24 MB / 1.027 GB, free: 82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.688, allocations: 25.7 kB / 1.027 GB, free: 81.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/1.689, allocations: 1.786 MB / 1.029 GB, free: 80.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/1.689, allocations: 0.5351 MB / 1.03 GB, free: 79.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/1.69, allocations: 0 / 1.03 GB, free: 79.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.69, allocations: 382.1 kB / 1.03 GB, free: 79.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/1.691, allocations: 0.9999 MB / 1.031 GB, free: 78.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.692, allocations: 1.701 MB / 1.033 GB, free: 76.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/1.694, allocations: 1.302 MB / 1.034 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.694, allocations: 8 kB / 1.034 GB, free: 74.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005152/1.699, allocations: 3.59 MB / 1.038 GB, free: 71.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.699, allocations: 4 kB / 1.038 GB, free: 71.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.699, allocations: 27.94 kB / 1.038 GB, free: 71.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/1.701, allocations: 0.9116 MB / 1.038 GB, free: 70.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.702, allocations: 399.3 kB / 1.039 GB, free: 69.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.717, allocations: 19.67 MB / 1.058 GB, free: 48.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.719, allocations: 59.94 kB / 1.058 GB, free: 48.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.719, allocations: 92 kB / 1.058 GB, free: 48.71 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004311/1.72, allocations: 170.4 kB / 1.058 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/1.72, allocations: 233.3 kB / 1.059 GB, free: 48.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/1.725, allocations: 3.164 MB / 1.062 GB, free: 45.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.725, allocations: 16 kB / 1.062 GB, free: 45.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.725, allocations: 12 kB / 1.062 GB, free: 45.08 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.725, allocations: 11.88 kB / 1.062 GB, free: 45.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.737, allocations: 6.754 MB / 1.068 GB, free: 38.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.737, allocations: 4 kB / 1.068 GB, free: 38.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/1.738, allocations: 199.7 kB / 1.068 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.74, allocations: 0.8711 MB / 1.069 GB, free: 37.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.74, allocations: 12 kB / 1.069 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.754, allocations: 19.67 MB / 1.089 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.754, allocations: 7.938 kB / 1.089 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005058/1.759, allocations: 3.604 MB / 1.092 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.76, allocations: 0.506 MB / 1.093 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/1.761, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.762, allocations: 43.94 kB / 1.093 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.762, allocations: 93.03 kB / 1.093 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.762, allocations: 44 kB / 1.093 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001302/1.763, allocations: 0.91 MB / 1.094 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003478/1.767, allocations: 0.8046 MB / 1.094 GB, free: 9.77 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003322/1.767, allocations: 124.9 kB / 1.095 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005142/1.772, allocations: 4.024 MB / 1.098 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.772, allocations: 6.125 kB / 1.098 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.776, allocations: 2.72 MB / 1.101 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.779, allocations: 0.6288 MB / 1.102 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.795, allocations: 6.144 MB / 1.108 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004773/1.799, allocations: 3.378 MB / 1.111 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of SimCode: time 2.184e-06/1.799, allocations: 0 / 1.111 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of Templates: time 0.4036/2.203, allocations: 37.5 MB / 1.148 GB, free: 185.2 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)