Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.00101/0.00101, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.385/1.385, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008118/0.000812, allocations: 73.3 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.539e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6408, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.8669, allocations: 189.9 MB / 1.159 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.8672, allocations: 95.94 kB / 1.159 GB, free: 8.109 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.8363/1.704, allocations: 146.5 MB / 1.302 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.154e-06/1.704, allocations: 0 / 1.302 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005131/1.704, allocations: 75.61 kB / 1.302 GB, free: 194.4 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.01277/1.717, allocations: 3.422 MB / 1.305 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.717, allocations: 12.84 kB / 1.305 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/1.735, allocations: 3.201 MB / 1.308 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008578/1.743, allocations: 2.296 MB / 1.311 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/1.743, allocations: 80.64 kB / 1.311 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/1.745, allocations: 136.5 kB / 1.311 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008431/1.753, allocations: 3.385 MB / 1.314 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/1.763, allocations: 3.482 MB / 1.318 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/1.763, allocations: 0 / 1.318 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009267/1.764, allocations: 7.969 kB / 1.318 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.764, allocations: 157.4 kB / 1.318 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/1.785, allocations: 13.85 MB / 1.331 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/1.791, allocations: 2.753 MB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.792, allocations: 1.001 MB / 1.335 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/1.792, allocations: 39.19 kB / 1.335 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/1.794, allocations: 1.298 MB / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.027e-06/1.794, allocations: 0 / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01588/1.81, allocations: 7.546 MB / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/1.81, allocations: 0.9003 MB / 1.344 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/1.812, allocations: 1.564 MB / 1.346 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.813, allocations: 37.02 kB / 1.346 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.814, allocations: 1.445 MB / 1.347 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005513/1.814, allocations: 0.7863 MB / 1.348 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.814, allocations: 0 / 1.348 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.814, allocations: 395.1 kB / 1.349 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/1.816, allocations: 1.205 MB / 1.35 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.818, allocations: 1.582 MB / 1.351 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.819, allocations: 1.288 MB / 1.353 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.819, allocations: 3.281 kB / 1.353 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007353/1.827, allocations: 4.373 MB / 1.357 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004492/1.827, allocations: 2.419 MB / 1.359 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.827, allocations: 7.469 kB / 1.359 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/1.832, allocations: 1.606 MB / 1.361 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/1.835, allocations: 0.5928 MB / 1.361 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.845, allocations: 8.99 MB / 1.37 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/1.849, allocations: 367 kB / 1.371 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/1.85, allocations: 92.22 kB / 1.371 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.85, allocations: 3.812 kB / 1.371 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005987/1.856, allocations: 3.673 MB / 1.374 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.856, allocations: 4.031 kB / 1.374 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/1.859, allocations: 1.408 MB / 1.376 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/1.861, allocations: 0.6345 MB / 1.376 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.875, allocations: 11.77 MB / 1.388 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/1.879, allocations: 361.4 kB / 1.388 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.88, allocations: 94.38 kB / 1.388 GB, free: 150.4 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.0005787/1.88, allocations: 170.4 kB / 1.388 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/1.881, allocations: 304.4 kB / 1.389 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/1.881, allocations: 341.8 kB / 1.389 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.882, allocations: 24 kB / 1.389 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/1.882, allocations: 8 kB / 1.389 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.882, allocations: 22.34 kB / 1.389 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/1.885, allocations: 2.8 MB / 1.392 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.885, allocations: 0 / 1.392 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.887, allocations: 0.5239 MB / 1.392 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004471/1.891, allocations: 1.63 MB / 1.394 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/1.892, allocations: 14.8 kB / 1.394 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.906, allocations: 13.34 MB / 1.407 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.906, allocations: 4 kB / 1.407 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/1.914, allocations: 4.178 MB / 1.411 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.915, allocations: 0.6379 MB / 1.412 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/1.916, allocations: 10.91 kB / 1.412 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/1.918, allocations: 363.6 kB / 1.412 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007078/1.919, allocations: 310.6 kB / 1.412 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.919, allocations: 71.97 kB / 1.412 GB, free: 127 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001414/1.921, allocations: 1.161 MB / 1.413 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/1.921, allocations: 0 / 1.413 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003745/1.924, allocations: 1.402 MB / 1.415 GB, free: 124.4 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.0003825/1.925, allocations: 146.2 kB / 1.415 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.936, allocations: 7.362 MB / 1.422 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.936, allocations: 4 kB / 1.422 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004125/1.94, allocations: 2.668 MB / 1.425 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.944, allocations: 0.8743 MB / 1.426 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/1.953, allocations: 4.776 MB / 1.43 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.954, allocations: 2.323 MB / 1.432 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003388/1.958, allocations: 0.7208 MB / 1.433 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/1.958, allocations: 139.4 kB / 1.433 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.064e-06/1.958, allocations: 0 / 1.433 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.09237/2.051, allocations: 69.3 MB / 1.501 GB, free: 36.97 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)