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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9959/0.9959, allocations: 132.4 MB / 139.9 MB, free: 2.875 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.001324/0.001325, allocations: 171.1 kB / 171.8 MB, free: 4.949 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.382/1.382, allocations: 170.6 MB / 374.2 MB, free: 172 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.001592/0.001593, allocations: 105.5 kB / 444.8 MB, free: 14.16 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.1613/0.1613, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6405/0.8019, allocations: 131.4 MB / 0.795 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.8022, allocations: 99.92 kB / 0.7951 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1637/0.966, allocations: 62.16 MB / 0.8558 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.405e-06/0.966, allocations: 0 / 0.8558 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000162/0.9662, allocations: 36 kB / 0.8558 GB, free: 1.188 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006409/0.9726, allocations: 1.613 MB / 0.8574 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9727, allocations: 8.031 kB / 0.8574 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.9764, allocations: 493.1 kB / 0.8579 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.9802, allocations: 1.275 MB / 0.8591 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.9803, allocations: 48 kB / 0.8592 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009953/0.9813, allocations: 87.95 kB / 0.8592 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006256/0.9876, allocations: 2.259 MB / 0.8614 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.9941, allocations: 2.868 MB / 0.8643 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.9942, allocations: 7.938 kB / 0.8643 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.9944, allocations: 0 / 0.8643 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007081/0.9951, allocations: 174.9 kB / 0.8644 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02458/1.02, allocations: 13.18 MB / 0.8773 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.023, allocations: 1.96 MB / 0.8792 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/1.025, allocations: 1.657 MB / 0.8808 GB, free: 6.969 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.523e-05/1.025, allocations: 25.28 kB / 0.8809 GB, free: 6.941 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.025, allocations: 51.81 kB / 0.8809 GB, free: 6.883 MB / 0.573 GB Notification: Performance of pre-optimization done (n=104): time 3.677e-06/1.025, allocations: 0 / 0.8809 GB, free: 6.883 MB / 0.573 GB Notification: Performance of matching and sorting (n=183): time 0.04615/1.071, allocations: 15.39 MB / 0.8959 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.071, allocations: 73.41 kB / 0.896 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/1.073, allocations: 1.118 MB / 0.8971 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003999/1.074, allocations: 25.7 kB / 0.8971 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/1.074, allocations: 0.7795 MB / 0.8979 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/1.075, allocations: 0.5927 MB / 0.8985 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/1.075, allocations: 0 / 0.8985 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.075, allocations: 389.9 kB / 0.8988 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/1.078, allocations: 2.358 MB / 0.9011 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3992/1.478, allocations: 2.675 MB / 0.9037 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/1.485, allocations: 3.148 MB / 0.9068 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/1.486, allocations: 2.5 kB / 0.9068 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.02194/1.507, allocations: 9.409 MB / 0.916 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/1.508, allocations: 8.188 kB / 0.916 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.508, allocations: 10.23 kB / 0.916 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/1.523, allocations: 5.27 MB / 0.9212 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.525, allocations: 255.2 kB / 0.9214 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/1.562, allocations: 25.07 MB / 0.9459 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.564, allocations: 106.8 kB / 0.946 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005192/1.565, allocations: 259 kB / 0.9462 GB, free: 152.2 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0006678/1.566, allocations: 186.5 kB / 0.9464 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/1.566, allocations: 139 kB / 0.9466 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/1.581, allocations: 8.84 MB / 0.9552 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/1.581, allocations: 17.66 kB / 0.9552 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.581, allocations: 16.78 kB / 0.9552 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.581, allocations: 7.688 kB / 0.9552 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.603, allocations: 13.72 MB / 0.9686 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.604, allocations: 1.812 kB / 0.9686 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/1.604, allocations: 126.3 kB / 0.9688 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01347/1.617, allocations: 5.025 MB / 0.9737 GB, free: 144 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/1.618, allocations: 61.5 kB / 0.9737 GB, free: 144 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/1.646, allocations: 21.53 MB / 0.9947 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.646, allocations: 6.156 kB / 0.9948 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.66, allocations: 8.422 MB / 1.003 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.662, allocations: 0.9324 MB / 1.004 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/1.663, allocations: 8 kB / 1.004 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.664, allocations: 70.02 kB / 1.004 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/1.665, allocations: 193.5 kB / 1.004 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/1.665, allocations: 179.6 kB / 1.004 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009967/1.666, allocations: 0.8466 MB / 1.005 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/1.666, allocations: 0 / 1.005 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003022/1.669, allocations: 0.7393 MB / 1.006 GB, free: 115.9 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/1.669, allocations: 124 kB / 1.006 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009512/1.679, allocations: 6.093 MB / 1.012 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.679, allocations: 0 / 1.012 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007065/1.686, allocations: 3.614 MB / 1.015 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.687, allocations: 154.7 kB / 1.016 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/1.694, allocations: 4.688 MB / 1.02 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.695, allocations: 1.845 MB / 1.022 GB, free: 99.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001307/1.696, allocations: 0.5021 MB / 1.022 GB, free: 98.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/1.697, allocations: 95.09 kB / 1.023 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/1.697, allocations: 0 / 1.023 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.07978/1.776, allocations: 63.54 MB / 1.085 GB, free: 35.7 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)