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") [: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.7509/0.7509, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001244/0.001244, allocations: 163.3 kB / 171.6 MB, free: 1.941 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.481/1.481, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001691/0.001691, allocations: 125 kB / 444.5 MB, free: 9.355 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.524/0.5241, allocations: 73.4 MB / 0.666 GB, free: 62.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.7049, allocations: 129.7 MB / 0.7927 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004538/0.7055, allocations: 93.62 kB / 0.7927 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1598/0.8653, allocations: 59.13 MB / 0.8505 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001375/0.8655, allocations: 36 kB / 0.8505 GB, free: 10.84 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: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.005675/0.8712, allocations: 1.518 MB / 0.852 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.8712, allocations: 11.97 kB / 0.852 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.875, allocations: 465.3 kB / 0.8525 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.8782, allocations: 1.137 MB / 0.8536 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.8783, allocations: 48 kB / 0.8536 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/0.8789, allocations: 84 kB / 0.8537 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005224/0.8842, allocations: 2.033 MB / 0.8557 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/0.8908, allocations: 2.604 MB / 0.8582 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.31e-05/0.8909, allocations: 7.938 kB / 0.8582 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.8914, allocations: 4 kB / 0.8582 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005661/0.892, allocations: 162.8 kB / 0.8584 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.9138, allocations: 11.19 MB / 0.8693 GB, free: 6.992 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.9161, allocations: 1.329 MB / 0.8706 GB, free: 5.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.9178, allocations: 1.153 MB / 0.8717 GB, free: 4.496 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.9179, allocations: 12.64 kB / 0.8717 GB, free: 4.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.9179, allocations: 43.22 kB / 0.8718 GB, free: 4.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 5.059e-06/0.918, allocations: 0 / 0.8718 GB, free: 4.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=139): time 0.0295/0.9475, allocations: 9.327 MB / 0.8809 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.9476, allocations: 64.72 kB / 0.881 GB, free: 11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.9493, allocations: 0.9018 MB / 0.8818 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002477/0.9496, allocations: 25.7 kB / 0.8819 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.9501, allocations: 0.6345 MB / 0.8825 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/0.9507, allocations: 465.1 kB / 0.8829 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.9509, allocations: 4 kB / 0.8829 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.9512, allocations: 418.7 kB / 0.8833 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.9536, allocations: 1.577 MB / 0.8849 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.9561, allocations: 1.859 MB / 0.8867 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/0.9606, allocations: 2.216 MB / 0.8888 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.9607, allocations: 7.906 kB / 0.8889 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.2389/1.2, allocations: 6.016 MB / 0.8947 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.2, allocations: 3.719 kB / 0.8947 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/1.2, allocations: 9.531 kB / 0.8947 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007584/1.207, allocations: 2.816 MB / 0.8975 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/1.208, allocations: 217.3 kB / 0.8977 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.227, allocations: 15.08 MB / 0.9124 GB, free: 223.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.229, allocations: 52.05 kB / 0.9125 GB, free: 223.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.229, allocations: 163.5 kB / 0.9126 GB, free: 223.2 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.0004563/1.23, allocations: 169.8 kB / 0.9128 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.23, allocations: 108.2 kB / 0.9129 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009647/1.24, allocations: 5.49 MB / 0.9183 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.24, allocations: 17.69 kB / 0.9183 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.24, allocations: 7.719 kB / 0.9183 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.24, allocations: 13.3 kB / 0.9183 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.255, allocations: 8.803 MB / 0.9269 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.255, allocations: 3.875 kB / 0.9269 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.255, allocations: 111.8 kB / 0.927 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007676/1.263, allocations: 2.662 MB / 0.9296 GB, free: 221.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003131/1.263, allocations: 41.91 kB / 0.9296 GB, free: 221.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/1.281, allocations: 13.05 MB / 0.9424 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/1.281, allocations: 3.781 kB / 0.9424 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0105/1.292, allocations: 5.337 MB / 0.9476 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.293, allocations: 0.6188 MB / 0.9482 GB, free: 213.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.293, allocations: 11.19 kB / 0.9482 GB, free: 213.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/1.294, allocations: 33.08 kB / 0.9482 GB, free: 213.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.295, allocations: 111.8 kB / 0.9484 GB, free: 213.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.295, allocations: 113.4 kB / 0.9485 GB, free: 213.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0009272/1.296, allocations: 0.6865 MB / 0.9491 GB, free: 212.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002169/1.298, allocations: 0.5111 MB / 0.9496 GB, free: 212.8 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.0003215/1.298, allocations: 122.8 kB / 0.9497 GB, free: 212.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006964/1.305, allocations: 4.072 MB / 0.9537 GB, free: 211.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.305, allocations: 0 / 0.9537 GB, free: 211.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004494/1.31, allocations: 2.361 MB / 0.956 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.311, allocations: 150 kB / 0.9562 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/1.319, allocations: 3.572 MB / 0.9597 GB, free: 207.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.32, allocations: 1.757 MB / 0.9614 GB, free: 206.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/1.32, allocations: 4 kB / 0.9614 GB, free: 206.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.05338/1.374, allocations: 40.82 MB / 1.001 GB, free: 172.3 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)