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.1609/0.1616, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03387/0.1956, allocations: 33.57 MB / 0.6263 GB, free: 4.305 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.2153, allocations: 12.86 MB / 0.6388 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.2187, allocations: 143.1 kB / 0.639 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.2212, allocations: 0.7403 MB / 0.6397 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.2271, allocations: 2.099 MB / 0.6417 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004637/0.2318, allocations: 1.603 MB / 0.6433 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.2438, allocations: 10.4 MB / 0.6535 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0213/0.2651, allocations: 11.42 MB / 0.6646 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006537/0.2717, allocations: 2.906 MB / 0.6674 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00665/0.2783, allocations: 3.784 MB / 0.6711 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.2799, allocations: 315.9 kB / 0.6714 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.2833, allocations: 0.7805 MB / 0.6722 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003306/0.2866, allocations: 2.373 MB / 0.6745 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.2886, allocations: 1.124 MB / 0.6756 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009637/0.2982, allocations: 9.58 MB / 0.685 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2983, allocations: 0 / 0.685 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2983, allocations: 0 / 0.685 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003466/0.2986, allocations: 0 / 0.685 GB, free: 7.969 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.012/0.3107, allocations: 5.137 MB / 0.69 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3107, allocations: 8.031 kB / 0.69 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009069/0.3198, allocations: 1.269 MB / 0.6912 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3526/0.6724, allocations: 3.452 MB / 0.6946 GB, free: 86.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.6729, allocations: 367.3 kB / 0.695 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.6744, allocations: 0.4911 MB / 0.6954 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.6897, allocations: 8.746 MB / 0.704 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.6899, allocations: 32.91 kB / 0.704 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005667/0.6905, allocations: 218.5 kB / 0.7042 GB, free: 83.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/0.6924, allocations: 0.6295 MB / 0.7048 GB, free: 83.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.7068, allocations: 6.92 MB / 0.7116 GB, free: 81.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03528/0.7421, allocations: 29.7 MB / 0.7406 GB, free: 59.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.7456, allocations: 2.891 MB / 0.7434 GB, free: 57.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.7484, allocations: 2.652 MB / 0.746 GB, free: 54.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.7485, allocations: 30.09 kB / 0.746 GB, free: 54.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.7486, allocations: 64.66 kB / 0.7461 GB, free: 54.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=265): time 4.589e-06/0.7486, allocations: 2.25 kB / 0.7461 GB, free: 54.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=424): time 0.2385/0.9871, allocations: 77.43 MB / 0.8217 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.9872, allocations: 94.73 kB / 0.8218 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.9907, allocations: 2.336 MB / 0.8241 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006607/0.9914, allocations: 97.7 kB / 0.8242 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.993, allocations: 2.296 MB / 0.8264 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/0.9946, allocations: 1.431 MB / 0.8278 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.995, allocations: 84 kB / 0.8279 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.9953, allocations: 483.3 kB / 0.8284 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/0.9998, allocations: 2.994 MB / 0.8313 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005127/1.005, allocations: 3.835 MB / 0.835 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005116/1.01, allocations: 3.568 MB / 0.8385 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.01, allocations: 8 kB / 0.8385 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02655/1.037, allocations: 12.51 MB / 0.8507 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/1.037, allocations: 12.78 kB / 0.8508 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.892e-05/1.037, allocations: 24 kB / 0.8508 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02148/1.058, allocations: 6.051 MB / 0.8567 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.061, allocations: 491.2 kB / 0.8572 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0885/1.149, allocations: 67.4 MB / 0.923 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/1.154, allocations: 223.8 kB / 0.9232 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.155, allocations: 156 kB / 0.9233 GB, free: 12.54 MB / 0.67 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 (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,(4,100.0%) 16,(6,86.1%) 14,(4,100.0%) 16,(6,83.3%) 14,(4,100.0%) 16,(6,83.3%) 14,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005879/1.161, allocations: 1.986 MB / 0.9253 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.163, allocations: 391.4 kB / 0.9256 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0309/1.194, allocations: 12.2 MB / 0.9376 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/1.194, allocations: 40 kB / 0.9376 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003034/1.194, allocations: 48 kB / 0.9376 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001381/1.194, allocations: 23.91 kB / 0.9377 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4402/1.634, allocations: 19.15 MB / 0.9564 GB, free: 215.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.792e-05/1.634, allocations: 8.219 kB / 0.9564 GB, free: 215.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.636, allocations: 283.5 kB / 0.9566 GB, free: 215.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02019/1.656, allocations: 5.571 MB / 0.9621 GB, free: 215.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/1.658, allocations: 84.31 kB / 0.9622 GB, free: 215.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07535/1.733, allocations: 64.8 MB / 1.025 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.733, allocations: 18.72 kB / 1.025 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03085/1.764, allocations: 15.6 MB / 1.041 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003292/1.767, allocations: 1.043 MB / 1.042 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001788/1.769, allocations: 91.81 kB / 1.042 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.773, allocations: 215.7 kB / 1.042 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001948/1.775, allocations: 406.2 kB / 1.042 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006393/1.775, allocations: 112 kB / 1.043 GB, free: 163.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00276/1.778, allocations: 1.529 MB / 1.044 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.11e-07/1.778, allocations: 0 / 1.044 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008188/1.786, allocations: 1.801 MB / 1.046 GB, free: 160 MB / 0.6856 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 (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,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000967/1.787, allocations: 215.9 kB / 1.046 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01968/1.807, allocations: 12.33 MB / 1.058 GB, free: 147.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.807, allocations: 4.062 kB / 1.058 GB, free: 147.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01457/1.822, allocations: 8.389 MB / 1.066 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007631/1.829, allocations: 1.105 MB / 1.067 GB, free: 137.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.854, allocations: 14.54 MB / 1.081 GB, free: 122.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006009/1.86, allocations: 4.076 MB / 1.085 GB, free: 118.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002771/1.863, allocations: 0.6825 MB / 1.086 GB, free: 118 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/1.863, allocations: 183.4 kB / 1.086 GB, free: 117.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.493e-06/1.863, allocations: 0 / 1.086 GB, free: 117.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.1471/2.01, allocations: 102.3 MB / 1.186 GB, free: 16.18 MB / 0.6856 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: