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.1979/0.1998, allocations: 80.84 MB / 0.6707 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04746/0.2474, allocations: 36.88 MB / 0.7067 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.28, allocations: 13.53 MB / 0.7199 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008221/0.2883, allocations: 171.1 kB / 0.72 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01383/0.3023, allocations: 3.868 MB / 0.7238 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.3134, allocations: 2.565 MB / 0.7263 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.3237, allocations: 2.698 MB / 0.729 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01863/0.3424, allocations: 9.304 MB / 0.738 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0236/0.366, allocations: 10.46 MB / 0.7482 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6133/0.9794, allocations: 3.925 MB / 0.7521 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/1, allocations: 4.38 MB / 0.7564 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.007542/1.008, allocations: 0.76 MB / 0.7571 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/1.023, allocations: 1.767 MB / 0.7588 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.01247/1.035, allocations: 2.946 MB / 0.7617 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0214/1.057, allocations: 3.473 MB / 0.7651 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0348/1.091, allocations: 11.64 MB / 0.7765 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/1.092, allocations: 0 / 0.7765 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.765e-06/1.092, allocations: 2 kB / 0.7765 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005265/1.092, allocations: 0.6562 kB / 0.7765 GB, free: 20.62 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.04543/1.138, allocations: 6.274 MB / 0.7826 GB, free: 18.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/1.138, allocations: 9.562 kB / 0.7826 GB, free: 18.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.152, allocations: 1.279 MB / 0.7839 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/1.165, allocations: 3.762 MB / 0.7875 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000638/1.166, allocations: 373.6 kB / 0.7879 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004813/1.171, allocations: 0.4904 MB / 0.7884 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/1.203, allocations: 8.799 MB / 0.797 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.204, allocations: 30.41 kB / 0.797 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/1.206, allocations: 217.3 kB / 0.7972 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002395/1.208, allocations: 0.6269 MB / 0.7978 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.228, allocations: 6.953 MB / 0.8046 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07161/1.3, allocations: 29.36 MB / 0.8333 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006739/1.307, allocations: 2.9 MB / 0.8361 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006281/1.313, allocations: 2.664 MB / 0.8387 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/1.314, allocations: 30.09 kB / 0.8387 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/1.314, allocations: 64.66 kB / 0.8388 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=265): time 7.003e-06/1.314, allocations: 0 / 0.8388 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=424): time 0.3612/1.675, allocations: 74.71 MB / 0.9117 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.675, allocations: 94.73 kB / 0.9118 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/1.681, allocations: 2.355 MB / 0.9141 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001617/1.682, allocations: 97.7 kB / 0.9142 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.685, allocations: 2.308 MB / 0.9165 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003082/1.688, allocations: 1.423 MB / 0.9179 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003616/1.692, allocations: 0.7254 MB / 0.9186 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.692, allocations: 308.3 kB / 0.9189 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006392/1.698, allocations: 3.007 MB / 0.9218 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007078/1.705, allocations: 3.856 MB / 0.9256 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.719, allocations: 7.401 MB / 0.9328 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/1.719, allocations: 8 kB / 0.9328 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03708/1.756, allocations: 12.58 MB / 0.9451 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/1.756, allocations: 15.98 kB / 0.9451 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.158e-05/1.756, allocations: 24 kB / 0.9451 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02413/1.78, allocations: 6.046 MB / 0.951 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.783, allocations: 0.4909 MB / 0.9515 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09783/1.881, allocations: 73.16 MB / 1.023 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007021/1.888, allocations: 215.8 kB / 1.023 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/1.891, allocations: 152 kB / 1.023 GB, free: 6.953 MB / 0.795 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.007981/1.899, allocations: 1.997 MB / 1.025 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.901, allocations: 387.4 kB / 1.026 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03611/1.937, allocations: 12.26 MB / 1.038 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/1.937, allocations: 44 kB / 1.038 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003127/1.938, allocations: 56 kB / 1.038 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/1.938, allocations: 19.92 kB / 1.038 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06066/1.998, allocations: 19.17 MB / 1.056 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.04e-05/1.998, allocations: 8 kB / 1.056 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/2.001, allocations: 286.5 kB / 1.057 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5434/2.544, allocations: 5.572 MB / 1.062 GB, free: 290.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00163/2.546, allocations: 85.48 kB / 1.062 GB, free: 290.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08921/2.635, allocations: 70.6 MB / 1.131 GB, free: 245.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/2.635, allocations: 7.781 kB / 1.131 GB, free: 245.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03373/2.669, allocations: 15.67 MB / 1.146 GB, free: 239.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00441/2.673, allocations: 1.044 MB / 1.148 GB, free: 238.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/2.675, allocations: 82.16 kB / 1.148 GB, free: 238.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/2.679, allocations: 217.1 kB / 1.148 GB, free: 238.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002273/2.681, allocations: 401 kB / 1.148 GB, free: 238.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005065/2.681, allocations: 113.1 kB / 1.148 GB, free: 238.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003023/2.684, allocations: 1.554 MB / 1.15 GB, free: 238.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/2.684, allocations: 0 / 1.15 GB, free: 238.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01032/2.695, allocations: 1.8 MB / 1.152 GB, free: 236.3 MB / 0.8262 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.001257/2.696, allocations: 223 kB / 1.152 GB, free: 236.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02112/2.717, allocations: 12.34 MB / 1.164 GB, free: 224.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/2.717, allocations: 7.938 kB / 1.164 GB, free: 224.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/2.734, allocations: 8.364 MB / 1.172 GB, free: 217.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/2.744, allocations: 1.2 MB / 1.173 GB, free: 216.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/2.772, allocations: 12.5 MB / 1.185 GB, free: 204.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006749/2.778, allocations: 4.077 MB / 1.189 GB, free: 200.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002783/2.781, allocations: 0.6825 MB / 1.19 GB, free: 200.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/2.782, allocations: 183.4 kB / 1.19 GB, free: 200.1 MB / 0.8262 GB Notification: Performance of SimCode: time 1.864e-06/2.782, allocations: 4 kB / 1.19 GB, free: 200.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.1594/2.941, allocations: 110.4 MB / 1.298 GB, free: 90.32 MB / 0.8262 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)