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.1971/0.1992, allocations: 80.82 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04536/0.2446, allocations: 40.4 MB / 0.7101 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0271/0.2717, allocations: 15.53 MB / 0.7253 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.2777, allocations: 191.1 kB / 0.7255 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.29, allocations: 4.442 MB / 0.7298 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.3021, allocations: 2.864 MB / 0.7326 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009873/0.312, allocations: 3.125 MB / 0.7356 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01665/0.3287, allocations: 11.08 MB / 0.7465 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5688/0.8976, allocations: 12.43 MB / 0.7586 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.9115, allocations: 4.724 MB / 0.7632 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.9271, allocations: 5.39 MB / 0.7685 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.006904/0.934, allocations: 0.9362 MB / 0.7694 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.9475, allocations: 2.025 MB / 0.7714 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0114/0.959, allocations: 3.585 MB / 0.7749 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.02173/0.9808, allocations: 4.165 MB / 0.7789 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03118/1.012, allocations: 14.06 MB / 0.7927 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/1.012, allocations: 0 / 0.7927 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.436e-06/1.012, allocations: 0 / 0.7927 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0007587/1.013, allocations: 0 / 0.7927 GB, free: 7.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: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.03494/1.048, allocations: 7.689 MB / 0.8002 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.048, allocations: 9.438 kB / 0.8002 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/1.062, allocations: 1.523 MB / 0.8017 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.076, allocations: 4.448 MB / 0.806 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/1.076, allocations: 447.8 kB / 0.8064 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/1.081, allocations: 0.5847 MB / 0.807 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03421/1.116, allocations: 10.56 MB / 0.8173 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000296/1.116, allocations: 43.5 kB / 0.8174 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/1.118, allocations: 256.7 kB / 0.8176 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/1.121, allocations: 0.7726 MB / 0.8184 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/1.146, allocations: 8.485 MB / 0.8266 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07851/1.225, allocations: 33.67 MB / 0.8595 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007661/1.233, allocations: 4.312 MB / 0.8637 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/1.239, allocations: 3.716 MB / 0.8674 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/1.24, allocations: 38.72 kB / 0.8674 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/1.24, allocations: 88.84 kB / 0.8675 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=353): time 6.082e-06/1.24, allocations: 0 / 0.8675 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=578): time 0.5296/1.769, allocations: 122.9 MB / 0.9875 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.769, allocations: 111.2 kB / 0.9876 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006624/1.776, allocations: 2.681 MB / 0.9902 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001822/1.778, allocations: 125.7 kB / 0.9904 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/1.781, allocations: 2.706 MB / 0.993 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004166/1.785, allocations: 2.035 MB / 0.995 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/1.787, allocations: 0.9251 MB / 0.9959 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.787, allocations: 301.1 kB / 0.9962 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006862/1.794, allocations: 4.091 MB / 1 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008361/1.803, allocations: 5.03 MB / 1.005 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/1.82, allocations: 9.888 MB / 1.015 GB, free: 15.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.992e-05/1.82, allocations: 11.94 kB / 1.015 GB, free: 15.15 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04933/1.87, allocations: 17.03 MB / 1.031 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/1.87, allocations: 12.97 kB / 1.031 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.39e-05/1.87, allocations: 24 kB / 1.031 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03598/1.906, allocations: 9.267 MB / 1.04 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.909, allocations: 0.5276 MB / 1.041 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6916/2.601, allocations: 77.38 MB / 1.117 GB, free: 260.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/2.608, allocations: 280.4 kB / 1.117 GB, free: 260.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/2.609, allocations: 186.8 kB / 1.117 GB, free: 260 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.006288/2.616, allocations: 2.422 MB / 1.119 GB, free: 259 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/2.617, allocations: 492 kB / 1.12 GB, free: 258.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03558/2.652, allocations: 16.84 MB / 1.136 GB, free: 252.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/2.652, allocations: 64.91 kB / 1.136 GB, free: 252.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002319/2.653, allocations: 73.88 kB / 1.136 GB, free: 252.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001205/2.653, allocations: 25.5 kB / 1.136 GB, free: 252.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05424/2.707, allocations: 25.7 MB / 1.162 GB, free: 232.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.909e-05/2.707, allocations: 8 kB / 1.162 GB, free: 232.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/2.709, allocations: 311.6 kB / 1.162 GB, free: 232.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02757/2.737, allocations: 8.26 MB / 1.17 GB, free: 224.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001556/2.739, allocations: 104 kB / 1.17 GB, free: 224.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08766/2.826, allocations: 73.91 MB / 1.242 GB, free: 148.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/2.826, allocations: 11.94 kB / 1.242 GB, free: 148.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03905/2.865, allocations: 21.64 MB / 1.263 GB, free: 126.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/2.869, allocations: 1.384 MB / 1.265 GB, free: 125.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.871, allocations: 108 kB / 1.265 GB, free: 125.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/2.875, allocations: 288.2 kB / 1.265 GB, free: 125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/2.877, allocations: 0.526 MB / 1.266 GB, free: 124.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004207/2.877, allocations: 145.7 kB / 1.266 GB, free: 124.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002481/2.88, allocations: 1.78 MB / 1.267 GB, free: 122.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.12e-07/2.88, allocations: 0 / 1.267 GB, free: 122.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009891/2.89, allocations: 2.379 MB / 1.27 GB, free: 120.1 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.001632/2.891, allocations: 248.7 kB / 1.27 GB, free: 119.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02474/2.916, allocations: 14.87 MB / 1.285 GB, free: 104.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/2.916, allocations: 4 kB / 1.285 GB, free: 104.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/2.934, allocations: 9.391 MB / 1.294 GB, free: 95.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007475/2.941, allocations: 1.382 MB / 1.295 GB, free: 93.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/2.969, allocations: 16.3 MB / 1.311 GB, free: 77.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007134/2.976, allocations: 4.883 MB / 1.316 GB, free: 72.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003272/2.979, allocations: 0.7566 MB / 1.316 GB, free: 71.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/2.98, allocations: 195.4 kB / 1.317 GB, free: 71.69 MB / 0.8262 GB Notification: Performance of SimCode: time 1.513e-06/2.98, allocations: 0 / 1.317 GB, free: 71.69 MB / 0.8262 GB Notification: Performance of Templates: time 0.7473/3.727, allocations: 146.6 MB / 1.46 GB, free: 230.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)