Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.504/2.504, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001406/0.001406, allocations: 186.1 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.000935/0.0009345, allocations: 95.48 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 10.62 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.262, allocations: 189.6 MB / 1.164 GB, free: 10.95 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.262, allocations: 97.75 kB / 1.164 GB, free: 10.89 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.6212/1.883, allocations: 147.7 MB / 1.309 GB, free: 0.668 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.035e-06/1.883, allocations: 0 / 1.309 GB, free: 0.668 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004915/1.884, allocations: 83.92 kB / 1.309 GB, free: 0.5859 MB / 0.823 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.0158/1.9, allocations: 3.912 MB / 1.313 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.9, allocations: 8.031 kB / 1.313 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/1.928, allocations: 3.219 MB / 1.316 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/1.938, allocations: 2.419 MB / 1.318 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/1.938, allocations: 181.1 kB / 1.318 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/1.94, allocations: 228.4 kB / 1.319 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/1.964, allocations: 4.708 MB / 1.323 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/1.965, allocations: 8.125 kB / 1.323 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007012/1.965, allocations: 103.9 kB / 1.323 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/1.966, allocations: 144.8 kB / 1.323 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/1.992, allocations: 5.214 MB / 1.329 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03934/2.031, allocations: 14.38 MB / 1.343 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/2.053, allocations: 3.803 MB / 1.346 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006891/2.06, allocations: 1.518 MB / 1.348 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/2.06, allocations: 25.28 kB / 1.348 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007412/2.067, allocations: 1.827 MB / 1.35 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.749e-06/2.067, allocations: 0 / 1.35 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.2779/2.345, allocations: 33.61 MB / 1.382 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007029/2.346, allocations: 0.9022 MB / 1.383 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008005/2.354, allocations: 2.285 MB / 1.386 GB, free: 36 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/2.355, allocations: 81.78 kB / 1.386 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002988/2.358, allocations: 1.434 MB / 1.387 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/2.36, allocations: 0.8278 MB / 1.388 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/2.361, allocations: 48 kB / 1.388 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003677/2.361, allocations: 406.5 kB / 1.388 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01404/2.375, allocations: 1.917 MB / 1.39 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01384/2.389, allocations: 2.336 MB / 1.392 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01983/2.409, allocations: 4.201 MB / 1.396 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/2.409, allocations: 4 kB / 1.396 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03163/2.441, allocations: 6.188 MB / 1.403 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003541/2.441, allocations: 403.3 kB / 1.403 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/2.441, allocations: 4 kB / 1.403 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/2.453, allocations: 1.844 MB / 1.405 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005738/2.459, allocations: 0.5891 MB / 1.405 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04493/2.504, allocations: 14.16 MB / 1.419 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007096/2.511, allocations: 415.5 kB / 1.42 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/2.512, allocations: 91.97 kB / 1.42 GB, free: 12.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/2.512, allocations: 6.5 kB / 1.42 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0278/2.54, allocations: 5.765 MB / 1.425 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/2.54, allocations: 8 kB / 1.425 GB, free: 6.496 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009855/2.55, allocations: 1.825 MB / 1.427 GB, free: 4.664 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/2.555, allocations: 0.6163 MB / 1.428 GB, free: 4.047 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7568/3.312, allocations: 13.42 MB / 1.441 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009214/3.322, allocations: 413.2 kB / 1.441 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/3.323, allocations: 91.64 kB / 1.441 GB, free: 249.7 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.003928/3.327, allocations: 0.7877 MB / 1.442 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/3.328, allocations: 337.4 kB / 1.442 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/3.33, allocations: 396.1 kB / 1.443 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/3.33, allocations: 26.83 kB / 1.443 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-05/3.33, allocations: 8.703 kB / 1.443 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/3.33, allocations: 17.89 kB / 1.443 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/3.342, allocations: 3.181 MB / 1.446 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.235e-05/3.342, allocations: 0.7812 kB / 1.446 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007028/3.349, allocations: 0.5205 MB / 1.446 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01639/3.365, allocations: 1.728 MB / 1.448 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008053/3.366, allocations: 47.58 kB / 1.448 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05841/3.425, allocations: 13.93 MB / 1.462 GB, free: 246.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/3.425, allocations: 7.656 kB / 1.462 GB, free: 246.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04127/3.466, allocations: 5.791 MB / 1.467 GB, free: 246.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003898/3.47, allocations: 0.6647 MB / 1.468 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/3.472, allocations: 55.58 kB / 1.468 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009037/3.481, allocations: 415.7 kB / 1.468 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/3.484, allocations: 308.1 kB / 1.469 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009201/3.485, allocations: 72.34 kB / 1.469 GB, free: 245.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006316/3.491, allocations: 1.518 MB / 1.47 GB, free: 245.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.162e-06/3.491, allocations: 0 / 1.47 GB, free: 245.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01185/3.503, allocations: 1.656 MB / 1.472 GB, free: 245.8 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.001212/3.504, allocations: 184.2 kB / 1.472 GB, free: 245.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.05725/3.561, allocations: 10.1 MB / 1.482 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/3.562, allocations: 3.625 kB / 1.482 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02043/3.582, allocations: 3.496 MB / 1.485 GB, free: 243.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/3.594, allocations: 1.036 MB / 1.486 GB, free: 243.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/3.626, allocations: 7.569 MB / 1.494 GB, free: 240.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004789/3.631, allocations: 2.31 MB / 1.496 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007751/3.639, allocations: 0.6301 MB / 1.497 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/3.641, allocations: 187.3 kB / 1.497 GB, free: 240 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/3.641, allocations: 0 / 1.497 GB, free: 240 MB / 0.948 GB Notification: Performance of Templates: time 0.2416/3.883, allocations: 75.42 MB / 1.57 GB, free: 224.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)