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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [/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.2229/0.225, allocations: 80.83 MB / 0.6706 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4586/0.6836, allocations: 26.15 MB / 0.6962 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.6975, allocations: 8.489 MB / 0.7045 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.7011, allocations: 118.9 kB / 0.7046 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007471/0.7086, allocations: 2.752 MB / 0.7073 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.716, allocations: 1.651 MB / 0.7089 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.7219, allocations: 1.663 MB / 0.7105 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.7322, allocations: 5.998 MB / 0.7164 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.7428, allocations: 7.298 MB / 0.7235 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.749, allocations: 2.537 MB / 0.726 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007273/0.7564, allocations: 2.851 MB / 0.7288 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.7588, allocations: 0.5018 MB / 0.7292 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005105/0.7639, allocations: 1.278 MB / 0.7305 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004927/0.7688, allocations: 1.997 MB / 0.7324 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007885/0.7768, allocations: 2.312 MB / 0.7347 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.7935, allocations: 7.947 MB / 0.7425 GB, free: 6.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.7935, allocations: 0 / 0.7425 GB, free: 6.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7936, allocations: 0 / 0.7425 GB, free: 6.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003375/0.7939, allocations: 4 kB / 0.7425 GB, free: 6.832 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01566/0.8096, allocations: 4.276 MB / 0.7466 GB, free: 3.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.8097, allocations: 12.91 kB / 0.7467 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.8156, allocations: 0.7987 MB / 0.7474 GB, free: 3.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/0.8224, allocations: 2.572 MB / 0.7499 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.8227, allocations: 266.1 kB / 0.7502 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.8242, allocations: 385.1 kB / 0.7506 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.8382, allocations: 5.941 MB / 0.7564 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.8384, allocations: 19.83 kB / 0.7564 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004603/0.8389, allocations: 152 kB / 0.7565 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006698/0.8395, allocations: 274.8 kB / 0.7568 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009185/0.8487, allocations: 4.484 MB / 0.7612 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.8816, allocations: 19.92 MB / 0.7806 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.8836, allocations: 1.12 MB / 0.7817 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.8852, allocations: 1.015 MB / 0.7827 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.8854, allocations: 13 kB / 0.7827 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.8854, allocations: 51.5 kB / 0.7828 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.8854, allocations: 3.938 kB / 0.7828 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.0244/0.9098, allocations: 9.731 MB / 0.7923 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.9099, allocations: 64.72 kB / 0.7923 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.9124, allocations: 1.494 MB / 0.7938 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.9126, allocations: 53.7 kB / 0.7939 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.9138, allocations: 1.688 MB / 0.7955 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/0.9144, allocations: 487.8 kB / 0.796 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.915, allocations: 339.4 kB / 0.7963 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9152, allocations: 305.1 kB / 0.7966 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.9166, allocations: 0.9213 MB / 0.7975 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.9184, allocations: 1.463 MB / 0.7989 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.9218, allocations: 2.562 MB / 0.8014 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.9218, allocations: 4 kB / 0.8014 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006666/0.9285, allocations: 3.303 MB / 0.8046 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.9286, allocations: 16.17 kB / 0.8047 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.933e-05/0.9286, allocations: 20 kB / 0.8047 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.9311, allocations: 0.7412 MB / 0.8054 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.933, allocations: 387.4 kB / 0.8058 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.952, allocations: 17.05 MB / 0.8224 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.9541, allocations: 99.84 kB / 0.8225 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/0.9545, allocations: 76 kB / 0.8226 GB, free: 5.086 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003301/0.9579, allocations: 1.314 MB / 0.8239 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.9585, allocations: 202.9 kB / 0.8241 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/0.9644, allocations: 2.804 MB / 0.8268 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9645, allocations: 16 kB / 0.8268 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.9645, allocations: 8 kB / 0.8268 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.9645, allocations: 11.91 kB / 0.8268 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.9803, allocations: 6.243 MB / 0.8329 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.9804, allocations: 8 kB / 0.8329 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.9817, allocations: 235.8 kB / 0.8332 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.9838, allocations: 0.6677 MB / 0.8338 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.984, allocations: 31.94 kB / 0.8338 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/1.002, allocations: 16.79 MB / 0.8502 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.002, allocations: 4 kB / 0.8502 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/1.01, allocations: 4.04 MB / 0.8542 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.011, allocations: 455.7 kB / 0.8546 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007564/1.012, allocations: 43.92 kB / 0.8547 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.014, allocations: 83.83 kB / 0.8548 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/1.014, allocations: 112.7 kB / 0.8549 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.014, allocations: 48.12 kB / 0.8549 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00181/1.016, allocations: 0.9903 MB / 0.8559 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/1.016, allocations: 7.875 kB / 0.8559 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003075/1.019, allocations: 0.6641 MB / 0.8565 GB, free: 0.7148 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003718/1.019, allocations: 158.3 kB / 0.8567 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006202/1.026, allocations: 3.53 MB / 0.8601 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.026, allocations: 4 kB / 0.8601 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/1.029, allocations: 2.311 MB / 0.8624 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/1.034, allocations: 0.6644 MB / 0.863 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.048, allocations: 6.632 MB / 0.8695 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005977/1.054, allocations: 2.663 MB / 0.8721 GB, free: 428 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002418/1.057, allocations: 497.4 kB / 0.8726 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/1.058, allocations: 115.4 kB / 0.8727 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of SimCode: time 1.573e-06/1.058, allocations: 0 / 0.8727 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.06676/1.124, allocations: 33.95 MB / 0.9058 GB, free: 14.27 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)