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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8292/0.8292, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001673/0.001673, allocations: 180 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.486/1.486, allocations: 170.7 MB / 383.7 MB, free: 16.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001886/0.001886, allocations: 112.7 kB / 454.6 MB, free: 9.719 MB / 346.7 MB [/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.2062/0.2066, allocations: 73.41 MB / 0.6812 GB, free: 5.539 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6848/0.8915, allocations: 172.5 MB / 0.8497 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.8919, allocations: 99.94 kB / 0.8498 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6754/1.567, allocations: 101.7 MB / 0.9491 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/1.567, allocations: 3.5 kB / 0.9491 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001222/1.568, allocations: 40.11 kB / 0.9491 GB, free: 137.1 MB / 0.6042 GB 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.004275/1.572, allocations: 1.862 MB / 0.9509 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.572, allocations: 9.156 kB / 0.951 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/1.583, allocations: 1.966 MB / 0.9529 GB, free: 136 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006538/1.59, allocations: 2.083 MB / 0.9549 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/1.59, allocations: 86.31 kB / 0.955 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/1.59, allocations: 108.5 kB / 0.9551 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008744/1.599, allocations: 2.703 MB / 0.9577 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/1.599, allocations: 5.312 kB / 0.9577 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/1.6, allocations: 58.12 kB / 0.9578 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/1.6, allocations: 85.39 kB / 0.9579 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/1.61, allocations: 2.829 MB / 0.9606 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0223/1.632, allocations: 9.058 MB / 0.9695 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007713/1.64, allocations: 2.393 MB / 0.9718 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/1.64, allocations: 11.19 kB / 0.9718 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/1.64, allocations: 43.06 kB / 0.9719 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 3.927e-06/1.64, allocations: 0 / 0.9719 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.07369/1.714, allocations: 17.47 MB / 0.9889 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.714, allocations: 228.9 kB / 0.9892 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.716, allocations: 1.019 MB / 0.9902 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005182/1.717, allocations: 51.67 kB / 0.9902 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/1.718, allocations: 0.7203 MB / 0.9909 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.719, allocations: 0.5124 MB / 0.9914 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/1.719, allocations: 32.22 kB / 0.9914 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.719, allocations: 369.2 kB / 0.9918 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/1.723, allocations: 1.544 MB / 0.9933 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/1.727, allocations: 1.823 MB / 0.9951 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/1.731, allocations: 1.666 MB / 0.9967 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.731, allocations: 1.344 kB / 0.9967 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01654/1.748, allocations: 5.411 MB / 1.002 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/1.748, allocations: 7.094 kB / 1.002 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.748, allocations: 6.812 kB / 1.002 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009925/1.758, allocations: 2.159 MB / 1.004 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/1.76, allocations: 416.4 kB / 1.005 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02903/1.789, allocations: 23.36 MB / 1.027 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.793, allocations: 328.6 kB / 1.028 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/1.793, allocations: 65.02 kB / 1.028 GB, free: 109.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 17,(6,83.3%) 14,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001724/1.795, allocations: 463.5 kB / 1.028 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009023/1.796, allocations: 179.2 kB / 1.028 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.812, allocations: 5.476 MB / 1.034 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.812, allocations: 15.19 kB / 1.034 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.822e-05/1.812, allocations: 23.33 kB / 1.034 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/1.812, allocations: 9.938 kB / 1.034 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.831, allocations: 7.717 MB / 1.041 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.831, allocations: 3.812 kB / 1.041 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.833, allocations: 363.4 kB / 1.042 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007807/1.841, allocations: 1.999 MB / 1.044 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/1.841, allocations: 39.97 kB / 1.044 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/1.866, allocations: 22.48 MB / 1.066 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.866, allocations: 3.875 kB / 1.066 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.88, allocations: 5.241 MB / 1.071 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.882, allocations: 0.504 MB / 1.071 GB, free: 86.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000825/1.883, allocations: 32.55 kB / 1.071 GB, free: 86.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/1.886, allocations: 332.5 kB / 1.071 GB, free: 86.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/1.886, allocations: 150.9 kB / 1.072 GB, free: 86.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.887, allocations: 54.45 kB / 1.072 GB, free: 86.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001585/1.888, allocations: 0.7921 MB / 1.072 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/1.888, allocations: 2.531 kB / 1.072 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003608/1.892, allocations: 0.7142 MB / 1.073 GB, free: 85.04 MB / 0.6042 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,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007536/1.893, allocations: 214.1 kB / 1.073 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.904, allocations: 5.274 MB / 1.079 GB, free: 80.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.904, allocations: 0 / 1.079 GB, free: 80.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007456/1.912, allocations: 3.399 MB / 1.082 GB, free: 77.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.915, allocations: 0.5046 MB / 1.082 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.925, allocations: 4.941 MB / 1.087 GB, free: 72.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/1.927, allocations: 1.606 MB / 1.089 GB, free: 71.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002223/1.929, allocations: 407.5 kB / 1.089 GB, free: 71.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/1.93, allocations: 117 kB / 1.089 GB, free: 71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/1.93, allocations: 0 / 1.089 GB, free: 71 MB / 0.6042 GB Notification: Performance of Templates: time 0.06521/1.995, allocations: 44.22 MB / 1.132 GB, free: 27.42 MB / 0.6042 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)