Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.4874/0.4895, allocations: 80.82 MB / 0.5904 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01553/0.5051, allocations: 14.46 MB / 0.6045 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.5208, allocations: 10.58 MB / 0.6149 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.5232, allocations: 59.62 kB / 0.6149 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.5279, allocations: 1.677 MB / 0.6166 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006397/0.5343, allocations: 1.846 MB / 0.6184 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.5368, allocations: 0.7473 MB / 0.6191 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.5416, allocations: 2.696 MB / 0.6217 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.5437, allocations: 1.423 MB / 0.6231 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.5466, allocations: 1.48 MB / 0.6246 GB, free: 3.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.5491, allocations: 1.168 MB / 0.6257 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.5496, allocations: 156 kB / 0.6259 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.5522, allocations: 0.7915 MB / 0.6266 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009699/0.5532, allocations: 0.5842 MB / 0.6272 GB, free: 1.027 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.5549, allocations: 0.9405 MB / 0.6281 GB, free: 84 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.5601, allocations: 2.683 MB / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.5602, allocations: 0 / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5602, allocations: 0 / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.423e-05/0.5603, allocations: 0 / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.006818/0.5671, allocations: 2.15 MB / 0.6328 GB, free: 11.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.412e-05/0.5672, allocations: 8.031 kB / 0.6328 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.5836, allocations: 2.105 MB / 0.6349 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.5884, allocations: 1.206 MB / 0.6361 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5886, allocations: 86.17 kB / 0.6362 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005817/0.5892, allocations: 112 kB / 0.6363 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007855/0.5971, allocations: 2.641 MB / 0.6388 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.5972, allocations: 11.84 kB / 0.6389 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.5975, allocations: 55.98 kB / 0.6389 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009706/0.5984, allocations: 194 kB / 0.6391 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.6089, allocations: 2.767 MB / 0.6418 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.6266, allocations: 8.848 MB / 0.6504 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007461/0.6342, allocations: 2.348 MB / 0.6527 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/0.6379, allocations: 1.272 MB / 0.654 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.638, allocations: 12.94 kB / 0.654 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.6381, allocations: 43.56 kB / 0.654 GB, free: 5.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.6381, allocations: 4 kB / 0.654 GB, free: 5.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=153): time 0.06421/0.7023, allocations: 16.42 MB / 0.6701 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.7024, allocations: 72.72 kB / 0.6701 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.7049, allocations: 1.18 MB / 0.6713 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004415/0.7053, allocations: 53.7 kB / 0.6713 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008103/0.7062, allocations: 0.7281 MB / 0.6721 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008225/0.707, allocations: 0.5081 MB / 0.6726 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000936/0.708, allocations: 287.5 kB / 0.6728 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7081, allocations: 301.1 kB / 0.6731 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/0.7123, allocations: 1.51 MB / 0.6746 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/0.717, allocations: 1.78 MB / 0.6763 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/0.7254, allocations: 3.381 MB / 0.6796 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7255, allocations: 0 / 0.6796 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01574/0.7412, allocations: 5.288 MB / 0.6848 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.7413, allocations: 11.94 kB / 0.6848 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.18e-05/0.7414, allocations: 11.92 kB / 0.6848 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007372/0.7488, allocations: 1.908 MB / 0.6867 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.751, allocations: 415.3 kB / 0.6871 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03379/0.7849, allocations: 24.23 MB / 0.7107 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.7881, allocations: 299.5 kB / 0.711 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000551/0.7887, allocations: 71.97 kB / 0.7111 GB, free: 9.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (6,14,80.6%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001632/0.7904, allocations: 465.5 kB / 0.7115 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/0.791, allocations: 174 kB / 0.7117 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.8056, allocations: 5.328 MB / 0.7169 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.8058, allocations: 16 kB / 0.7169 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.652e-05/0.8058, allocations: 20 kB / 0.7169 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.8059, allocations: 7.969 kB / 0.7169 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.8246, allocations: 7.422 MB / 0.7242 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.8246, allocations: 4.344 kB / 0.7242 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.8264, allocations: 355.4 kB / 0.7245 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/0.8326, allocations: 1.721 MB / 0.7262 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.8329, allocations: 43.95 kB / 0.7263 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/0.8629, allocations: 23.32 MB / 0.749 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.863, allocations: 4.031 kB / 0.749 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4558/1.319, allocations: 4.894 MB / 0.7538 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.32, allocations: 496.4 kB / 0.7543 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/1.321, allocations: 27.03 kB / 0.7543 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.324, allocations: 323.3 kB / 0.7546 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000701/1.324, allocations: 151.3 kB / 0.7548 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.325, allocations: 60.86 kB / 0.7548 GB, free: 144 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002115/1.327, allocations: 0.7906 MB / 0.7556 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.327, allocations: 0 / 0.7556 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004158/1.331, allocations: 0.6422 MB / 0.7562 GB, free: 143.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005154/1.331, allocations: 137.5 kB / 0.7563 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.348, allocations: 5.489 MB / 0.7617 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.348, allocations: 1.156 kB / 0.7617 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007432/1.355, allocations: 3.359 MB / 0.765 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.358, allocations: 0.5567 MB / 0.7655 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008663/1.367, allocations: 4.414 MB / 0.7698 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.368, allocations: 1.558 MB / 0.7714 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001784/1.37, allocations: 394.9 kB / 0.7717 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/1.37, allocations: 105 kB / 0.7718 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/1.37, allocations: 0 / 0.7718 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0678/1.438, allocations: 44.85 MB / 0.8156 GB, free: 95.77 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)