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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2168/0.2175, allocations: 82.22 MB / 0.5941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04111/0.2587, allocations: 35.67 MB / 0.629 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.2821, allocations: 13.38 MB / 0.642 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004803/0.2869, allocations: 147.1 kB / 0.6422 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.2903, allocations: 0.7559 MB / 0.6429 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.2992, allocations: 2.423 MB / 0.6453 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.307, allocations: 2.272 MB / 0.6475 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02063/0.3277, allocations: 13.12 MB / 0.6603 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02345/0.3512, allocations: 13.17 MB / 0.6732 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/0.3577, allocations: 2.878 MB / 0.676 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007868/0.3656, allocations: 3.885 MB / 0.6798 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.3677, allocations: 312 kB / 0.6801 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.374, allocations: 1.634 MB / 0.6817 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.3795, allocations: 2.381 MB / 0.684 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007225/0.3867, allocations: 2.843 MB / 0.6868 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.424/0.8108, allocations: 11.09 MB / 0.6976 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.8109, allocations: 0 / 0.6976 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8109, allocations: 3.031 kB / 0.6976 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004857/0.8114, allocations: 1.625 kB / 0.6976 GB, free: 33.38 MB / 0.5294 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.01705/0.8284, allocations: 5.066 MB / 0.7025 GB, free: 31.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.8285, allocations: 11.5 kB / 0.7026 GB, free: 31.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.8386, allocations: 1.273 MB / 0.7038 GB, free: 31.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008897/0.8476, allocations: 3.548 MB / 0.7073 GB, free: 30.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.8479, allocations: 375.8 kB / 0.7076 GB, free: 30.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/0.8504, allocations: 496.1 kB / 0.7081 GB, free: 30.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.8755, allocations: 8.795 MB / 0.7167 GB, free: 29.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004015/0.8759, allocations: 33.33 kB / 0.7167 GB, free: 29.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/0.8783, allocations: 217.2 kB / 0.7169 GB, free: 29.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002838/0.8812, allocations: 0.6279 MB / 0.7175 GB, free: 29.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/0.9022, allocations: 6.953 MB / 0.7243 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/0.9547, allocations: 29.73 MB / 0.7534 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.9591, allocations: 2.904 MB / 0.7562 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.9626, allocations: 2.658 MB / 0.7588 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.9628, allocations: 29.62 kB / 0.7588 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.9629, allocations: 68.56 kB / 0.7589 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=265): time 4.579e-06/0.9629, allocations: 0 / 0.7589 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=424): time 0.3142/1.277, allocations: 77.52 MB / 0.8346 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.277, allocations: 94.73 kB / 0.8347 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/1.281, allocations: 2.355 MB / 0.837 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009366/1.282, allocations: 100.2 kB / 0.8371 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.284, allocations: 2.296 MB / 0.8393 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002171/1.286, allocations: 1.434 MB / 0.8407 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.287, allocations: 339 kB / 0.841 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.287, allocations: 305.1 kB / 0.8413 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.292, allocations: 3.007 MB / 0.8443 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006219/1.298, allocations: 3.854 MB / 0.848 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.31, allocations: 7.41 MB / 0.8553 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.31, allocations: 4 kB / 0.8553 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03134/1.342, allocations: 12.58 MB / 0.8675 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/1.342, allocations: 20.06 kB / 0.8676 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/1.342, allocations: 20 kB / 0.8676 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02395/1.366, allocations: 6.04 MB / 0.8735 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.368, allocations: 492.4 kB / 0.8739 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08314/1.451, allocations: 67.48 MB / 0.9398 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.456, allocations: 215.3 kB / 0.9401 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007859/1.457, allocations: 152 kB / 0.9402 GB, free: 2.137 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (6,14,83.3%), (4,16,100.0%), (6,14,86.1%), (4,16,100.0%), (6,14,83.3%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004024/1.461, allocations: 1.989 MB / 0.9421 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009795/1.462, allocations: 383.6 kB / 0.9425 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02999/1.492, allocations: 12.26 MB / 0.9545 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/1.492, allocations: 40 kB / 0.9545 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002031/1.492, allocations: 48 kB / 0.9546 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.492, allocations: 19.92 kB / 0.9546 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4367/1.929, allocations: 19.2 MB / 0.9733 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/1.929, allocations: 7.688 kB / 0.9733 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/1.931, allocations: 287 kB / 0.9736 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02124/1.952, allocations: 5.577 MB / 0.9791 GB, free: 212.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007167/1.953, allocations: 85.19 kB / 0.9791 GB, free: 212.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06662/2.019, allocations: 64.9 MB / 1.043 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/2.019, allocations: 10.81 kB / 1.043 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03031/2.05, allocations: 15.66 MB / 1.058 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003788/2.054, allocations: 1.056 MB / 1.059 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.055, allocations: 83.98 kB / 1.059 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004329/2.06, allocations: 219.7 kB / 1.059 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002387/2.062, allocations: 397.1 kB / 1.06 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004292/2.062, allocations: 112.1 kB / 1.06 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003002/2.065, allocations: 1.556 MB / 1.061 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/2.065, allocations: 6.188 kB / 1.061 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.009455/2.075, allocations: 1.797 MB / 1.063 GB, free: 153.8 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/2.076, allocations: 217.4 kB / 1.063 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02787/2.104, allocations: 12.33 MB / 1.075 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.104, allocations: 4 kB / 1.075 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01441/2.118, allocations: 8.384 MB / 1.083 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008908/2.127, allocations: 1.12 MB / 1.084 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/2.146, allocations: 15.12 MB / 1.099 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004296/2.151, allocations: 4.084 MB / 1.103 GB, free: 112 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002779/2.154, allocations: 0.6825 MB / 1.104 GB, free: 111.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/2.154, allocations: 181.5 kB / 1.104 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.222e-06/2.154, allocations: 0 / 1.104 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.1545/2.309, allocations: 104.7 MB / 1.206 GB, free: 7.16 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: