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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [: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.8616/0.8616, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001143/0.001143, allocations: 171.7 kB / 171.6 MB, free: 2.027 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.429/1.429, 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.001712/0.001712, allocations: 110.5 kB / 444.4 MB, free: 9.348 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.5023/0.5023, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.7174, allocations: 157.3 MB / 0.8196 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/0.7179, allocations: 87.94 kB / 0.8197 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7082/1.426, allocations: 144.7 MB / 0.961 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003419/1.427, allocations: 97.77 kB / 0.9611 GB, free: 145.2 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.0138/1.44, allocations: 3.25 MB / 0.9643 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.44, allocations: 9.562 kB / 0.9643 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007597/1.448, allocations: 0.7892 MB / 0.9651 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008493/1.457, allocations: 2.554 MB / 0.9676 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/1.457, allocations: 115 kB / 0.9677 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/1.459, allocations: 230.7 kB / 0.9679 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01159/1.471, allocations: 3.678 MB / 0.9715 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/1.489, allocations: 5.184 MB / 0.9765 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/1.489, allocations: 20.38 kB / 0.9766 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006389/1.49, allocations: 8.688 kB / 0.9766 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/1.49, allocations: 226.4 kB / 0.9768 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/1.521, allocations: 19.36 MB / 0.9957 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.523, allocations: 1.044 MB / 0.9967 GB, free: 116 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.524, allocations: 0.976 MB / 0.9977 GB, free: 115 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/1.524, allocations: 13 kB / 0.9977 GB, free: 115 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.525, allocations: 43.56 kB / 0.9977 GB, free: 115 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/1.525, allocations: 0 / 0.9977 GB, free: 115 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.01468/1.539, allocations: 6.949 MB / 1.004 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.539, allocations: 72.7 kB / 1.005 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.541, allocations: 1.073 MB / 1.006 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/1.542, allocations: 25.7 kB / 1.006 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/1.542, allocations: 1.404 MB / 1.007 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/1.543, allocations: 441.5 kB / 1.007 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.543, allocations: 0 / 1.007 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.543, allocations: 377.9 kB / 1.008 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.544, allocations: 0.8629 MB / 1.009 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.546, allocations: 1.444 MB / 1.01 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.547, allocations: 1.119 MB / 1.011 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.547, allocations: 11.91 kB / 1.011 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005576/1.553, allocations: 3.057 MB / 1.014 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.553, allocations: 7.938 kB / 1.014 GB, free: 97.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/1.553, allocations: 20 kB / 1.014 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/1.555, allocations: 0.7141 MB / 1.015 GB, free: 96.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.557, allocations: 379.3 kB / 1.015 GB, free: 96.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.569, allocations: 14.48 MB / 1.029 GB, free: 81.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.571, allocations: 47.95 kB / 1.029 GB, free: 81.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004861/1.572, allocations: 80.05 kB / 1.029 GB, free: 80.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005688/1.572, allocations: 168.3 kB / 1.03 GB, free: 80.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/1.573, allocations: 185.8 kB / 1.03 GB, free: 80.58 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/1.578, allocations: 2.676 MB / 1.032 GB, free: 77.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.578, allocations: 12 kB / 1.032 GB, free: 77.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.199e-05/1.578, allocations: 8 kB / 1.032 GB, free: 77.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.578, allocations: 3.984 kB / 1.032 GB, free: 77.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.591, allocations: 5.526 MB / 1.038 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.591, allocations: 8 kB / 1.038 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.592, allocations: 215.7 kB / 1.038 GB, free: 72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/1.594, allocations: 0.6476 MB / 1.039 GB, free: 71.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/1.594, allocations: 20.11 kB / 1.039 GB, free: 71.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.605, allocations: 14.18 MB / 1.053 GB, free: 56.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.605, allocations: 8 kB / 1.053 GB, free: 56.08 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006311/1.612, allocations: 4.251 MB / 1.057 GB, free: 51.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.613, allocations: 434.7 kB / 1.057 GB, free: 51.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008033/1.614, allocations: 12.11 kB / 1.057 GB, free: 51.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.615, allocations: 39.95 kB / 1.057 GB, free: 51.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.616, allocations: 88.67 kB / 1.057 GB, free: 51.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/1.616, allocations: 36 kB / 1.057 GB, free: 50.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001394/1.617, allocations: 0.7957 MB / 1.058 GB, free: 50.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003286/1.62, allocations: 0.6092 MB / 1.059 GB, free: 49.58 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/1.621, allocations: 136 kB / 1.059 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004549/1.625, allocations: 3.221 MB / 1.062 GB, free: 46.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.625, allocations: 0 / 1.062 GB, free: 46.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002587/1.628, allocations: 2.068 MB / 1.064 GB, free: 43.97 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.631, allocations: 0.5117 MB / 1.064 GB, free: 43.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.642, allocations: 5.303 MB / 1.07 GB, free: 38.03 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002946/1.645, allocations: 2.806 MB / 1.072 GB, free: 35.19 MB / 0.5886 GB Notification: Performance of SimCode: time 1.673e-06/1.645, allocations: 4 kB / 1.072 GB, free: 35.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.05117/1.696, allocations: 29.87 MB / 1.102 GB, free: 5.605 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)