Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7948/0.7948, allocations: 132.4 MB / 139.9 MB, free: 15.4 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.001205/0.001205, allocations: 171.4 kB / 171.8 MB, free: 2.043 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.856/1.856, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001903/0.001903, allocations: 117 kB / 444.8 MB, free: 9.219 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.4847/0.4847, allocations: 73.4 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/0.6957, allocations: 169.2 MB / 0.8319 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.6961, allocations: 99.94 kB / 0.832 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.585/1.281, allocations: 99.68 MB / 0.9293 GB, free: 134.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.443e-06/1.281, allocations: 3.938 kB / 0.9293 GB, free: 134.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001032/1.281, allocations: 42 kB / 0.9293 GB, free: 134.2 MB / 0.573 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.003158/1.284, allocations: 1.577 MB / 0.9309 GB, free: 133.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.284, allocations: 6.594 kB / 0.9309 GB, free: 133.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/1.296, allocations: 1.876 MB / 0.9327 GB, free: 133.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/1.298, allocations: 1.218 MB / 0.9339 GB, free: 132.4 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/1.299, allocations: 36.16 kB / 0.9339 GB, free: 132.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/1.299, allocations: 66.25 kB / 0.934 GB, free: 132.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002946/1.302, allocations: 1.683 MB / 0.9357 GB, free: 131.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/1.305, allocations: 2.04 MB / 0.9376 GB, free: 130.7 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/1.305, allocations: 15.81 kB / 0.9377 GB, free: 130.7 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.305, allocations: 6.031 kB / 0.9377 GB, free: 130.7 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.305, allocations: 77.08 kB / 0.9377 GB, free: 130.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/1.32, allocations: 8.785 MB / 0.9463 GB, free: 125.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/1.323, allocations: 1.668 MB / 0.9479 GB, free: 124.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/1.324, allocations: 0.8803 MB / 0.9488 GB, free: 123.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/1.324, allocations: 9.562 kB / 0.9488 GB, free: 123.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.324, allocations: 44.03 kB / 0.9489 GB, free: 123.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=89): time 4.058e-06/1.324, allocations: 7.984 kB / 0.9489 GB, free: 123.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=131): time 0.01328/1.338, allocations: 5.712 MB / 0.9544 GB, free: 120.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/1.338, allocations: 222.3 kB / 0.9547 GB, free: 120.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/1.339, allocations: 0.7594 MB / 0.9554 GB, free: 119.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/1.339, allocations: 29.7 kB / 0.9554 GB, free: 119.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/1.339, allocations: 0.7 MB / 0.9561 GB, free: 119.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.34, allocations: 428.4 kB / 0.9565 GB, free: 118.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.34, allocations: 3.938 kB / 0.9565 GB, free: 118.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/1.34, allocations: 357.8 kB / 0.9569 GB, free: 118.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/1.341, allocations: 0.9317 MB / 0.9578 GB, free: 117.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/1.342, allocations: 1.183 MB / 0.9589 GB, free: 117.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.344, allocations: 1.087 MB / 0.96 GB, free: 116.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.344, allocations: 0 / 0.96 GB, free: 116.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007151/1.351, allocations: 3.617 MB / 0.9635 GB, free: 114.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.351, allocations: 6.781 kB / 0.9635 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.351, allocations: 7.406 kB / 0.9635 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/1.357, allocations: 1.585 MB / 0.9651 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/1.359, allocations: 430.7 kB / 0.9655 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/1.378, allocations: 23.98 MB / 0.9889 GB, free: 92.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.381, allocations: 290 kB / 0.9892 GB, free: 92.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/1.382, allocations: 65.06 kB / 0.9892 GB, free: 92.16 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003964/1.382, allocations: 132.7 kB / 0.9894 GB, free: 92.03 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.383, allocations: 151.5 kB / 0.9895 GB, free: 91.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/1.39, allocations: 3.67 MB / 0.9931 GB, free: 89.78 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.39, allocations: 15.05 kB / 0.9931 GB, free: 89.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/1.39, allocations: 16.33 kB / 0.9931 GB, free: 89.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.39, allocations: 7.969 kB / 0.9931 GB, free: 89.76 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.401, allocations: 5.948 MB / 0.9989 GB, free: 84.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.401, allocations: 4 kB / 0.999 GB, free: 84.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.403, allocations: 387.4 kB / 0.9993 GB, free: 83.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005532/1.409, allocations: 1.486 MB / 1.001 GB, free: 82.21 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/1.409, allocations: 19.97 kB / 1.001 GB, free: 82.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/1.427, allocations: 22.92 MB / 1.023 GB, free: 57.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.427, allocations: 0 / 1.023 GB, free: 57.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006998/1.434, allocations: 3.62 MB / 1.027 GB, free: 54.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.435, allocations: 455.1 kB / 1.027 GB, free: 53.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/1.436, allocations: 7.984 kB / 1.027 GB, free: 53.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.438, allocations: 299.5 kB / 1.027 GB, free: 53.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/1.438, allocations: 121.6 kB / 1.028 GB, free: 53.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.438, allocations: 52.16 kB / 1.028 GB, free: 53.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007348/1.439, allocations: 0.5684 MB / 1.028 GB, free: 52.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.439, allocations: 4 kB / 1.028 GB, free: 52.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002417/1.441, allocations: 0.5351 MB / 1.029 GB, free: 51.98 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003542/1.442, allocations: 142.8 kB / 1.029 GB, free: 51.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005544/1.447, allocations: 4.177 MB / 1.033 GB, free: 47.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.447, allocations: 0 / 1.033 GB, free: 47.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003957/1.451, allocations: 2.973 MB / 1.036 GB, free: 44.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.453, allocations: 434.5 kB / 1.036 GB, free: 44.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/1.458, allocations: 2.895 MB / 1.039 GB, free: 41.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/1.459, allocations: 1.497 MB / 1.041 GB, free: 39.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001588/1.46, allocations: 412.1 kB / 1.041 GB, free: 39.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/1.461, allocations: 107.4 kB / 1.041 GB, free: 39.01 MB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/1.461, allocations: 0 / 1.041 GB, free: 39.01 MB / 0.573 GB Notification: Performance of Templates: time 0.04723/1.508, allocations: 34.52 MB / 1.075 GB, free: 4.66 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)