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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.2001/0.2008, allocations: 82.21 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03291/0.2338, allocations: 28.28 MB / 0.621 GB, free: 9.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.2581, allocations: 14.05 MB / 0.6347 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/0.2622, allocations: 127.2 kB / 0.6348 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.2656, allocations: 0.7026 MB / 0.6355 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.2758, allocations: 2.272 MB / 0.6377 GB, free: 8.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.2815, allocations: 1.387 MB / 0.6391 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009464/0.291, allocations: 4.397 MB / 0.6434 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0166/0.3076, allocations: 9.828 MB / 0.653 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.3134, allocations: 2.562 MB / 0.6555 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00566/0.3191, allocations: 2.41 MB / 0.6578 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009747/0.3201, allocations: 292 kB / 0.6581 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.323, allocations: 0.6867 MB / 0.6588 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.3252, allocations: 2.03 MB / 0.6608 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.3271, allocations: 1.077 MB / 0.6618 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3377, allocations: 8.914 MB / 0.6705 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3378, allocations: 4 kB / 0.6705 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3378, allocations: 0 / 0.6705 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003699/0.3382, allocations: 0 / 0.6705 GB, free: 6.727 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.01265/0.3508, allocations: 4.794 MB / 0.6752 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3509, allocations: 12.03 kB / 0.6752 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/0.358, allocations: 1.09 MB / 0.6763 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008182/0.3662, allocations: 3.212 MB / 0.6794 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000507/0.3668, allocations: 365.7 kB / 0.6798 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/0.3696, allocations: 491.9 kB / 0.6802 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.39, allocations: 7.833 MB / 0.6879 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/0.3902, allocations: 27.78 kB / 0.6879 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008287/0.391, allocations: 215.9 kB / 0.6881 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.3921, allocations: 433.3 kB / 0.6885 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3418/0.7339, allocations: 5.993 MB / 0.6944 GB, free: 84.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/0.7705, allocations: 24.85 MB / 0.7187 GB, free: 71.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.7737, allocations: 2.015 MB / 0.7206 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.7739, allocations: 18.22 kB / 0.7207 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.774, allocations: 60.5 kB / 0.7207 GB, free: 70.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.917e-06/0.774, allocations: 0 / 0.7207 GB, free: 70.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276): time 0.1538/0.9278, allocations: 38.97 MB / 0.7588 GB, free: 41.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.9279, allocations: 81.58 kB / 0.7588 GB, free: 41.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.9306, allocations: 2.262 MB / 0.7611 GB, free: 38.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.9309, allocations: 73.7 kB / 0.7611 GB, free: 38.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009455/0.9318, allocations: 2.234 MB / 0.7633 GB, free: 36.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006412/0.9325, allocations: 0.9299 MB / 0.7642 GB, free: 35.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9326, allocations: 60 kB / 0.7643 GB, free: 35.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9328, allocations: 424 kB / 0.7647 GB, free: 35.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.935, allocations: 1.97 MB / 0.7666 GB, free: 33.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.9374, allocations: 2.587 MB / 0.7691 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.94, allocations: 2.384 MB / 0.7715 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.94, allocations: 4 kB / 0.7715 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01177/0.9518, allocations: 7.731 MB / 0.779 GB, free: 20.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.9518, allocations: 12 kB / 0.779 GB, free: 20.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.9518, allocations: 20 kB / 0.779 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007812/0.9597, allocations: 3.199 MB / 0.7822 GB, free: 16.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.9613, allocations: 397.3 kB / 0.7825 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03989/1.001, allocations: 32.39 MB / 0.8142 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.005, allocations: 171.7 kB / 0.8143 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/1.005, allocations: 108 kB / 0.8144 GB, free: 15.1 MB / 0.5606 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003369/1.008, allocations: 1.793 MB / 0.8162 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/1.009, allocations: 324.2 kB / 0.8165 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.023, allocations: 7.345 MB / 0.8237 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.023, allocations: 28 kB / 0.8237 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/1.023, allocations: 28 kB / 0.8237 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.023, allocations: 15.95 kB / 0.8237 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.045, allocations: 12.93 MB / 0.8364 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.046, allocations: 7.938 kB / 0.8364 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.047, allocations: 233.1 kB / 0.8366 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008095/1.055, allocations: 2.857 MB / 0.8394 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003432/1.055, allocations: 52 kB / 0.8394 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04179/1.097, allocations: 31.2 MB / 0.8699 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.097, allocations: 11.94 kB / 0.8699 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.109, allocations: 7.418 MB / 0.8772 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.112, allocations: 0.79 MB / 0.8779 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005454/1.112, allocations: 56 kB / 0.878 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.114, allocations: 163.8 kB / 0.8781 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007961/1.115, allocations: 261.2 kB / 0.8784 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.115, allocations: 72 kB / 0.8785 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002227/1.117, allocations: 1.502 MB / 0.8799 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 7.938 kB / 0.8799 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004789/1.122, allocations: 1.336 MB / 0.8812 GB, free: 9.188 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004232/1.123, allocations: 178.9 kB / 0.8814 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.134, allocations: 6.911 MB / 0.8882 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.134, allocations: 4 kB / 0.8882 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00773/1.142, allocations: 4.421 MB / 0.8925 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.147, allocations: 1.012 MB / 0.8935 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.165, allocations: 11.95 MB / 0.9051 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.169, allocations: 3.734 MB / 0.9088 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002274/1.171, allocations: 0.5712 MB / 0.9093 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.172, allocations: 159.4 kB / 0.9095 GB, free: 12 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/1.172, allocations: 8 kB / 0.9095 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.4542/1.626, allocations: 71.76 MB / 0.9796 GB, free: 210.5 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: