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.1897/0.1921, allocations: 80.84 MB / 0.6707 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4643/0.6564, allocations: 26.15 MB / 0.6962 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.6727, allocations: 8.491 MB / 0.7045 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.6761, allocations: 115.9 kB / 0.7046 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006856/0.6829, allocations: 2.748 MB / 0.7073 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.6897, allocations: 1.651 MB / 0.7089 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.6953, allocations: 1.659 MB / 0.7105 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.7062, allocations: 6.007 MB / 0.7164 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.7178, allocations: 7.297 MB / 0.7235 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007532/0.7254, allocations: 2.58 MB / 0.726 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008776/0.7342, allocations: 2.851 MB / 0.7288 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003187/0.7375, allocations: 0.5009 MB / 0.7293 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.7438, allocations: 1.279 MB / 0.7305 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00619/0.75, allocations: 1.993 MB / 0.7325 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009279/0.7593, allocations: 2.315 MB / 0.7347 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.7755, allocations: 7.92 MB / 0.7425 GB, free: 6.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7756, allocations: 0 / 0.7425 GB, free: 6.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.786e-06/0.7756, allocations: 5.281 kB / 0.7425 GB, free: 6.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003992/0.776, allocations: 0 / 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.01721/0.7932, allocations: 4.172 MB / 0.7466 GB, free: 4.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.7933, allocations: 9.625 kB / 0.7466 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/0.799, allocations: 0.7833 MB / 0.7473 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008571/0.8076, allocations: 2.566 MB / 0.7498 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.808, allocations: 268.8 kB / 0.7501 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.8099, allocations: 370.9 kB / 0.7504 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.8255, allocations: 5.941 MB / 0.7563 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.8257, allocations: 15.88 kB / 0.7563 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005006/0.8262, allocations: 152 kB / 0.7564 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007204/0.8269, allocations: 282.8 kB / 0.7567 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.8373, allocations: 4.488 MB / 0.7611 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/0.8699, allocations: 19.87 MB / 0.7805 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.8717, allocations: 1.12 MB / 0.7816 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.8731, allocations: 1.019 MB / 0.7826 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/0.8732, allocations: 13 kB / 0.7826 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.8732, allocations: 47.55 kB / 0.7826 GB, free: 144 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.296e-06/0.8732, allocations: 0 / 0.7826 GB, free: 144 kB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02316/0.8964, allocations: 9.676 MB / 0.7921 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.8965, allocations: 68.66 kB / 0.7921 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.8989, allocations: 1.502 MB / 0.7936 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.8991, allocations: 49.7 kB / 0.7936 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.9003, allocations: 1.636 MB / 0.7952 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.9008, allocations: 469.3 kB / 0.7957 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/0.9013, allocations: 327.2 kB / 0.796 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9014, allocations: 305.1 kB / 0.7963 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.9028, allocations: 0.9213 MB / 0.7972 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.9045, allocations: 1.467 MB / 0.7986 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.9078, allocations: 2.566 MB / 0.8011 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.9078, allocations: 4 kB / 0.8011 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006039/0.9138, allocations: 3.289 MB / 0.8043 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.9139, allocations: 16.91 kB / 0.8044 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.9139, allocations: 16 kB / 0.8044 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.9162, allocations: 0.7413 MB / 0.8051 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9178, allocations: 391.3 kB / 0.8055 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.9344, allocations: 17.04 MB / 0.8221 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.9366, allocations: 95.91 kB / 0.8222 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.937, allocations: 76 kB / 0.8223 GB, free: 5.434 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.003121/0.9401, allocations: 1.316 MB / 0.8236 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.9406, allocations: 197.7 kB / 0.8238 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/0.9457, allocations: 2.8 MB / 0.8265 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.9457, allocations: 15.94 kB / 0.8265 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9457, allocations: 8 kB / 0.8265 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.9458, allocations: 11.92 kB / 0.8265 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.9572, allocations: 6.251 MB / 0.8326 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.9572, allocations: 8 kB / 0.8326 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.9585, allocations: 227.6 kB / 0.8328 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.9604, allocations: 0.6794 MB / 0.8335 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/0.9605, allocations: 28 kB / 0.8335 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.9754, allocations: 16.78 MB / 0.8499 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.9754, allocations: 11.88 kB / 0.8499 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/0.9818, allocations: 4.012 MB / 0.8539 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.9832, allocations: 462.5 kB / 0.8543 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.9834, allocations: 32 kB / 0.8543 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/0.9843, allocations: 83.89 kB / 0.8544 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.9847, allocations: 116.7 kB / 0.8545 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.9848, allocations: 43.94 kB / 0.8546 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00145/0.9862, allocations: 0.9981 MB / 0.8555 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9862, allocations: 0 / 0.8555 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002486/0.9887, allocations: 0.6641 MB / 0.8562 GB, free: 1.098 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.0002802/0.989, allocations: 151 kB / 0.8563 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005272/0.9943, allocations: 3.526 MB / 0.8598 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.9943, allocations: 4 kB / 0.8598 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.9975, allocations: 2.299 MB / 0.862 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.001, allocations: 0.6761 MB / 0.8627 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.014, allocations: 6.523 MB / 0.8691 GB, free: 3.617 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.017, allocations: 2.663 MB / 0.8717 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001744/1.019, allocations: 0.4935 MB / 0.8721 GB, free: 436 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.019, allocations: 115.4 kB / 0.8722 GB, free: 320 kB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/1.019, allocations: 0 / 0.8722 GB, free: 320 kB / 0.67 GB Notification: Performance of Templates: time 0.06403/1.083, allocations: 34.48 MB / 0.9059 GB, free: 14.23 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)