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.616/1.616, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.0009651/0.0009654, allocations: 176.5 kB / 373 MB, free: 10.16 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.62/1.62, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.001076/0.001076, allocations: 86.28 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 16.16 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7611/0.9941, allocations: 189.8 MB / 1.166 GB, free: 9.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/0.9946, allocations: 92.36 kB / 1.166 GB, free: 9.375 MB / 0.698 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.3615/1.356, allocations: 147.7 MB / 1.31 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.525e-06/1.356, allocations: 0 / 1.31 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002715/1.356, allocations: 83.92 kB / 1.31 GB, free: 14.99 MB / 0.8386 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.01006/1.366, allocations: 3.901 MB / 1.314 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.367, allocations: 12.03 kB / 1.314 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/1.384, allocations: 3.215 MB / 1.317 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006395/1.39, allocations: 2.415 MB / 1.32 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/1.39, allocations: 185.1 kB / 1.32 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006568/1.391, allocations: 228.4 kB / 1.32 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/1.402, allocations: 4.712 MB / 1.325 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/1.402, allocations: 192 / 1.325 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/1.402, allocations: 111.9 kB / 1.325 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/1.403, allocations: 148.8 kB / 1.325 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.417, allocations: 5.214 MB / 1.33 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/1.44, allocations: 14.38 MB / 1.344 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.451, allocations: 3.799 MB / 1.348 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/1.455, allocations: 1.514 MB / 1.349 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.455, allocations: 29.28 kB / 1.349 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003988/1.459, allocations: 1.819 MB / 1.351 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.797e-06/1.459, allocations: 0 / 1.351 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.128/1.587, allocations: 33.64 MB / 1.384 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004225/1.588, allocations: 0.8944 MB / 1.385 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.592, allocations: 2.289 MB / 1.387 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000556/1.593, allocations: 77.7 kB / 1.387 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/1.594, allocations: 1.434 MB / 1.389 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1.595, allocations: 0.824 MB / 1.389 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.595, allocations: 44 kB / 1.389 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.596, allocations: 398.7 kB / 1.39 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/1.601, allocations: 1.925 MB / 1.392 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/1.606, allocations: 2.324 MB / 1.394 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.616, allocations: 4.212 MB / 1.398 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.616, allocations: 0 / 1.398 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01709/1.633, allocations: 6.192 MB / 1.404 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/1.633, allocations: 395.6 kB / 1.404 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/1.633, allocations: 8 kB / 1.405 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/1.64, allocations: 1.852 MB / 1.406 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/1.643, allocations: 0.5891 MB / 1.407 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/1.669, allocations: 14.15 MB / 1.421 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.674, allocations: 419.5 kB / 1.421 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/1.674, allocations: 92.06 kB / 1.421 GB, free: 10.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.674, allocations: 7.938 kB / 1.421 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01624/1.69, allocations: 5.769 MB / 1.427 GB, free: 4.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.69, allocations: 4 kB / 1.427 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005469/1.696, allocations: 1.829 MB / 1.429 GB, free: 3.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/1.699, allocations: 0.6085 MB / 1.429 GB, free: 2.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4955/2.195, allocations: 13.42 MB / 1.442 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/2.199, allocations: 413.1 kB / 1.443 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/2.199, allocations: 91.48 kB / 1.443 GB, free: 249.9 MB / 0.948 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 () * Number of clocked 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.001789/2.201, allocations: 0.7932 MB / 1.444 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/2.202, allocations: 337.3 kB / 1.444 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/2.202, allocations: 395 kB / 1.444 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/2.202, allocations: 24.28 kB / 1.444 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.045e-05/2.202, allocations: 9.469 kB / 1.444 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/2.202, allocations: 14.42 kB / 1.444 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/2.207, allocations: 3.182 MB / 1.447 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/2.207, allocations: 0.5625 kB / 1.447 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/2.21, allocations: 0.5213 MB / 1.448 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006335/2.216, allocations: 1.723 MB / 1.45 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000462/2.217, allocations: 49.78 kB / 1.45 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/2.238, allocations: 13.94 MB / 1.463 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.238, allocations: 0.75 kB / 1.463 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/2.253, allocations: 5.791 MB / 1.469 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/2.255, allocations: 0.6718 MB / 1.47 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006716/2.255, allocations: 51.72 kB / 1.47 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/2.258, allocations: 411.5 kB / 1.47 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/2.26, allocations: 304.2 kB / 1.47 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/2.26, allocations: 72.28 kB / 1.47 GB, free: 246 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002559/2.262, allocations: 1.526 MB / 1.472 GB, free: 245.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/2.262, allocations: 0 / 1.472 GB, free: 245.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007152/2.269, allocations: 1.653 MB / 1.474 GB, free: 245.9 MB / 0.948 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) * Number of clocked states: 0 () * 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.0006059/2.27, allocations: 186.8 kB / 1.474 GB, free: 245.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0228/2.293, allocations: 10.1 MB / 1.484 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.293, allocations: 3.844 kB / 1.484 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007667/2.301, allocations: 3.499 MB / 1.487 GB, free: 243.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/2.305, allocations: 1.031 MB / 1.488 GB, free: 243.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/2.318, allocations: 7.575 MB / 1.495 GB, free: 240.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/2.32, allocations: 2.31 MB / 1.498 GB, free: 240.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003391/2.324, allocations: 0.6369 MB / 1.498 GB, free: 240.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/2.324, allocations: 186.8 kB / 1.498 GB, free: 240.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/2.324, allocations: 0 / 1.498 GB, free: 240.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1033/2.428, allocations: 76.25 MB / 1.573 GB, free: 222.4 MB / 0.948 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)