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_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9971/0.9971, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.001225/0.001225, allocations: 177.5 kB / 171.8 MB, free: 2.02 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.496/1.496, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001672/0.001672, allocations: 115.2 kB / 444.8 MB, free: 9.238 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.4974/0.4974, allocations: 73.4 MB / 0.6666 GB, free: 46.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.6895, allocations: 147.6 MB / 0.8107 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.6899, allocations: 94.61 kB / 0.8108 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9986/1.689, allocations: 267 MB / 1.072 GB, free: 10.11 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.784e-06/1.689, allocations: 0 / 1.072 GB, free: 10.11 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003735/1.689, allocations: 147.8 kB / 1.072 GB, free: 9.965 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.01753/1.706, allocations: 4.584 MB / 1.076 GB, free: 5.316 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/1.707, allocations: 8.031 kB / 1.076 GB, free: 5.309 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.719, allocations: 1.464 MB / 1.078 GB, free: 3.836 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.73, allocations: 4.176 MB / 1.082 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/1.73, allocations: 160 kB / 1.082 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.733, allocations: 301.9 kB / 1.082 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01414/1.747, allocations: 5.522 MB / 1.087 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.765, allocations: 7.472 MB / 1.095 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/1.766, allocations: 27.72 kB / 1.095 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/1.766, allocations: 16 kB / 1.095 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003529/1.767, allocations: 325.7 kB / 1.095 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5609/2.328, allocations: 28.23 MB / 1.123 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00688/2.334, allocations: 2.704 MB / 1.125 GB, free: 75.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005263/2.34, allocations: 2.482 MB / 1.128 GB, free: 75.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/2.34, allocations: 27.16 kB / 1.128 GB, free: 75.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.322e-05/2.34, allocations: 58.75 kB / 1.128 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=265): time 7.274e-06/2.34, allocations: 3.906 kB / 1.128 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=424): time 0.1032/2.444, allocations: 27.37 MB / 1.155 GB, free: 73.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/2.444, allocations: 96.2 kB / 1.155 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/2.448, allocations: 1.628 MB / 1.156 GB, free: 73.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/2.449, allocations: 28.2 kB / 1.156 GB, free: 73.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002491/2.452, allocations: 2.323 MB / 1.159 GB, free: 72.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003038/2.455, allocations: 1.369 MB / 1.16 GB, free: 71.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/2.455, allocations: 0 / 1.16 GB, free: 71.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004338/2.456, allocations: 492.4 kB / 1.16 GB, free: 71.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/2.461, allocations: 2.66 MB / 1.163 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006052/2.467, allocations: 3.587 MB / 1.166 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/2.473, allocations: 3.253 MB / 1.17 GB, free: 70.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.244e-05/2.474, allocations: 6.531 kB / 1.17 GB, free: 70.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.03791/2.511, allocations: 11.16 MB / 1.181 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/2.512, allocations: 16.62 kB / 1.181 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.769e-05/2.512, allocations: 27.53 kB / 1.181 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/2.535, allocations: 4.892 MB / 1.185 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/2.538, allocations: 0.5066 MB / 1.186 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06686/2.605, allocations: 62.29 MB / 1.247 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/2.61, allocations: 97.72 kB / 1.247 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008342/2.611, allocations: 162.8 kB / 1.247 GB, free: 27.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008924/2.611, allocations: 194.3 kB / 1.247 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.612, allocations: 365.9 kB / 1.247 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/2.635, allocations: 11.02 MB / 1.258 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/2.635, allocations: 43.41 kB / 1.258 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001681/2.636, allocations: 45.28 kB / 1.258 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.406e-05/2.636, allocations: 22.2 kB / 1.258 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04187/2.678, allocations: 16.58 MB / 1.275 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/2.678, allocations: 8.781 kB / 1.275 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/2.679, allocations: 294 kB / 1.275 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01484/2.694, allocations: 4.435 MB / 1.279 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.695, allocations: 19.98 kB / 1.279 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07509/2.77, allocations: 60.12 MB / 1.338 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/2.771, allocations: 11.91 kB / 1.338 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5253/3.296, allocations: 14.77 MB / 1.352 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005417/3.301, allocations: 0.9581 MB / 1.353 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/3.303, allocations: 12.64 kB / 1.353 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/3.306, allocations: 109.5 kB / 1.353 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001773/3.308, allocations: 406.8 kB / 1.354 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/3.309, allocations: 103.8 kB / 1.354 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002758/3.311, allocations: 1.191 MB / 1.355 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.002e-06/3.311, allocations: 0 / 1.355 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009594/3.321, allocations: 1.497 MB / 1.357 GB, free: 114.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008924/3.322, allocations: 148 kB / 1.357 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02067/3.342, allocations: 10.99 MB / 1.367 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/3.343, allocations: 6.188 kB / 1.367 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01564/3.358, allocations: 7.608 MB / 1.375 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007514/3.366, allocations: 0.8716 MB / 1.376 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/3.395, allocations: 10.02 MB / 1.385 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009026/3.404, allocations: 4.176 MB / 1.39 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003189/3.408, allocations: 0.6714 MB / 1.39 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/3.408, allocations: 164.6 kB / 1.39 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/3.408, allocations: 0 / 1.39 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.1929/3.601, allocations: 90.12 MB / 1.478 GB, free: 99.16 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)