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_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.7575/0.7575, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001111/0.001111, allocations: 174.2 kB / 171.6 MB, free: 1.984 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.352/1.352, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001746/0.001746, allocations: 107.7 kB / 444.4 MB, free: 9.359 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.4707/0.4707, allocations: 73.4 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.6545, allocations: 148.5 MB / 0.8111 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.655, allocations: 91.94 kB / 0.8112 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.111/1.766, allocations: 317.4 MB / 1.121 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0009901/1.767, allocations: 163.9 kB / 1.121 GB, free: 3.418 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.3893/2.157, allocations: 5.543 MB / 1.127 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/2.157, allocations: 12.75 kB / 1.127 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/2.173, allocations: 1.645 MB / 1.128 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/2.19, allocations: 4.983 MB / 1.133 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/2.19, allocations: 192 kB / 1.133 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003843/2.194, allocations: 352.3 kB / 1.134 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01889/2.213, allocations: 7.006 MB / 1.141 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/2.245, allocations: 9.113 MB / 1.149 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003201/2.245, allocations: 31.73 kB / 1.15 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/2.247, allocations: 14.81 kB / 1.15 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004031/2.247, allocations: 394.7 kB / 1.15 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06341/2.311, allocations: 32.46 MB / 1.182 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005838/2.317, allocations: 3.72 MB / 1.185 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005207/2.322, allocations: 3.497 MB / 1.189 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/2.322, allocations: 38.44 kB / 1.189 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/2.322, allocations: 66.19 kB / 1.189 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=353): time 6.663e-06/2.322, allocations: 0 / 1.189 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=578): time 0.1096/2.432, allocations: 38.14 MB / 1.226 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/2.432, allocations: 115.2 kB / 1.226 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/2.437, allocations: 1.829 MB / 1.228 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001635/2.438, allocations: 26.64 kB / 1.228 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/2.441, allocations: 2.134 MB / 1.23 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004131/2.445, allocations: 1.863 MB / 1.232 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/2.446, allocations: 3.594 kB / 1.232 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000558/2.447, allocations: 0.5267 MB / 1.232 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006475/2.453, allocations: 3.763 MB / 1.236 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007477/2.461, allocations: 4.85 MB / 1.241 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008026/2.469, allocations: 4.603 MB / 1.245 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.224e-05/2.469, allocations: 11.06 kB / 1.245 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04183/2.511, allocations: 15.51 MB / 1.26 GB, free: 103 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/2.511, allocations: 10.91 kB / 1.26 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/2.511, allocations: 30.5 kB / 1.26 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02946/2.54, allocations: 7.414 MB / 1.268 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/2.544, allocations: 0.5343 MB / 1.268 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09377/2.637, allocations: 61.22 MB / 1.328 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/2.644, allocations: 85.17 kB / 1.328 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/2.647, allocations: 200 kB / 1.328 GB, free: 47.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,92.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,83.3%) 40,(6,77.8%) 72,(14,51.0%) 72,(14,57.1%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003238/2.65, allocations: 191.8 kB / 1.328 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/2.652, allocations: 446.7 kB / 1.329 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03573/2.688, allocations: 15.51 MB / 1.344 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/2.688, allocations: 56 kB / 1.344 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002054/2.688, allocations: 72 kB / 1.344 GB, free: 34.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/2.688, allocations: 33.77 kB / 1.344 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05363/2.742, allocations: 22.79 MB / 1.366 GB, free: 16.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/2.742, allocations: 4 kB / 1.366 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/2.744, allocations: 307 kB / 1.367 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02283/2.767, allocations: 6.786 MB / 1.373 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/2.769, allocations: 16 kB / 1.373 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4335/3.202, allocations: 58.14 MB / 1.43 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/3.202, allocations: 13.94 kB / 1.43 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0387/3.241, allocations: 20.76 MB / 1.45 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/3.245, allocations: 1.237 MB / 1.452 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/3.246, allocations: 25.73 kB / 1.452 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/3.25, allocations: 85.08 kB / 1.452 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006455/3.25, allocations: 280.4 kB / 1.452 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/3.251, allocations: 138.6 kB / 1.452 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002073/3.253, allocations: 1.344 MB / 1.453 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008853/3.262, allocations: 1.789 MB / 1.455 GB, free: 109.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008037/3.262, allocations: 141.5 kB / 1.455 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02442/3.287, allocations: 12.43 MB / 1.467 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/3.287, allocations: 3.875 kB / 1.467 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01832/3.305, allocations: 7.736 MB / 1.475 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006959/3.312, allocations: 0.9478 MB / 1.476 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03644/3.349, allocations: 13.75 MB / 1.489 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007618/3.356, allocations: 4.81 MB / 1.494 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.613e-06/3.356, allocations: 2.312 kB / 1.494 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.2084/3.565, allocations: 122.9 MB / 1.614 GB, free: 32 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)