Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 178.5 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006858/0.0006855, allocations: 105.9 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 10.03 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5491/0.7328, allocations: 174.2 MB / 1.071 GB, free: 153.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.7332, allocations: 93.72 kB / 1.071 GB, free: 153.5 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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.08363/0.8168, allocations: 36.93 MB / 1.107 GB, free: 126.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8169, allocations: 0 / 1.107 GB, free: 126.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.225e-05/0.817, allocations: 20 kB / 1.107 GB, free: 126.4 MB / 0.698 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.002119/0.8191, allocations: 0.9973 MB / 1.108 GB, free: 125.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8191, allocations: 8.031 kB / 1.108 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.8223, allocations: 0.6242 MB / 1.109 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.8235, allocations: 0.6021 MB / 1.11 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.8235, allocations: 49.55 kB / 1.11 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8237, allocations: 52.38 kB / 1.11 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.8255, allocations: 1.01 MB / 1.111 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.8255, allocations: 192 / 1.111 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/0.8256, allocations: 31.92 kB / 1.111 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.8256, allocations: 37.3 kB / 1.111 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.8277, allocations: 1.012 MB / 1.112 GB, free: 121.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.8313, allocations: 3.553 MB / 1.115 GB, free: 118 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.8326, allocations: 0.5135 MB / 1.116 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.833, allocations: 252.6 kB / 1.116 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.8331, allocations: 3.984 kB / 1.116 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8331, allocations: 38.56 kB / 1.116 GB, free: 117.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.8331, allocations: 0 / 1.116 GB, free: 117.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.00622/0.8393, allocations: 2.312 MB / 1.118 GB, free: 114.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.8394, allocations: 136.5 kB / 1.118 GB, free: 114.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.8401, allocations: 0.5665 MB / 1.119 GB, free: 114.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.8401, allocations: 33.7 kB / 1.119 GB, free: 114 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.8403, allocations: 348.2 kB / 1.119 GB, free: 113.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.8404, allocations: 153.8 kB / 1.119 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.8404, allocations: 16 kB / 1.12 GB, free: 113.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.8405, allocations: 366.8 kB / 1.12 GB, free: 113.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.8411, allocations: 272.9 kB / 1.12 GB, free: 112.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.8417, allocations: 408.3 kB / 1.121 GB, free: 112.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8429, allocations: 0.6616 MB / 1.121 GB, free: 111.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8429, allocations: 0 / 1.121 GB, free: 111.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002027/0.845, allocations: 0.9701 MB / 1.122 GB, free: 110.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.8451, allocations: 184.4 kB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8451, allocations: 4 kB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.8461, allocations: 268.9 kB / 1.123 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.8467, allocations: 131.8 kB / 1.123 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.8519, allocations: 8.467 MB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.8526, allocations: 59.95 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.8526, allocations: 27.97 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.8526, allocations: 4 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/0.8546, allocations: 1.081 MB / 1.132 GB, free: 99.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8547, allocations: 0 / 1.132 GB, free: 99.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.8553, allocations: 213.3 kB / 1.132 GB, free: 99.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.8559, allocations: 139.8 kB / 1.132 GB, free: 99.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.86, allocations: 8.152 MB / 1.14 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.8608, allocations: 56.02 kB / 1.14 GB, free: 90.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.8609, allocations: 23.98 kB / 1.14 GB, free: 90.2 MB / 0.698 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.0005049/0.8614, allocations: 310.4 kB / 1.141 GB, free: 89.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.8616, allocations: 67.19 kB / 1.141 GB, free: 89.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.8617, allocations: 82.52 kB / 1.141 GB, free: 89.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8618, allocations: 11.98 kB / 1.141 GB, free: 89.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.8618, allocations: 0 / 1.141 GB, free: 89.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.8618, allocations: 3.984 kB / 1.141 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.8626, allocations: 0.6417 MB / 1.142 GB, free: 89.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8626, allocations: 0 / 1.142 GB, free: 89.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.8631, allocations: 103.8 kB / 1.142 GB, free: 88.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/0.864, allocations: 264.8 kB / 1.142 GB, free: 88.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.864, allocations: 4 kB / 1.142 GB, free: 88.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005023/0.8691, allocations: 8.404 MB / 1.15 GB, free: 79.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8691, allocations: 3.938 kB / 1.15 GB, free: 79.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.8712, allocations: 0.956 MB / 1.151 GB, free: 78.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.8715, allocations: 180.3 kB / 1.151 GB, free: 78.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.8716, allocations: 12 kB / 1.151 GB, free: 78.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.8721, allocations: 55.94 kB / 1.151 GB, free: 78.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.8722, allocations: 39.88 kB / 1.151 GB, free: 78.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.8723, allocations: 12 kB / 1.151 GB, free: 78.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004569/0.8727, allocations: 403.1 kB / 1.152 GB, free: 77.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8727, allocations: 0 / 1.152 GB, free: 77.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001143/0.8739, allocations: 315.9 kB / 1.152 GB, free: 77.44 MB / 0.698 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.0001871/0.8741, allocations: 131.3 kB / 1.152 GB, free: 77.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.8773, allocations: 2.412 MB / 1.154 GB, free: 74.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8773, allocations: 0 / 1.154 GB, free: 74.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.8784, allocations: 1.016 MB / 1.155 GB, free: 73.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.8794, allocations: 211.1 kB / 1.156 GB, free: 73.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8818, allocations: 1.522 MB / 1.157 GB, free: 71.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.8823, allocations: 0.9742 MB / 1.158 GB, free: 70.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006283/0.8829, allocations: 157.3 kB / 1.158 GB, free: 70.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.8831, allocations: 43.44 kB / 1.158 GB, free: 70.69 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.8831, allocations: 0 / 1.158 GB, free: 70.69 MB / 0.698 GB Notification: Performance of Templates: time 0.01986/0.9029, allocations: 13.03 MB / 1.171 GB, free: 57.79 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)