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.1961/0.1981, allocations: 80.84 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.055/0.2532, allocations: 36.55 MB / 0.6254 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03499/0.2882, allocations: 13.5 MB / 0.6386 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007038/0.2953, allocations: 155.1 kB / 0.6387 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.3068, allocations: 3.603 MB / 0.6422 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.3185, allocations: 2.427 MB / 0.6446 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009897/0.3284, allocations: 2.451 MB / 0.647 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01898/0.3475, allocations: 13.11 MB / 0.6598 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/0.3689, allocations: 11.67 MB / 0.6712 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009713/0.3787, allocations: 3.343 MB / 0.6745 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.3899, allocations: 4.47 MB / 0.6788 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003593/0.3936, allocations: 500 kB / 0.6793 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008946/0.4026, allocations: 1.81 MB / 0.6811 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.006333/0.4089, allocations: 2.673 MB / 0.6837 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.4191, allocations: 3.161 MB / 0.6868 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4462/0.8653, allocations: 11.44 MB / 0.6979 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.8654, allocations: 2.812 kB / 0.6979 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.687e-06/0.8654, allocations: 0.6562 kB / 0.6979 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006042/0.866, allocations: 0 / 0.6979 GB, free: 35.62 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.0311/0.8971, allocations: 6.27 MB / 0.7041 GB, free: 33.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.8972, allocations: 9.156 kB / 0.7041 GB, free: 33.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.9092, allocations: 1.277 MB / 0.7053 GB, free: 33.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.9204, allocations: 3.545 MB / 0.7088 GB, free: 32.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006186/0.9211, allocations: 373 kB / 0.7091 GB, free: 32.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003762/0.9248, allocations: 496.5 kB / 0.7096 GB, free: 32.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03626/0.9611, allocations: 8.794 MB / 0.7182 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006528/0.9618, allocations: 29.75 kB / 0.7182 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004919/0.9668, allocations: 212.9 kB / 0.7184 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/0.9698, allocations: 0.6408 MB / 0.7191 GB, free: 31.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.9952, allocations: 6.945 MB / 0.7258 GB, free: 31.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05277/1.048, allocations: 29.63 MB / 0.7548 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/1.052, allocations: 2.897 MB / 0.7576 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/1.056, allocations: 2.668 MB / 0.7602 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/1.056, allocations: 34 kB / 0.7602 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.091e-05/1.057, allocations: 57.41 kB / 0.7603 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=265): time 7.244e-06/1.057, allocations: 3.562 kB / 0.7603 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=424): time 0.3034/1.36, allocations: 74.69 MB / 0.8332 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/1.36, allocations: 94.73 kB / 0.8333 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/1.364, allocations: 2.352 MB / 0.8356 GB, free: 440 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.365, allocations: 97.7 kB / 0.8357 GB, free: 336 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.366, allocations: 2.307 MB / 0.838 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001815/1.368, allocations: 1.428 MB / 0.8394 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/1.37, allocations: 0.7232 MB / 0.8401 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.37, allocations: 301.1 kB / 0.8404 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/1.374, allocations: 3.007 MB / 0.8433 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/1.379, allocations: 3.859 MB / 0.8471 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009753/1.389, allocations: 7.405 MB / 0.8543 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/1.389, allocations: 11.47 kB / 0.8543 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02914/1.418, allocations: 12.57 MB / 0.8666 GB, free: 376 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/1.418, allocations: 20.61 kB / 0.8666 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/1.418, allocations: 20 kB / 0.8666 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02248/1.441, allocations: 6.044 MB / 0.8725 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.443, allocations: 0.4898 MB / 0.873 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08192/1.525, allocations: 67.32 MB / 0.9387 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004584/1.53, allocations: 219.8 kB / 0.939 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.531, allocations: 152 kB / 0.9391 GB, free: 3.176 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.006296/1.537, allocations: 1.993 MB / 0.941 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.538, allocations: 387.4 kB / 0.9414 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02781/1.566, allocations: 12.26 MB / 0.9534 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/1.566, allocations: 40 kB / 0.9534 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001994/1.566, allocations: 48 kB / 0.9535 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-05/1.567, allocations: 23.91 kB / 0.9535 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4626/2.029, allocations: 19.18 MB / 0.9722 GB, free: 255 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.854e-05/2.029, allocations: 6.938 kB / 0.9722 GB, free: 255 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/2.031, allocations: 283.5 kB / 0.9725 GB, free: 255 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02131/2.052, allocations: 5.58 MB / 0.978 GB, free: 254.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.054, allocations: 86.88 kB / 0.978 GB, free: 254.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06624/2.12, allocations: 64.78 MB / 1.041 GB, free: 206 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.12, allocations: 11.94 kB / 1.041 GB, free: 206 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/2.15, allocations: 15.65 MB / 1.057 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003059/2.153, allocations: 1.05 MB / 1.058 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/2.154, allocations: 83.98 kB / 1.058 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/2.157, allocations: 219.6 kB / 1.058 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/2.158, allocations: 397.8 kB / 1.058 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003416/2.159, allocations: 108 kB / 1.058 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002021/2.161, allocations: 1.56 MB / 1.06 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/2.161, allocations: 0 / 1.06 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006421/2.167, allocations: 1.801 MB / 1.062 GB, free: 185.2 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.0009304/2.168, allocations: 221.8 kB / 1.062 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01951/2.187, allocations: 12.31 MB / 1.074 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.187, allocations: 0 / 1.074 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01532/2.203, allocations: 8.374 MB / 1.082 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007393/2.21, allocations: 1.098 MB / 1.083 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/2.237, allocations: 15.07 MB / 1.098 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007173/2.244, allocations: 4.084 MB / 1.102 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002965/2.247, allocations: 0.6747 MB / 1.103 GB, free: 142.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/2.248, allocations: 179.4 kB / 1.103 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/2.248, allocations: 3.938 kB / 1.103 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.1611/2.409, allocations: 107.6 MB / 1.208 GB, free: 35.56 MB / 0.7169 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)