Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7872/0.7872, 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.001107/0.001107, allocations: 176.1 kB / 180.9 MB, free: 15.1 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.633/1.633, allocations: 170.7 MB / 383.7 MB, free: 16.28 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.001865/0.001865, allocations: 120.6 kB / 454.6 MB, free: 9.879 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.2163/0.2169, allocations: 73.4 MB / 0.6812 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5956/0.8126, allocations: 144.1 MB / 0.8219 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.813, allocations: 97.94 kB / 0.822 GB, free: 3.531 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.09969/0.9127, allocations: 37.31 MB / 0.8584 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9127, allocations: 0 / 0.8584 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.85e-05/0.9128, allocations: 27.92 kB / 0.8584 GB, free: 13.86 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00258/0.9154, allocations: 1.001 MB / 0.8594 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9155, allocations: 12.56 kB / 0.8594 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.919, allocations: 0.6222 MB / 0.86 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.9204, allocations: 0.5934 MB / 0.8606 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.9204, allocations: 37.31 kB / 0.8607 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.9205, allocations: 51.98 kB / 0.8607 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.9227, allocations: 1.006 MB / 0.8617 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.9228, allocations: 7.938 kB / 0.8617 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.9228, allocations: 22.06 kB / 0.8617 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/0.9229, allocations: 45.28 kB / 0.8618 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.9253, allocations: 1.008 MB / 0.8628 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.9297, allocations: 2.796 MB / 0.8655 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.9311, allocations: 0.5187 MB / 0.866 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.9312, allocations: 0.5312 kB / 0.866 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.9312, allocations: 38.56 kB / 0.866 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 2.836e-06/0.9312, allocations: 0 / 0.866 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.01177/0.943, allocations: 2.286 MB / 0.8683 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.9432, allocations: 136.5 kB / 0.8684 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.9446, allocations: 0.4955 MB / 0.8689 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.9447, allocations: 33.7 kB / 0.8689 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.9452, allocations: 352.2 kB / 0.8692 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.9454, allocations: 149.8 kB / 0.8694 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.9455, allocations: 12 kB / 0.8694 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.9458, allocations: 370.8 kB / 0.8697 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.9471, allocations: 284.8 kB / 0.87 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.9486, allocations: 396.4 kB / 0.8704 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.9501, allocations: 317.4 kB / 0.8707 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.9501, allocations: 0 / 0.8707 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004493/0.9547, allocations: 0.959 MB / 0.8716 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008425/0.9555, allocations: 1.221 MB / 0.8728 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.9556, allocations: 4 kB / 0.8728 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.9574, allocations: 256.9 kB / 0.8731 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.9587, allocations: 131.8 kB / 0.8732 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/0.9665, allocations: 5.968 MB / 0.879 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.968, allocations: 56.08 kB / 0.8791 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.9681, allocations: 23.98 kB / 0.8791 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.9682, allocations: 4 kB / 0.8791 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004699/0.9729, allocations: 1.081 MB / 0.8802 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9729, allocations: 4 kB / 0.8802 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.9742, allocations: 204.9 kB / 0.8804 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9756, allocations: 135.8 kB / 0.8805 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.9864, allocations: 8.204 MB / 0.8885 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.9878, allocations: 67.94 kB / 0.8886 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.988, allocations: 16 kB / 0.8886 GB, free: 13.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009172/0.9889, allocations: 309 kB / 0.8889 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.9893, allocations: 71.23 kB / 0.889 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.9897, allocations: 78.38 kB / 0.889 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9897, allocations: 8.234 kB / 0.889 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.9897, allocations: 4 kB / 0.889 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.9897, allocations: 0 / 0.889 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.9917, allocations: 0.6456 MB / 0.8897 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.9917, allocations: 3.984 kB / 0.8897 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.9926, allocations: 107.8 kB / 0.8898 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.9943, allocations: 244.9 kB / 0.89 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.9944, allocations: 7.953 kB / 0.89 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.006, allocations: 8.467 MB / 0.8983 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.006, allocations: 0 / 0.8983 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/1.009, allocations: 0.9522 MB / 0.8992 GB, free: 1.227 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/1.01, allocations: 188.2 kB / 0.8994 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.01, allocations: 11.98 kB / 0.8994 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/1.011, allocations: 55.95 kB / 0.8995 GB, free: 0.957 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.011, allocations: 39.88 kB / 0.8995 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/1.011, allocations: 12 kB / 0.8995 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008443/1.012, allocations: 399.1 kB / 0.8999 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.012, allocations: 3.938 kB / 0.8999 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001973/1.014, allocations: 295.9 kB / 0.9002 GB, free: 232 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/1.014, allocations: 127.4 kB / 0.9003 GB, free: 96 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00443/1.019, allocations: 2.077 MB / 0.9023 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.019, allocations: 0 / 0.9023 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.02, allocations: 1.028 MB / 0.9033 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.022, allocations: 205.6 kB / 0.9035 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/1.025, allocations: 1.541 MB / 0.905 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/1.026, allocations: 0.9859 MB / 0.906 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007342/1.027, allocations: 161.3 kB / 0.9061 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/1.027, allocations: 39.44 kB / 0.9062 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/1.027, allocations: 0 / 0.9062 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of Templates: time 0.02412/1.051, allocations: 12.37 MB / 0.9183 GB, free: 13.57 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)