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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [/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.2172/0.2192, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04942/0.2686, allocations: 40.4 MB / 0.7101 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03121/0.2999, allocations: 15.53 MB / 0.7253 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007138/0.3071, allocations: 191 kB / 0.7254 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.3207, allocations: 4.442 MB / 0.7298 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.3335, allocations: 2.861 MB / 0.7326 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.3453, allocations: 3.129 MB / 0.7356 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01952/0.3648, allocations: 11.08 MB / 0.7465 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5846/0.9495, allocations: 12.43 MB / 0.7586 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01509/0.9647, allocations: 4.729 MB / 0.7632 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/0.9819, allocations: 5.383 MB / 0.7685 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.007576/0.9895, allocations: 0.9356 MB / 0.7694 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/1.002, allocations: 2.026 MB / 0.7714 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.01151/1.013, allocations: 3.584 MB / 0.7749 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01958/1.033, allocations: 4.163 MB / 0.7789 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03018/1.063, allocations: 14.02 MB / 0.7926 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/1.063, allocations: 2.188 kB / 0.7926 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.063, allocations: 0 / 0.7926 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006561/1.064, allocations: 0 / 0.7926 GB, free: 7.492 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: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.03648/1.1, allocations: 7.505 MB / 0.7999 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.1, allocations: 7.781 kB / 0.8 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.115, allocations: 1.488 MB / 0.8014 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/1.132, allocations: 4.422 MB / 0.8057 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004106/1.133, allocations: 444.6 kB / 0.8061 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004179/1.137, allocations: 0.5779 MB / 0.8067 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/1.174, allocations: 10.58 MB / 0.817 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005429/1.175, allocations: 35.72 kB / 0.8171 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004374/1.179, allocations: 258.2 kB / 0.8173 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/1.183, allocations: 0.7672 MB / 0.8181 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/1.208, allocations: 8.493 MB / 0.8264 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08225/1.291, allocations: 33.59 MB / 0.8592 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008652/1.299, allocations: 4.321 MB / 0.8634 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007717/1.307, allocations: 3.708 MB / 0.867 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/1.308, allocations: 46.72 kB / 0.8671 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/1.308, allocations: 73.09 kB / 0.8671 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=353): time 1.112e-05/1.308, allocations: 0 / 0.8671 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of matching and sorting (n=578): time 0.558/1.866, allocations: 122.8 MB / 0.987 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/1.866, allocations: 111.9 kB / 0.9871 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005338/1.871, allocations: 2.684 MB / 0.9898 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001654/1.873, allocations: 125.7 kB / 0.9899 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.875, allocations: 2.636 MB / 0.9925 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003363/1.879, allocations: 1.934 MB / 0.9944 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/1.881, allocations: 0.9287 MB / 0.9953 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.881, allocations: 301.1 kB / 0.9955 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007129/1.888, allocations: 4.091 MB / 0.9995 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008523/1.897, allocations: 5.027 MB / 1.004 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/1.916, allocations: 9.891 MB / 1.014 GB, free: 15.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.186e-05/1.916, allocations: 4 kB / 1.014 GB, free: 15.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05363/1.969, allocations: 17 MB / 1.031 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/1.969, allocations: 19.94 kB / 1.031 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/1.969, allocations: 20.09 kB / 1.031 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03689/2.006, allocations: 9.267 MB / 1.04 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/2.009, allocations: 0.5285 MB / 1.04 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6542/2.664, allocations: 77.31 MB / 1.116 GB, free: 260 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007623/2.671, allocations: 279.5 kB / 1.116 GB, free: 259.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/2.674, allocations: 191.9 kB / 1.116 GB, free: 259.9 MB / 0.8262 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,88.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (24,62,41.7%), (6,40,77.8%), (6,72,88.9%), (12,66,59.7%), (7,39,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008204/2.682, allocations: 2.414 MB / 1.119 GB, free: 258.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002646/2.684, allocations: 472.8 kB / 1.119 GB, free: 258.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0374/2.722, allocations: 16.83 MB / 1.136 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.512e-05/2.722, allocations: 55.06 kB / 1.136 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003384/2.722, allocations: 79.31 kB / 1.136 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001527/2.723, allocations: 27.75 kB / 1.136 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05862/2.781, allocations: 25.7 MB / 1.161 GB, free: 233.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.615e-05/2.781, allocations: 8 kB / 1.161 GB, free: 233.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/2.783, allocations: 319.5 kB / 1.161 GB, free: 233.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02733/2.811, allocations: 8.256 MB / 1.169 GB, free: 224.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/2.812, allocations: 104 kB / 1.169 GB, free: 224.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08558/2.898, allocations: 73.83 MB / 1.241 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/2.898, allocations: 17.66 kB / 1.241 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04004/2.938, allocations: 21.63 MB / 1.262 GB, free: 127.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004694/2.943, allocations: 1.355 MB / 1.264 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/2.944, allocations: 112 kB / 1.264 GB, free: 126 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004903/2.949, allocations: 283.6 kB / 1.264 GB, free: 125.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002888/2.952, allocations: 0.5258 MB / 1.265 GB, free: 125.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004632/2.953, allocations: 144 kB / 1.265 GB, free: 125.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002627/2.955, allocations: 1.776 MB / 1.267 GB, free: 123.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/2.955, allocations: 0 / 1.267 GB, free: 123.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01107/2.966, allocations: 2.375 MB / 1.269 GB, free: 120.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,83.3%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,77.8%), (7,71,71.4%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/2.968, allocations: 255.9 kB / 1.269 GB, free: 120.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0261/2.994, allocations: 14.83 MB / 1.284 GB, free: 105.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/2.994, allocations: 4 kB / 1.284 GB, free: 105.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/3.012, allocations: 9.355 MB / 1.293 GB, free: 96.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008445/3.021, allocations: 1.379 MB / 1.294 GB, free: 94.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/3.052, allocations: 16.09 MB / 1.31 GB, free: 78.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008206/3.061, allocations: 4.891 MB / 1.315 GB, free: 73.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003515/3.064, allocations: 0.7605 MB / 1.315 GB, free: 72.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/3.065, allocations: 195.4 kB / 1.316 GB, free: 72.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/3.065, allocations: 4 kB / 1.316 GB, free: 72.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.7552/3.82, allocations: 146.6 MB / 1.459 GB, free: 231 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)