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.2143/0.2166, allocations: 80.84 MB / 0.6707 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4747/0.6914, allocations: 36.89 MB / 0.7067 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02999/0.7214, allocations: 13.51 MB / 0.7199 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006181/0.7276, allocations: 171.5 kB / 0.72 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.741, allocations: 3.864 MB / 0.7238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.7537, allocations: 2.569 MB / 0.7263 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.7648, allocations: 2.679 MB / 0.7289 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01922/0.7841, allocations: 9.325 MB / 0.738 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01772/0.8018, allocations: 10.47 MB / 0.7483 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.8128, allocations: 4.003 MB / 0.7522 GB, free: 24 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.8248, allocations: 4.387 MB / 0.7564 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004826/0.8297, allocations: 0.7617 MB / 0.7572 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008664/0.8384, allocations: 1.763 MB / 0.7589 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.007478/0.8459, allocations: 2.947 MB / 0.7618 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01121/0.8572, allocations: 3.474 MB / 0.7652 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02146/0.8787, allocations: 11.64 MB / 0.7766 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.8787, allocations: 0 / 0.7766 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8788, allocations: 0 / 0.7766 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005638/0.8793, allocations: 0 / 0.7766 GB, free: 8.281 MB / 0.5762 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.02537/0.9047, allocations: 6.276 MB / 0.7827 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.9048, allocations: 8.031 kB / 0.7827 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.9151, allocations: 1.27 MB / 0.7839 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.927, allocations: 3.771 MB / 0.7876 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/0.9275, allocations: 374.2 kB / 0.788 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/0.9302, allocations: 496.1 kB / 0.7884 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.9568, allocations: 8.8 MB / 0.797 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004635/0.9574, allocations: 27.77 kB / 0.7971 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/0.9599, allocations: 216 kB / 0.7973 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/0.9626, allocations: 0.6301 MB / 0.7979 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.9824, allocations: 6.955 MB / 0.8047 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06116/1.044, allocations: 29.35 MB / 0.8333 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/1.049, allocations: 2.902 MB / 0.8362 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005545/1.055, allocations: 2.675 MB / 0.8388 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/1.056, allocations: 26.09 kB / 0.8388 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/1.056, allocations: 64.66 kB / 0.8389 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=265): time 5.24e-06/1.056, allocations: 0 / 0.8389 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=424): time 0.3281/1.384, allocations: 74.71 MB / 0.9118 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/1.384, allocations: 98.73 kB / 0.9119 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/1.389, allocations: 2.348 MB / 0.9142 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.39, allocations: 101.7 kB / 0.9143 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.392, allocations: 2.302 MB / 0.9166 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002575/1.394, allocations: 1.417 MB / 0.9179 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003807/1.398, allocations: 0.7254 MB / 0.9187 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.398, allocations: 309.1 kB / 0.919 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/1.404, allocations: 3.003 MB / 0.9219 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006605/1.41, allocations: 3.867 MB / 0.9257 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/1.424, allocations: 7.403 MB / 0.9329 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.276e-05/1.424, allocations: 4 kB / 0.9329 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03565/1.459, allocations: 12.58 MB / 0.9452 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/1.46, allocations: 16 kB / 0.9452 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.222e-05/1.46, allocations: 20 kB / 0.9452 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/1.484, allocations: 6.04 MB / 0.9511 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/1.487, allocations: 499.2 kB / 0.9516 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5954/2.082, allocations: 73.16 MB / 1.023 GB, free: 218.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005821/2.088, allocations: 218.9 kB / 1.023 GB, free: 218.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/2.09, allocations: 158 kB / 1.023 GB, free: 218.1 MB / 0.7794 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.006631/2.096, allocations: 1.982 MB / 1.025 GB, free: 217.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/2.098, allocations: 384.4 kB / 1.026 GB, free: 217.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03003/2.128, allocations: 12.27 MB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/2.128, allocations: 41.06 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003141/2.129, allocations: 49.88 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/2.129, allocations: 22.55 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04434/2.173, allocations: 19.17 MB / 1.057 GB, free: 204.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.618e-05/2.173, allocations: 11.16 kB / 1.057 GB, free: 204.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/2.175, allocations: 287.9 kB / 1.057 GB, free: 204.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01998/2.195, allocations: 5.572 MB / 1.062 GB, free: 202.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009467/2.196, allocations: 85.88 kB / 1.062 GB, free: 202.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07507/2.271, allocations: 70.61 MB / 1.131 GB, free: 133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.271, allocations: 11.94 kB / 1.131 GB, free: 133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03912/2.31, allocations: 15.65 MB / 1.147 GB, free: 117.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005685/2.316, allocations: 1.047 MB / 1.148 GB, free: 116.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/2.319, allocations: 93.16 kB / 1.148 GB, free: 116 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005383/2.324, allocations: 211.7 kB / 1.148 GB, free: 115.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003059/2.327, allocations: 398.3 kB / 1.148 GB, free: 115.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00101/2.328, allocations: 115.9 kB / 1.148 GB, free: 115.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003577/2.332, allocations: 1.556 MB / 1.15 GB, free: 113.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/2.332, allocations: 0 / 1.15 GB, free: 113.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009835/2.342, allocations: 1.797 MB / 1.152 GB, free: 111.9 MB / 0.7794 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.001191/2.343, allocations: 222.1 kB / 1.152 GB, free: 111.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02074/2.364, allocations: 12.35 MB / 1.164 GB, free: 99.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/2.364, allocations: 4.312 kB / 1.164 GB, free: 99.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/2.379, allocations: 8.361 MB / 1.172 GB, free: 90.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008177/2.387, allocations: 1.201 MB / 1.173 GB, free: 89.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/2.414, allocations: 12.5 MB / 1.185 GB, free: 76.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008113/2.422, allocations: 4.08 MB / 1.189 GB, free: 72.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003563/2.426, allocations: 0.6708 MB / 1.19 GB, free: 71.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/2.427, allocations: 179.4 kB / 1.19 GB, free: 71.77 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/2.427, allocations: 0 / 1.19 GB, free: 71.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.6078/3.035, allocations: 112.8 MB / 1.3 GB, free: 233 MB / 0.8106 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)