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.1647/0.1654, allocations: 82.21 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0149/0.1804, allocations: 12.3 MB / 0.6054 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.1939, allocations: 9.555 MB / 0.6147 GB, free: 80 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.1953, allocations: 47.62 kB / 0.6148 GB, free: 32 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.1961, allocations: 258.3 kB / 0.615 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.2003, allocations: 1.475 MB / 0.6165 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2018, allocations: 0.5184 MB / 0.617 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.205, allocations: 1.717 MB / 0.6186 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.2084, allocations: 1.794 MB / 0.6204 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.2106, allocations: 1.188 MB / 0.6215 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.2118, allocations: 0.8639 MB / 0.6224 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.212, allocations: 72 kB / 0.6225 GB, free: 8.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009585/0.213, allocations: 379.5 kB / 0.6228 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.2134, allocations: 454.6 kB / 0.6233 GB, free: 7.289 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.2137, allocations: 344.8 kB / 0.6236 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.2155, allocations: 2.049 MB / 0.6256 GB, free: 4.891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2155, allocations: 0 / 0.6256 GB, free: 4.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2156, allocations: 0 / 0.6256 GB, free: 4.891 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.2156, allocations: 0 / 0.6256 GB, free: 4.891 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.003351/0.2189, allocations: 1.823 MB / 0.6274 GB, free: 3.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.219, allocations: 8.031 kB / 0.6274 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.2303, allocations: 2.182 MB / 0.6295 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.2334, allocations: 1.155 MB / 0.6306 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/0.2335, allocations: 94.22 kB / 0.6307 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.2338, allocations: 115.9 kB / 0.6308 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006272/0.24, allocations: 2.646 MB / 0.6334 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.2401, allocations: 7.938 kB / 0.6334 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.2403, allocations: 51.98 kB / 0.6335 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006682/0.241, allocations: 190 kB / 0.6337 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/0.2484, allocations: 2.814 MB / 0.6364 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.2631, allocations: 8.892 MB / 0.6451 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.2696, allocations: 2.395 MB / 0.6474 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.469e-05/0.2697, allocations: 13 kB / 0.6474 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.2698, allocations: 47.52 kB / 0.6475 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.2698, allocations: 0 / 0.6475 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=153): time 0.05885/0.3286, allocations: 16.45 MB / 0.6635 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3287, allocations: 68.67 kB / 0.6636 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3306, allocations: 1.168 MB / 0.6648 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.3309, allocations: 53.7 kB / 0.6648 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.3316, allocations: 0.7243 MB / 0.6655 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/0.3322, allocations: 0.5159 MB / 0.666 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.3324, allocations: 28 kB / 0.666 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3326, allocations: 365.9 kB / 0.6664 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/0.3364, allocations: 1.522 MB / 0.6679 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.3403, allocations: 1.799 MB / 0.6696 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.3441, allocations: 1.642 MB / 0.6712 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3441, allocations: 8 kB / 0.6712 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01365/0.3578, allocations: 5.3 MB / 0.6764 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3579, allocations: 8.875 kB / 0.6764 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3579, allocations: 4 kB / 0.6764 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.3649, allocations: 1.9 MB / 0.6783 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.367, allocations: 431.3 kB / 0.6787 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3425/0.7095, allocations: 22.89 MB / 0.7011 GB, free: 85.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.7122, allocations: 317.4 kB / 0.7014 GB, free: 85.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.7124, allocations: 71.31 kB / 0.7014 GB, free: 85.35 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(6,80.6%) 14,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008869/0.7133, allocations: 461.1 kB / 0.7019 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.7135, allocations: 172.2 kB / 0.702 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.727, allocations: 5.352 MB / 0.7073 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.727, allocations: 14.72 kB / 0.7073 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/0.7271, allocations: 21.72 kB / 0.7073 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.7271, allocations: 7.172 kB / 0.7073 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.7438, allocations: 7.456 MB / 0.7146 GB, free: 82.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7438, allocations: 2.219 kB / 0.7146 GB, free: 82.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.7457, allocations: 362.3 kB / 0.7149 GB, free: 82.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0061/0.7519, allocations: 1.7 MB / 0.7166 GB, free: 81.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.7521, allocations: 45.62 kB / 0.7166 GB, free: 81.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/0.7727, allocations: 22.06 MB / 0.7382 GB, free: 64.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7727, allocations: 3.938 kB / 0.7382 GB, free: 64.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.7834, allocations: 5.073 MB / 0.7431 GB, free: 61.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.7848, allocations: 0.4987 MB / 0.7436 GB, free: 61.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.7851, allocations: 24 kB / 0.7436 GB, free: 61.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.7871, allocations: 327.5 kB / 0.744 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/0.7876, allocations: 145 kB / 0.7441 GB, free: 60.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.7877, allocations: 55.97 kB / 0.7441 GB, free: 60.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008117/0.7885, allocations: 0.782 MB / 0.7449 GB, free: 59.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7885, allocations: 0 / 0.7449 GB, free: 59.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00181/0.7903, allocations: 0.6406 MB / 0.7455 GB, free: 59.18 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/0.7906, allocations: 148.2 kB / 0.7457 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009411/0.8, allocations: 5.231 MB / 0.7508 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.8001, allocations: 0 / 0.7508 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005892/0.806, allocations: 3.371 MB / 0.7541 GB, free: 50.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.8081, allocations: 0.4966 MB / 0.7546 GB, free: 49.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.815, allocations: 4.913 MB / 0.7594 GB, free: 44.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.8159, allocations: 1.598 MB / 0.7609 GB, free: 43.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001327/0.8172, allocations: 390 kB / 0.7613 GB, free: 42.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.8175, allocations: 107.4 kB / 0.7614 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/0.8175, allocations: 0 / 0.7614 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.0472/0.8647, allocations: 41.41 MB / 0.8018 GB, free: 1.75 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: