Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 7.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 180.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 0.6317 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 98.8 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 11.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7714/0.9951, allocations: 180.5 MB / 1.157 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.9954, allocations: 90.62 kB / 1.157 GB, free: 2.27 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.08584/1.081, allocations: 36.92 MB / 1.193 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/1.081, allocations: 0 / 1.193 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.516e-05/1.081, allocations: 19.94 kB / 1.193 GB, free: 3.477 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.001853/1.083, allocations: 0.9975 MB / 1.194 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.083, allocations: 8.031 kB / 1.194 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/1.087, allocations: 0.6271 MB / 1.195 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/1.088, allocations: 0.6073 MB / 1.195 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/1.088, allocations: 43.3 kB / 1.195 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/1.088, allocations: 45.94 kB / 1.195 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/1.09, allocations: 1.02 MB / 1.196 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.09, allocations: 4.188 kB / 1.196 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/1.09, allocations: 29.53 kB / 1.196 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.09, allocations: 41.05 kB / 1.196 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/1.092, allocations: 1.014 MB / 1.197 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/1.097, allocations: 3.545 MB / 1.201 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.099, allocations: 0.5116 MB / 1.201 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/1.099, allocations: 246.4 kB / 1.202 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/1.099, allocations: 11.98 kB / 1.202 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.099, allocations: 41.56 kB / 1.202 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 2.726e-06/1.099, allocations: 0 / 1.202 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.007136/1.106, allocations: 2.309 MB / 1.204 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/1.107, allocations: 136.5 kB / 1.204 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/1.107, allocations: 0.5639 MB / 1.205 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/1.107, allocations: 32.89 kB / 1.205 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.108, allocations: 352.8 kB / 1.205 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.108, allocations: 153.3 kB / 1.205 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/1.108, allocations: 5.562 kB / 1.205 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.108, allocations: 378.8 kB / 1.205 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/1.109, allocations: 275.2 kB / 1.206 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/1.11, allocations: 410.4 kB / 1.206 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/1.111, allocations: 0.6571 MB / 1.207 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.111, allocations: 0 / 1.207 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002371/1.113, allocations: 0.9745 MB / 1.208 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.114, allocations: 185.4 kB / 1.208 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.114, allocations: 4 kB / 1.208 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.115, allocations: 275.4 kB / 1.208 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/1.115, allocations: 131.4 kB / 1.208 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/1.123, allocations: 8.466 MB / 1.217 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/1.124, allocations: 60.95 kB / 1.217 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.124, allocations: 15.81 kB / 1.217 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/1.124, allocations: 4.625 kB / 1.217 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002404/1.126, allocations: 1.084 MB / 1.218 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.126, allocations: 4 kB / 1.218 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/1.127, allocations: 214.8 kB / 1.218 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/1.127, allocations: 135.6 kB / 1.218 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/1.134, allocations: 8.15 MB / 1.226 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/1.135, allocations: 53.27 kB / 1.226 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/1.135, allocations: 19.11 kB / 1.226 GB, free: 3.074 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 () * 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.0006114/1.136, allocations: 318.1 kB / 1.226 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.136, allocations: 71.09 kB / 1.226 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/1.136, allocations: 76.44 kB / 1.227 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.136, allocations: 8.141 kB / 1.227 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.136, allocations: 3.984 kB / 1.227 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.136, allocations: 3.984 kB / 1.227 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/1.137, allocations: 0.6541 MB / 1.227 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.137, allocations: 0 / 1.227 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/1.137, allocations: 95.84 kB / 1.227 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009549/1.138, allocations: 257.4 kB / 1.228 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/1.138, allocations: 10.98 kB / 1.228 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/1.145, allocations: 8.412 MB / 1.236 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.145, allocations: 3.938 kB / 1.236 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.147, allocations: 0.9632 MB / 1.237 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/1.148, allocations: 182 kB / 1.237 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/1.148, allocations: 11.69 kB / 1.237 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/1.148, allocations: 51.44 kB / 1.237 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.148, allocations: 43.52 kB / 1.237 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/1.148, allocations: 15.73 kB / 1.237 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005377/1.149, allocations: 395 kB / 1.237 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.149, allocations: 0 / 1.237 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001144/1.15, allocations: 308.3 kB / 1.238 GB, free: 7.461 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 () * 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.0002196/1.15, allocations: 136.7 kB / 1.238 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003818/1.154, allocations: 2.403 MB / 1.24 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.154, allocations: 0 / 1.24 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.156, allocations: 1.018 MB / 1.241 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.157, allocations: 212 kB / 1.241 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/1.159, allocations: 1.516 MB / 1.243 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/1.16, allocations: 0.9859 MB / 1.244 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006336/1.161, allocations: 157.3 kB / 1.244 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.161, allocations: 43.42 kB / 1.244 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/1.161, allocations: 3.938 kB / 1.244 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of Templates: time 0.02334/1.184, allocations: 13.03 MB / 1.257 GB, free: 4.215 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)