Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8497/0.8497, allocations: 132.4 MB / 139.9 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001666/0.001666, allocations: 172.1 kB / 171.8 MB, free: 4.93 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.402/1.402, allocations: 170.6 MB / 374.2 MB, free: 200 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001353/0.001353, allocations: 121.4 kB / 444.8 MB, free: 14.17 MB / 314.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.1981/0.1981, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5704/0.7686, allocations: 129.7 MB / 0.7933 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.769, allocations: 91.94 kB / 0.7934 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1854/0.9544, allocations: 59.49 MB / 0.8515 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9544, allocations: 0 / 0.8515 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001946/0.9546, allocations: 43.94 kB / 0.8515 GB, free: 5.566 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.006297/0.961, allocations: 1.496 MB / 0.853 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.961, allocations: 8.031 kB / 0.853 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.9665, allocations: 469.4 kB / 0.8535 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.9708, allocations: 1.13 MB / 0.8546 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.971, allocations: 48 kB / 0.8546 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/0.9719, allocations: 91.94 kB / 0.8547 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006567/0.9785, allocations: 1.951 MB / 0.8566 GB, free: 292 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00904/0.9876, allocations: 2.538 MB / 0.8591 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.69e-05/0.9877, allocations: 4 kB / 0.8591 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006776/0.9884, allocations: 4 kB / 0.8591 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008134/0.9893, allocations: 158.8 kB / 0.8592 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/1.021, allocations: 11.02 MB / 0.87 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/1.024, allocations: 1.333 MB / 0.8713 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/1.026, allocations: 1.129 MB / 0.8724 GB, free: 15.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-05/1.026, allocations: 12.77 kB / 0.8724 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/1.026, allocations: 43.34 kB / 0.8725 GB, free: 15.53 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/1.027, allocations: 0 / 0.8725 GB, free: 15.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=139): time 0.03619/1.063, allocations: 9.335 MB / 0.8816 GB, free: 6.176 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/1.063, allocations: 76.7 kB / 0.8816 GB, free: 6.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/1.065, allocations: 0.8744 MB / 0.8825 GB, free: 5.211 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/1.065, allocations: 25.7 kB / 0.8825 GB, free: 5.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006359/1.066, allocations: 0.7206 MB / 0.8832 GB, free: 4.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007/1.066, allocations: 465 kB / 0.8837 GB, free: 3.984 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/1.067, allocations: 4 kB / 0.8837 GB, free: 3.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002996/1.067, allocations: 414.7 kB / 0.8841 GB, free: 3.566 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.069, allocations: 1.499 MB / 0.8855 GB, free: 2.066 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/1.072, allocations: 1.796 MB / 0.8873 GB, free: 164 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/1.076, allocations: 2.091 MB / 0.8893 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/1.076, allocations: 4 kB / 0.8893 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01225/1.088, allocations: 5.804 MB / 0.895 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/1.088, allocations: 12.09 kB / 0.895 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.088, allocations: 8 kB / 0.895 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008057/1.096, allocations: 2.779 MB / 0.8977 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.097, allocations: 227.6 kB / 0.8979 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3929/1.49, allocations: 15.89 MB / 0.9135 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.492, allocations: 66.52 kB / 0.9135 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/1.493, allocations: 167.5 kB / 0.9137 GB, free: 161.8 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0004638/1.493, allocations: 161 kB / 0.9138 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.493, allocations: 107.7 kB / 0.9139 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.504, allocations: 5.286 MB / 0.9191 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/1.505, allocations: 13.78 kB / 0.9191 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/1.505, allocations: 8.781 kB / 0.9191 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/1.505, allocations: 8.641 kB / 0.9191 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.521, allocations: 8.586 MB / 0.9275 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.521, allocations: 4.688 kB / 0.9275 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/1.522, allocations: 121.8 kB / 0.9276 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007196/1.529, allocations: 2.619 MB / 0.9302 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.529, allocations: 38.34 kB / 0.9302 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.547, allocations: 13.52 MB / 0.9434 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.547, allocations: 6.156 kB / 0.9434 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008383/1.555, allocations: 5.164 MB / 0.9485 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.556, allocations: 0.6209 MB / 0.9491 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/1.557, allocations: 11.77 kB / 0.9491 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/1.558, allocations: 54.61 kB / 0.9492 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/1.558, allocations: 127.2 kB / 0.9493 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.558, allocations: 121.8 kB / 0.9494 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007487/1.559, allocations: 0.667 MB / 0.95 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.559, allocations: 0 / 0.95 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002073/1.561, allocations: 0.5278 MB / 0.9506 GB, free: 150.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.000319/1.561, allocations: 122.9 kB / 0.9507 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006375/1.568, allocations: 4.048 MB / 0.9546 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.568, allocations: 0 / 0.9546 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/1.572, allocations: 2.38 MB / 0.957 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/1.574, allocations: 152.1 kB / 0.9571 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/1.579, allocations: 3.455 MB / 0.9605 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.58, allocations: 1.711 MB / 0.9621 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001216/1.581, allocations: 413.1 kB / 0.9625 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.581, allocations: 66.69 kB / 0.9626 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.472e-06/1.581, allocations: 0 / 0.9626 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.05116/1.633, allocations: 38.98 MB / 1.001 GB, free: 121.6 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)