Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 285.4 MB / 298 MB, free: 5.977 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.001203/0.001203, allocations: 176.8 kB / 366.4 MB, free: 2.07 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.349/1.349, allocations: 205.1 MB / 0.6248 GB, free: 7.715 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00081/0.0008101, allocations: 89.41 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.889e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.58, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/0.7978, allocations: 189.6 MB / 1.156 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.7981, allocations: 91.94 kB / 1.156 GB, free: 9.953 MB / 0.7605 GB [/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.8981/1.696, allocations: 147.5 MB / 1.3 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.764e-06/1.696, allocations: 1.594 kB / 1.3 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004468/1.697, allocations: 74.78 kB / 1.3 GB, free: 195.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01182/1.709, allocations: 3.427 MB / 1.304 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.709, allocations: 9.906 kB / 1.304 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/1.726, allocations: 3.206 MB / 1.307 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008236/1.735, allocations: 2.301 MB / 1.309 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/1.735, allocations: 180.3 kB / 1.309 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.736, allocations: 233.1 kB / 1.309 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/1.747, allocations: 3.817 MB / 1.313 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/1.747, allocations: 3.406 kB / 1.313 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008369/1.748, allocations: 108.7 kB / 1.313 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/1.749, allocations: 141.5 kB / 1.313 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/1.755, allocations: 3.539 MB / 1.317 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02261/1.778, allocations: 14.38 MB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006856/1.785, allocations: 2.832 MB / 1.334 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/1.786, allocations: 1.043 MB / 1.335 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/1.787, allocations: 29.41 kB / 1.335 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/1.789, allocations: 1.362 MB / 1.336 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.67e-06/1.789, allocations: 0 / 1.336 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.1066/1.895, allocations: 28.98 MB / 1.364 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003211/1.896, allocations: 0.8988 MB / 1.365 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/1.9, allocations: 1.949 MB / 1.367 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005023/1.901, allocations: 80.67 kB / 1.367 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.902, allocations: 1.433 MB / 1.369 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008889/1.903, allocations: 0.8282 MB / 1.369 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.903, allocations: 48 kB / 1.369 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.904, allocations: 398.3 kB / 1.37 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.905, allocations: 1.254 MB / 1.371 GB, free: 170 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/1.908, allocations: 1.651 MB / 1.373 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.91, allocations: 1.476 MB / 1.374 GB, free: 167 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.91, allocations: 7.828 kB / 1.374 GB, free: 167 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009147/1.919, allocations: 4.766 MB / 1.379 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007103/1.92, allocations: 2.458 MB / 1.381 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.92, allocations: 4 kB / 1.381 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/1.925, allocations: 1.758 MB / 1.383 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/1.928, allocations: 0.5891 MB / 1.383 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.94, allocations: 9.047 MB / 1.392 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/1.945, allocations: 415.6 kB / 1.393 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000564/1.946, allocations: 87.97 kB / 1.393 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.946, allocations: 7.953 kB / 1.393 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008405/1.954, allocations: 4.372 MB / 1.397 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.954, allocations: 4 kB / 1.397 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/1.958, allocations: 1.763 MB / 1.399 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.961, allocations: 0.6163 MB / 1.399 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/1.98, allocations: 13.26 MB / 1.412 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.984, allocations: 415.5 kB / 1.413 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/1.985, allocations: 89.84 kB / 1.413 GB, free: 126.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0009571/1.986, allocations: 263.9 kB / 1.413 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/1.987, allocations: 336.1 kB / 1.413 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.988, allocations: 392 kB / 1.414 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.988, allocations: 24 kB / 1.414 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/1.988, allocations: 8 kB / 1.414 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/1.988, allocations: 15.95 kB / 1.414 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/1.994, allocations: 3.179 MB / 1.417 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.994, allocations: 0 / 1.417 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.996, allocations: 0.5266 MB / 1.417 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005421/2.002, allocations: 1.657 MB / 1.419 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/2.002, allocations: 55.8 kB / 1.419 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/2.021, allocations: 13.74 MB / 1.433 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.021, allocations: 0 / 1.433 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009035/2.03, allocations: 4.41 MB / 1.437 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/2.033, allocations: 0.6687 MB / 1.438 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.034, allocations: 51.28 kB / 1.438 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00386/2.038, allocations: 411.5 kB / 1.438 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009218/2.039, allocations: 314.5 kB / 1.438 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/2.039, allocations: 63.98 kB / 1.438 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002906/2.042, allocations: 1.494 MB / 1.44 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.61e-07/2.042, allocations: 0 / 1.44 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00616/2.049, allocations: 1.582 MB / 1.441 GB, free: 97.23 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005641/2.049, allocations: 181.7 kB / 1.441 GB, free: 97.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.063, allocations: 7.721 MB / 1.449 GB, free: 89.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.063, allocations: 4.25 kB / 1.449 GB, free: 89.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/2.068, allocations: 2.794 MB / 1.452 GB, free: 86.33 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005971/2.074, allocations: 1.011 MB / 1.453 GB, free: 85.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/2.086, allocations: 4.905 MB / 1.458 GB, free: 80.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/2.089, allocations: 2.337 MB / 1.46 GB, free: 78.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004165/2.093, allocations: 0.7622 MB / 1.461 GB, free: 77.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/2.094, allocations: 151.4 kB / 1.461 GB, free: 77.22 MB / 0.8542 GB Notification: Performance of SimCode: time 1.633e-06/2.094, allocations: 0 / 1.461 GB, free: 77.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.1059/2.199, allocations: 76.81 MB / 1.536 GB, free: 1.57 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)