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="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",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.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 170.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.000767/0.000767, allocations: 86.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.994e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.844, allocations: 174 MB / 1.062 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.8444, allocations: 91.62 kB / 1.062 GB, free: 11.27 MB / 0.6823 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.08796/0.9324, allocations: 36.8 MB / 1.098 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9324, allocations: 0 / 1.098 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.576e-05/0.9325, allocations: 27.94 kB / 1.098 GB, free: 12.09 MB / 0.7136 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.001476/0.9339, allocations: 0.8918 MB / 1.099 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.934, allocations: 12.03 kB / 1.099 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/0.9373, allocations: 0.6233 MB / 1.099 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.9385, allocations: 0.5831 MB / 1.1 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.9385, allocations: 41.25 kB / 1.1 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.9386, allocations: 51.98 kB / 1.1 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.94, allocations: 0.8695 MB / 1.101 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.9401, allocations: 3.984 kB / 1.101 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.9401, allocations: 23.98 kB / 1.101 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.9402, allocations: 41.3 kB / 1.101 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.9413, allocations: 0.7313 MB / 1.102 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.9454, allocations: 3.555 MB / 1.105 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.9462, allocations: 388.4 kB / 1.105 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.9465, allocations: 180.7 kB / 1.106 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.9465, allocations: 4 kB / 1.106 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.9466, allocations: 38.56 kB / 1.106 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.9466, allocations: 0 / 1.106 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0046/0.9512, allocations: 1.595 MB / 1.107 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.9513, allocations: 140.5 kB / 1.107 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.9519, allocations: 495.5 kB / 1.108 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.952, allocations: 41.64 kB / 1.108 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.9522, allocations: 356.1 kB / 1.108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.9524, allocations: 149.8 kB / 1.108 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.9524, allocations: 12 kB / 1.108 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9526, allocations: 378.7 kB / 1.109 GB, free: 404 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.9529, allocations: 185.1 kB / 1.109 GB, free: 216 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.9533, allocations: 312.5 kB / 1.109 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.9536, allocations: 225.5 kB / 1.109 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9536, allocations: 3.938 kB / 1.109 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001456/0.9551, allocations: 0.7912 MB / 1.11 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/0.9556, allocations: 1.217 MB / 1.111 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.9556, allocations: 4 kB / 1.111 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/0.9565, allocations: 253 kB / 1.112 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.9571, allocations: 127.8 kB / 1.112 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.9613, allocations: 5.901 MB / 1.117 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.962, allocations: 56.02 kB / 1.118 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.9621, allocations: 19.98 kB / 1.118 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.9621, allocations: 4 kB / 1.118 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/0.9636, allocations: 0.9091 MB / 1.118 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9636, allocations: 4 kB / 1.118 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.9643, allocations: 205.3 kB / 1.119 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.9649, allocations: 135.8 kB / 1.119 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.971, allocations: 8.098 MB / 1.127 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.9718, allocations: 60.02 kB / 1.127 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.9718, allocations: 23.97 kB / 1.127 GB, free: 12.33 MB / 0.7448 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 () * 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.0002219/0.9721, allocations: 140.8 kB / 1.127 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.9722, allocations: 71.25 kB / 1.127 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.9724, allocations: 78.16 kB / 1.127 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9724, allocations: 4 kB / 1.127 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.9724, allocations: 4 kB / 1.127 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9724, allocations: 3.984 kB / 1.127 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/0.9733, allocations: 0.6454 MB / 1.128 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9733, allocations: 3.938 kB / 1.128 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.9738, allocations: 99.92 kB / 1.128 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/0.9746, allocations: 248.9 kB / 1.128 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.9747, allocations: 4 kB / 1.128 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00593/0.9806, allocations: 8.358 MB / 1.136 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9806, allocations: 3.984 kB / 1.136 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.9821, allocations: 0.7766 MB / 1.137 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.9825, allocations: 188.3 kB / 1.137 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.9826, allocations: 12.19 kB / 1.137 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.9831, allocations: 47.95 kB / 1.137 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.9832, allocations: 55.81 kB / 1.137 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.9832, allocations: 8 kB / 1.137 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000526/0.9838, allocations: 399.2 kB / 1.138 GB, free: 288 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9838, allocations: 0 / 1.138 GB, free: 288 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0011/0.9849, allocations: 296 kB / 1.138 GB, free: 15.99 MB / 0.7605 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 () * 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.0002497/0.9852, allocations: 123.1 kB / 1.138 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.9876, allocations: 1.837 MB / 1.14 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9876, allocations: 0 / 1.14 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.9886, allocations: 0.9412 MB / 1.141 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.9895, allocations: 201.6 kB / 1.141 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.9912, allocations: 0.8981 MB / 1.142 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.9918, allocations: 0.9907 MB / 1.143 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.9925, allocations: 189.3 kB / 1.143 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.9926, allocations: 39.42 kB / 1.143 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.9926, allocations: 0 / 1.143 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.02086/1.013, allocations: 13.22 MB / 1.156 GB, free: 13.42 MB / 0.7761 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)