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.2604/0.2635, allocations: 80.84 MB / 0.5897 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0437/0.3073, allocations: 40.02 MB / 0.6288 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02705/0.3345, allocations: 15.51 MB / 0.6439 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008378/0.343, allocations: 167.1 kB / 0.6441 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.3559, allocations: 4.137 MB / 0.6481 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.3697, allocations: 2.699 MB / 0.6508 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.3811, allocations: 2.864 MB / 0.6536 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02168/0.4028, allocations: 15.7 MB / 0.6689 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/0.4235, allocations: 13.64 MB / 0.6822 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008618/0.4322, allocations: 4.024 MB / 0.6861 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3782/0.8105, allocations: 5.475 MB / 0.6915 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003622/0.8141, allocations: 0.6099 MB / 0.6921 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006146/0.8203, allocations: 2.038 MB / 0.6941 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005248/0.8256, allocations: 3.263 MB / 0.6973 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/0.8358, allocations: 3.794 MB / 0.701 GB, free: 25.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02376/0.8596, allocations: 13.78 MB / 0.7144 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.8596, allocations: 0.5312 kB / 0.7144 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8596, allocations: 0 / 0.7144 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007241/0.8604, allocations: 0.5312 kB / 0.7144 GB, free: 24.39 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: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.04189/0.9023, allocations: 7.493 MB / 0.7217 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.9024, allocations: 9.344 kB / 0.7217 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.9179, allocations: 1.482 MB / 0.7232 GB, free: 21.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.934, allocations: 4.183 MB / 0.7273 GB, free: 20.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.9345, allocations: 444.4 kB / 0.7277 GB, free: 20.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004959/0.9395, allocations: 0.5832 MB / 0.7283 GB, free: 20.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.9798, allocations: 10.57 MB / 0.7386 GB, free: 16.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005165/0.9804, allocations: 37.39 kB / 0.7386 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004713/0.9851, allocations: 256.2 kB / 0.7389 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/0.9878, allocations: 0.7692 MB / 0.7396 GB, free: 16.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/1.013, allocations: 8.492 MB / 0.7479 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0736/1.086, allocations: 33.91 MB / 0.781 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/1.094, allocations: 4.299 MB / 0.7852 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006312/1.1, allocations: 3.705 MB / 0.7889 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004549/1.101, allocations: 42.72 kB / 0.7889 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.186e-05/1.101, allocations: 81.33 kB / 0.789 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=353): time 4.879e-06/1.101, allocations: 0 / 0.789 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=578): time 0.5416/1.642, allocations: 122.8 MB / 0.9089 GB, free: 1.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/1.643, allocations: 111.9 kB / 0.909 GB, free: 1.105 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/1.647, allocations: 2.677 MB / 0.9116 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001897/1.649, allocations: 121.7 kB / 0.9117 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.651, allocations: 2.638 MB / 0.9143 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/1.655, allocations: 1.942 MB / 0.9162 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.657, allocations: 0.9189 MB / 0.9171 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.657, allocations: 309.1 kB / 0.9174 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006528/1.663, allocations: 4.095 MB / 0.9214 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007226/1.671, allocations: 5.021 MB / 0.9263 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/1.686, allocations: 9.883 MB / 0.9359 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.071e-05/1.686, allocations: 8 kB / 0.9359 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04617/1.733, allocations: 17.01 MB / 0.9525 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/1.733, allocations: 14.62 kB / 0.9525 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.047e-05/1.733, allocations: 24 kB / 0.9526 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4848/2.218, allocations: 9.267 MB / 0.9616 GB, free: 255.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/2.22, allocations: 0.5239 MB / 0.9621 GB, free: 255.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09406/2.314, allocations: 70.84 MB / 1.031 GB, free: 215.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/2.321, allocations: 284.5 kB / 1.032 GB, free: 215.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/2.323, allocations: 191.8 kB / 1.032 GB, free: 215 MB / 0.7169 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.006931/2.33, allocations: 2.416 MB / 1.034 GB, free: 213 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/2.332, allocations: 470.6 kB / 1.035 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03532/2.367, allocations: 16.84 MB / 1.051 GB, free: 198 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/2.367, allocations: 52 kB / 1.051 GB, free: 198 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002433/2.368, allocations: 75.94 kB / 1.051 GB, free: 197.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/2.368, allocations: 27.89 kB / 1.051 GB, free: 197.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05227/2.42, allocations: 25.7 MB / 1.076 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-05/2.42, allocations: 4.938 kB / 1.076 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/2.422, allocations: 323.5 kB / 1.077 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02748/2.45, allocations: 8.249 MB / 1.085 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001789/2.451, allocations: 108 kB / 1.085 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0803/2.532, allocations: 67.4 MB / 1.151 GB, free: 94.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.532, allocations: 15.11 kB / 1.151 GB, free: 94.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04413/2.576, allocations: 21.62 MB / 1.172 GB, free: 72.44 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005634/2.582, allocations: 1.362 MB / 1.173 GB, free: 71.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002547/2.584, allocations: 104 kB / 1.173 GB, free: 70.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005643/2.59, allocations: 287.6 kB / 1.173 GB, free: 70.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00317/2.593, allocations: 0.526 MB / 1.174 GB, free: 70.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008552/2.594, allocations: 140.6 kB / 1.174 GB, free: 70 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00303/2.597, allocations: 1.776 MB / 1.176 GB, free: 68.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/2.597, allocations: 0 / 1.176 GB, free: 68.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01126/2.608, allocations: 2.378 MB / 1.178 GB, free: 65.86 MB / 0.7169 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.00143/2.61, allocations: 245.4 kB / 1.178 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03014/2.64, allocations: 14.78 MB / 1.193 GB, free: 50.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/2.64, allocations: 4 kB / 1.193 GB, free: 50.65 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.02136/2.661, allocations: 9.361 MB / 1.202 GB, free: 41.14 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/2.677, allocations: 1.286 MB / 1.203 GB, free: 39.89 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/2.722, allocations: 19.19 MB / 1.222 GB, free: 20.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/2.735, allocations: 4.891 MB / 1.227 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004675/2.74, allocations: 0.7565 MB / 1.227 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/2.741, allocations: 195.4 kB / 1.228 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/2.741, allocations: 4 kB / 1.228 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.583/3.324, allocations: 142.5 MB / 1.367 GB, free: 143.7 MB / 0.7169 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)