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.1813/0.1838, allocations: 80.85 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04585/0.2297, allocations: 40.39 MB / 0.7101 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.2573, allocations: 15.53 MB / 0.7253 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005503/0.2629, allocations: 191 kB / 0.7254 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.2753, allocations: 4.446 MB / 0.7298 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.2858, allocations: 2.861 MB / 0.7326 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009518/0.2954, allocations: 3.125 MB / 0.7356 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01688/0.3123, allocations: 11.09 MB / 0.7465 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5147/0.8271, allocations: 12.41 MB / 0.7586 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.8372, allocations: 4.825 MB / 0.7633 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.849, allocations: 5.386 MB / 0.7686 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0052/0.8543, allocations: 0.9356 MB / 0.7695 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008987/0.8633, allocations: 2.028 MB / 0.7715 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.009122/0.8724, allocations: 3.585 MB / 0.775 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01287/0.8853, allocations: 4.165 MB / 0.779 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02175/0.9071, allocations: 14.02 MB / 0.7927 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9071, allocations: 0 / 0.7927 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9072, allocations: 0 / 0.7927 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004836/0.9076, allocations: 0 / 0.7927 GB, free: 7.395 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.03211/0.9398, allocations: 7.508 MB / 0.8 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9398, allocations: 9.219 kB / 0.8001 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.9523, allocations: 1.483 MB / 0.8015 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.9657, allocations: 4.423 MB / 0.8058 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.9662, allocations: 441.5 kB / 0.8062 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/0.9706, allocations: 0.5838 MB / 0.8068 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/1.003, allocations: 10.57 MB / 0.8171 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/1.003, allocations: 47.58 kB / 0.8172 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003159/1.007, allocations: 256.6 kB / 0.8174 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003191/1.01, allocations: 0.7726 MB / 0.8182 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.035, allocations: 8.489 MB / 0.8265 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07703/1.112, allocations: 33.59 MB / 0.8593 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/1.12, allocations: 4.317 MB / 0.8635 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006447/1.126, allocations: 3.712 MB / 0.8671 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/1.126, allocations: 42.72 kB / 0.8672 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/1.127, allocations: 80.72 kB / 0.8672 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=353): time 4.819e-06/1.127, allocations: 3.938 kB / 0.8672 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=578): time 0.5612/1.688, allocations: 122.8 MB / 0.9871 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.688, allocations: 111.9 kB / 0.9872 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006333/1.694, allocations: 2.685 MB / 0.9899 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.002301/1.697, allocations: 125.2 kB / 0.99 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.699, allocations: 2.635 MB / 0.9926 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004736/1.704, allocations: 1.936 MB / 0.9945 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006465/1.71, allocations: 0.9248 MB / 0.9954 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.711, allocations: 305.1 kB / 0.9956 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007933/1.719, allocations: 4.091 MB / 0.9996 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008866/1.727, allocations: 5.029 MB / 1.005 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/1.745, allocations: 9.885 MB / 1.014 GB, free: 15.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.293e-05/1.745, allocations: 8 kB / 1.014 GB, free: 15.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04916/1.794, allocations: 17.01 MB / 1.031 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/1.794, allocations: 16.94 kB / 1.031 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/1.794, allocations: 23.28 kB / 1.031 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0354/1.829, allocations: 9.267 MB / 1.04 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.833, allocations: 0.5307 MB / 1.04 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6593/2.492, allocations: 77.3 MB / 1.116 GB, free: 259.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/2.498, allocations: 278.8 kB / 1.116 GB, free: 259.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/2.5, allocations: 192.4 kB / 1.116 GB, free: 259.8 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.006052/2.506, allocations: 2.414 MB / 1.119 GB, free: 258.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/2.507, allocations: 471.2 kB / 1.119 GB, free: 258.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03551/2.543, allocations: 16.83 MB / 1.136 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/2.543, allocations: 59.38 kB / 1.136 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002461/2.543, allocations: 73.69 kB / 1.136 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/2.543, allocations: 28.41 kB / 1.136 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05968/2.603, allocations: 25.7 MB / 1.161 GB, free: 233.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.632e-05/2.603, allocations: 12.03 kB / 1.161 GB, free: 233.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/2.605, allocations: 323.5 kB / 1.161 GB, free: 233.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0299/2.635, allocations: 8.247 MB / 1.169 GB, free: 224.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001775/2.637, allocations: 112 kB / 1.169 GB, free: 224.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08697/2.724, allocations: 73.82 MB / 1.241 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.724, allocations: 19.88 kB / 1.241 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04171/2.766, allocations: 21.62 MB / 1.263 GB, free: 127.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005192/2.771, allocations: 1.362 MB / 1.264 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/2.773, allocations: 109.8 kB / 1.264 GB, free: 126 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/2.778, allocations: 283.6 kB / 1.264 GB, free: 125.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002522/2.781, allocations: 0.5275 MB / 1.265 GB, free: 125.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000631/2.781, allocations: 144 kB / 1.265 GB, free: 125.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002549/2.784, allocations: 1.78 MB / 1.267 GB, free: 123.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/2.784, allocations: 0 / 1.267 GB, free: 123.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01082/2.795, allocations: 2.379 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.001366/2.796, allocations: 245.9 kB / 1.269 GB, free: 120.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02629/2.822, allocations: 14.84 MB / 1.284 GB, free: 105.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-05/2.822, allocations: 0 / 1.284 GB, free: 105.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01773/2.84, allocations: 9.35 MB / 1.293 GB, free: 96.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009392/2.849, allocations: 1.378 MB / 1.294 GB, free: 94.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03157/2.881, allocations: 16.1 MB / 1.31 GB, free: 78.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007413/2.889, allocations: 4.879 MB / 1.315 GB, free: 73.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002911/2.892, allocations: 0.7566 MB / 1.315 GB, free: 73.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/2.892, allocations: 203.4 kB / 1.316 GB, free: 72.81 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/2.892, allocations: 4 kB / 1.316 GB, free: 72.81 MB / 0.8262 GB Notification: Performance of Templates: time 0.7877/3.68, allocations: 149.7 MB / 1.462 GB, free: 228.9 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)