Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.652/1.652, allocations: 297.8 MB / 313.8 MB, free: 64 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 184.5 kB / 384.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000791/0.0007911, allocations: 94.39 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 8.969 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.5999, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.8387, allocations: 184 MB / 1.206 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.839, allocations: 95.94 kB / 1.206 GB, free: 9.691 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.09127/0.9303, allocations: 40 MB / 1.245 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9303, allocations: 4 kB / 1.245 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.178e-05/0.9304, allocations: 20.12 kB / 1.245 GB, free: 1.66 MB / 0.8073 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.002117/0.9325, allocations: 0.9899 MB / 1.246 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9326, allocations: 8.031 kB / 1.246 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.9358, allocations: 0.6281 MB / 1.247 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.937, allocations: 0.6175 MB / 1.247 GB, free: 15.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.937, allocations: 37.69 kB / 1.247 GB, free: 15.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.9372, allocations: 48.38 kB / 1.247 GB, free: 15.24 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.939, allocations: 1.014 MB / 1.248 GB, free: 14.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.9391, allocations: 192 / 1.248 GB, free: 14.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.9391, allocations: 27.94 kB / 1.248 GB, free: 14.15 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/0.9392, allocations: 49.22 kB / 1.248 GB, free: 14.11 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.9415, allocations: 1.014 MB / 1.249 GB, free: 13.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.9456, allocations: 3.548 MB / 1.253 GB, free: 9.246 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.9469, allocations: 0.5111 MB / 1.253 GB, free: 8.727 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.9474, allocations: 241.2 kB / 1.254 GB, free: 8.488 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.9475, allocations: 12.45 kB / 1.254 GB, free: 8.477 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.9475, allocations: 42.56 kB / 1.254 GB, free: 8.426 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.9475, allocations: 0 / 1.254 GB, free: 8.426 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.006795/0.9543, allocations: 2.313 MB / 1.256 GB, free: 6.051 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.9544, allocations: 140.5 kB / 1.256 GB, free: 5.883 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.9552, allocations: 0.5704 MB / 1.257 GB, free: 5.301 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.9552, allocations: 29.7 kB / 1.257 GB, free: 5.266 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.9555, allocations: 356.2 kB / 1.257 GB, free: 4.914 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.9556, allocations: 149.8 kB / 1.257 GB, free: 4.766 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.9557, allocations: 8 kB / 1.257 GB, free: 4.758 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9559, allocations: 375.8 kB / 1.258 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.9565, allocations: 272.9 kB / 1.258 GB, free: 4.117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/0.9572, allocations: 410.3 kB / 1.258 GB, free: 3.664 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.9585, allocations: 0.6624 MB / 1.259 GB, free: 2.961 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9585, allocations: 0 / 1.259 GB, free: 2.961 MB / 0.823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002264/0.9608, allocations: 0.9777 MB / 1.26 GB, free: 1.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.9609, allocations: 180.5 kB / 1.26 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9609, allocations: 4 kB / 1.26 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.962, allocations: 272.8 kB / 1.26 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.9626, allocations: 119.8 kB / 1.26 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/0.9691, allocations: 8.472 MB / 1.269 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.9697, allocations: 56.56 kB / 1.269 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.9697, allocations: 16.06 kB / 1.269 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.9698, allocations: 8 kB / 1.269 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002164/0.9719, allocations: 1.085 MB / 1.27 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9719, allocations: 4 kB / 1.27 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/0.9727, allocations: 213.3 kB / 1.27 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.9732, allocations: 136.9 kB / 1.27 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.9787, allocations: 8.155 MB / 1.278 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.9793, allocations: 51.95 kB / 1.278 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.9793, allocations: 16 kB / 1.278 GB, free: 13.46 MB / 0.8542 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.0004141/0.9797, allocations: 317.1 kB / 1.278 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.9799, allocations: 73.22 kB / 1.278 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.9801, allocations: 78.38 kB / 1.279 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.9801, allocations: 8 kB / 1.279 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.9801, allocations: 3.938 kB / 1.279 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9801, allocations: 3.984 kB / 1.279 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.981, allocations: 0.6456 MB / 1.279 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.981, allocations: 8 kB / 1.279 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.9815, allocations: 93.08 kB / 1.279 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/0.9823, allocations: 264.8 kB / 1.28 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.9824, allocations: 7.984 kB / 1.28 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.9884, allocations: 8.403 MB / 1.288 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9884, allocations: 3.938 kB / 1.288 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.9905, allocations: 0.956 MB / 1.289 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.9908, allocations: 180.3 kB / 1.289 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.9909, allocations: 12 kB / 1.289 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.9914, allocations: 51.84 kB / 1.289 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.9915, allocations: 47.89 kB / 1.289 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.9915, allocations: 11.98 kB / 1.289 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005003/0.9921, allocations: 399.1 kB / 1.289 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.754e-06/0.9921, allocations: 0 / 1.289 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001125/0.9932, allocations: 317.9 kB / 1.29 GB, free: 0.6953 MB / 0.8542 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.0002164/0.9934, allocations: 133.7 kB / 1.29 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.9969, allocations: 2.411 MB / 1.292 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9969, allocations: 0 / 1.292 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.9982, allocations: 1.023 MB / 1.293 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.9991, allocations: 206.7 kB / 1.293 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/1.002, allocations: 1.518 MB / 1.295 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/1.002, allocations: 0.9781 MB / 1.296 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006269/1.003, allocations: 158.7 kB / 1.296 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/1.003, allocations: 47.42 kB / 1.296 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/1.003, allocations: 0 / 1.296 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of Templates: time 0.02189/1.025, allocations: 13.01 MB / 1.309 GB, free: 13.21 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)