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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.7503/0.7503, 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.001231/0.001231, allocations: 165.7 kB / 171.6 MB, free: 1.969 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.434/1.434, 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.001541/0.001542, allocations: 122.4 kB / 444.4 MB, free: 9.363 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.5194/0.5194, allocations: 73.4 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.7189, allocations: 147.5 MB / 0.8101 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.7193, allocations: 98.33 kB / 0.8101 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.035/1.755, allocations: 266.3 MB / 1.07 GB, free: 40.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0006699/1.755, allocations: 140 kB / 1.07 GB, free: 40.26 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.01893/1.774, allocations: 4.682 MB / 1.075 GB, free: 35.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.774, allocations: 8.031 kB / 1.075 GB, free: 35.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/1.788, allocations: 1.394 MB / 1.076 GB, free: 34.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/1.803, allocations: 4.164 MB / 1.08 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/1.804, allocations: 156 kB / 1.08 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004005/1.808, allocations: 303.8 kB / 1.081 GB, free: 29.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01668/1.824, allocations: 5.713 MB / 1.086 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/1.85, allocations: 7.644 MB / 1.094 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003698/1.85, allocations: 27.78 kB / 1.094 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/1.853, allocations: 16 kB / 1.094 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003735/1.853, allocations: 337.7 kB / 1.094 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/1.91, allocations: 28.45 MB / 1.122 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3421/2.252, allocations: 2.557 MB / 1.124 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/2.256, allocations: 2.523 MB / 1.127 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/2.257, allocations: 26.41 kB / 1.127 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/2.257, allocations: 54.59 kB / 1.127 GB, free: 157 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=265): time 4.839e-06/2.257, allocations: 5.125 kB / 1.127 GB, free: 157 MB / 0.6042 GB Notification: Performance of matching and sorting (n=424): time 0.07519/2.332, allocations: 27.93 MB / 1.154 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/2.332, allocations: 97.42 kB / 1.154 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/2.336, allocations: 1.642 MB / 1.156 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001331/2.337, allocations: 25.7 kB / 1.156 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/2.338, allocations: 1.858 MB / 1.158 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002039/2.34, allocations: 1.374 MB / 1.159 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/2.341, allocations: 3.469 kB / 1.159 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000254/2.341, allocations: 483.8 kB / 1.16 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/2.345, allocations: 2.751 MB / 1.162 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004449/2.349, allocations: 3.692 MB / 1.166 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004922/2.354, allocations: 3.376 MB / 1.169 GB, free: 152 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/2.354, allocations: 7.344 kB / 1.169 GB, free: 152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02693/2.381, allocations: 11.39 MB / 1.18 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.381, allocations: 4.875 kB / 1.18 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-05/2.381, allocations: 30.66 kB / 1.18 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01843/2.4, allocations: 4.967 MB / 1.185 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/2.402, allocations: 0.4919 MB / 1.186 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06822/2.47, allocations: 59.64 MB / 1.244 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/2.475, allocations: 69.41 kB / 1.244 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/2.476, allocations: 162.8 kB / 1.244 GB, free: 113.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009586/2.477, allocations: 191.5 kB / 1.244 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/2.478, allocations: 365.8 kB / 1.245 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0253/2.504, allocations: 11.26 MB / 1.256 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.363e-05/2.504, allocations: 41.56 kB / 1.256 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002129/2.504, allocations: 55.05 kB / 1.256 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/2.504, allocations: 24.06 kB / 1.256 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04193/2.546, allocations: 16.79 MB / 1.272 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-05/2.546, allocations: 10.72 kB / 1.272 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/2.548, allocations: 272.8 kB / 1.272 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/2.566, allocations: 4.465 MB / 1.277 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/2.567, allocations: 14.03 kB / 1.277 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06103/2.628, allocations: 57.23 MB / 1.333 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/2.628, allocations: 11.28 kB / 1.333 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0303/2.658, allocations: 15.14 MB / 1.348 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004182/2.662, allocations: 0.9452 MB / 1.348 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/2.664, allocations: 15.94 kB / 1.348 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/2.667, allocations: 71 kB / 1.349 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/2.668, allocations: 216 kB / 1.349 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/2.668, allocations: 104 kB / 1.349 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001835/2.67, allocations: 1.195 MB / 1.35 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007564/2.677, allocations: 1.398 MB / 1.351 GB, free: 30.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006626/2.678, allocations: 144.1 kB / 1.351 GB, free: 30.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01795/2.696, allocations: 10.55 MB / 1.362 GB, free: 20.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/2.696, allocations: 7.391 kB / 1.362 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01468/2.711, allocations: 7.05 MB / 1.369 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006107/2.717, allocations: 0.8424 MB / 1.37 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/2.743, allocations: 10.38 MB / 1.38 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006646/2.75, allocations: 4.074 MB / 1.384 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/2.75, allocations: 0 / 1.384 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of Templates: time 0.4926/3.243, allocations: 92.79 MB / 1.474 GB, free: 127.4 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)