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") [: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.8715/0.8715, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001538/0.001538, allocations: 169.9 kB / 171.6 MB, free: 2 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.527/1.527, allocations: 170.5 MB / 373.9 MB, free: 15.92 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.001781/0.001781, allocations: 109.3 kB / 444.4 MB, free: 9.469 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.5424/0.5425, allocations: 73.39 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.7228, allocations: 131.4 MB / 0.7943 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.7231, allocations: 88.69 kB / 0.7944 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1634/0.8865, allocations: 61.79 MB / 0.8547 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001588/0.8867, allocations: 43.98 kB / 0.8548 GB, free: 6.5 MB / 0.5573 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.005859/0.8926, allocations: 1.637 MB / 0.8564 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8927, allocations: 8.031 kB / 0.8564 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.8965, allocations: 477.1 kB / 0.8568 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.8998, allocations: 1.282 MB / 0.8581 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.8999, allocations: 55.98 kB / 0.8582 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006659/0.9005, allocations: 88 kB / 0.8582 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004992/0.9055, allocations: 2.345 MB / 0.8605 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005926/0.9115, allocations: 2.942 MB / 0.8634 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.9116, allocations: 4 kB / 0.8634 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.9118, allocations: 0 / 0.8634 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006565/0.9124, allocations: 194.8 kB / 0.8636 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.9418, allocations: 13.43 MB / 0.8767 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.9451, allocations: 1.956 MB / 0.8786 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.9478, allocations: 1.731 MB / 0.8803 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.948, allocations: 20.97 kB / 0.8803 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.948, allocations: 51.48 kB / 0.8804 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.948, allocations: 0 / 0.8804 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=183): time 0.2736/1.222, allocations: 15.33 MB / 0.8953 GB, free: 224.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/1.222, allocations: 72.88 kB / 0.8954 GB, free: 224.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/1.223, allocations: 1.152 MB / 0.8965 GB, free: 224.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.224, allocations: 25.7 kB / 0.8966 GB, free: 224.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.224, allocations: 0.6578 MB / 0.8972 GB, free: 224.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006001/1.225, allocations: 0.5975 MB / 0.8978 GB, free: 224.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.225, allocations: 0 / 0.8978 GB, free: 224.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.225, allocations: 385.8 kB / 0.8982 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/1.228, allocations: 2.483 MB / 0.9006 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/1.231, allocations: 2.802 MB / 0.9033 GB, free: 223.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/1.236, allocations: 3.347 MB / 0.9066 GB, free: 223.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.236, allocations: 3.312 kB / 0.9066 GB, free: 223.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01772/1.254, allocations: 9.747 MB / 0.9161 GB, free: 223.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.254, allocations: 7.719 kB / 0.9161 GB, free: 223.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.254, allocations: 7.875 kB / 0.9161 GB, free: 223.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/1.27, allocations: 5.318 MB / 0.9213 GB, free: 223.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.271, allocations: 256.3 kB / 0.9216 GB, free: 223.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03419/1.305, allocations: 23.62 MB / 0.9446 GB, free: 214.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.308, allocations: 80.42 kB / 0.9447 GB, free: 214.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009735/1.309, allocations: 255.7 kB / 0.9449 GB, free: 214.8 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.0009112/1.31, allocations: 190.9 kB / 0.9451 GB, free: 214.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/1.311, allocations: 138.2 kB / 0.9453 GB, free: 214.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.331, allocations: 9.164 MB / 0.9542 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/1.331, allocations: 21.94 kB / 0.9542 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.671e-05/1.331, allocations: 18.38 kB / 0.9542 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.331, allocations: 9.094 kB / 0.9543 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.358, allocations: 14.11 MB / 0.968 GB, free: 203.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.358, allocations: 0 / 0.968 GB, free: 203.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/1.359, allocations: 122.1 kB / 0.9682 GB, free: 203.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.374, allocations: 5.101 MB / 0.9731 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/1.375, allocations: 62.72 kB / 0.9732 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/1.403, allocations: 20.53 MB / 0.9932 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.403, allocations: 5.031 kB / 0.9932 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01506/1.418, allocations: 8.698 MB / 1.002 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.42, allocations: 0.9324 MB / 1.003 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.421, allocations: 11 kB / 1.003 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.422, allocations: 54.34 kB / 1.003 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.423, allocations: 157.5 kB / 1.003 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003261/1.423, allocations: 179.9 kB / 1.003 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0009957/1.424, allocations: 0.8622 MB / 1.004 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002817/1.427, allocations: 0.7043 MB / 1.005 GB, free: 169 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.0003898/1.427, allocations: 131.1 kB / 1.005 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009219/1.436, allocations: 6.15 MB / 1.011 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.436, allocations: 0 / 1.011 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007131/1.443, allocations: 3.625 MB / 1.014 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/1.445, allocations: 156.9 kB / 1.014 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/1.453, allocations: 4.876 MB / 1.019 GB, free: 154 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.455, allocations: 1.92 MB / 1.021 GB, free: 152 MB / 0.5886 GB Notification: Performance of SimCode: time 2.384e-06/1.455, allocations: 0 / 1.021 GB, free: 152 MB / 0.5886 GB Notification: Performance of Templates: time 0.07293/1.528, allocations: 64.9 MB / 1.084 GB, free: 88.25 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)