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.982/1.982, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.001204/0.001204, allocations: 191.5 kB / 371.8 MB, free: 10.25 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.847/1.847, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001054/0.001054, allocations: 98.38 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004454, allocations: 10.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8201/1.069, allocations: 189.7 MB / 1.165 GB, free: 9.699 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.069, allocations: 106.3 kB / 1.165 GB, free: 9.637 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.3809/1.45, allocations: 148 MB / 1.309 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.663e-06/1.45, allocations: 3.984 kB / 1.309 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006151/1.451, allocations: 83.94 kB / 1.309 GB, free: 15.05 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.0134/1.465, allocations: 3.936 MB / 1.313 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.465, allocations: 16.02 kB / 1.313 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/1.482, allocations: 3.218 MB / 1.316 GB, free: 7.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/1.489, allocations: 2.315 MB / 1.319 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/1.489, allocations: 176.7 kB / 1.319 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/1.491, allocations: 240.6 kB / 1.319 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/1.503, allocations: 4.677 MB / 1.324 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/1.503, allocations: 7.891 kB / 1.324 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/1.504, allocations: 104 kB / 1.324 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/1.504, allocations: 144.8 kB / 1.324 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/1.52, allocations: 5.218 MB / 1.329 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/1.546, allocations: 14.38 MB / 1.343 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.556, allocations: 3.775 MB / 1.347 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/1.557, allocations: 29.27 kB / 1.347 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0043/1.561, allocations: 1.82 MB / 1.349 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.887e-06/1.561, allocations: 0 / 1.349 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1257/1.687, allocations: 33.52 MB / 1.381 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004487/1.687, allocations: 0.8983 MB / 1.382 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.691, allocations: 1.985 MB / 1.384 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006658/1.692, allocations: 85.69 kB / 1.384 GB, free: 488 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.693, allocations: 1.43 MB / 1.386 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.694, allocations: 0.8201 MB / 1.386 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/1.695, allocations: 48 kB / 1.386 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.695, allocations: 394.6 kB / 1.387 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005034/1.7, allocations: 1.929 MB / 1.389 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/1.706, allocations: 2.316 MB / 1.391 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005562/1.711, allocations: 2.145 MB / 1.393 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/1.711, allocations: 4 kB / 1.393 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.017/1.728, allocations: 6.115 MB / 1.399 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.729, allocations: 2.455 MB / 1.401 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.729, allocations: 8 kB / 1.401 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/1.736, allocations: 1.797 MB / 1.403 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/1.739, allocations: 0.5852 MB / 1.404 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/1.754, allocations: 9.525 MB / 1.413 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.758, allocations: 419.4 kB / 1.413 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005998/1.759, allocations: 91.97 kB / 1.413 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.759, allocations: 4.625 kB / 1.413 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01467/1.773, allocations: 5.722 MB / 1.419 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.773, allocations: 11.95 kB / 1.419 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/1.778, allocations: 1.798 MB / 1.421 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/1.782, allocations: 0.6163 MB / 1.421 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4568/2.239, allocations: 14 MB / 1.435 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/2.243, allocations: 413.4 kB / 1.436 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/2.244, allocations: 95.91 kB / 1.436 GB, free: 252.4 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.002188/2.246, allocations: 0.7863 MB / 1.436 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009052/2.247, allocations: 334.9 kB / 1.437 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/2.248, allocations: 391.1 kB / 1.437 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/2.248, allocations: 26.81 kB / 1.437 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.825e-05/2.248, allocations: 10.92 kB / 1.437 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/2.248, allocations: 16.39 kB / 1.437 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/2.253, allocations: 3.182 MB / 1.44 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/2.253, allocations: 0.5156 kB / 1.44 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/2.256, allocations: 0.5187 MB / 1.441 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00654/2.262, allocations: 1.695 MB / 1.442 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004604/2.263, allocations: 49.64 kB / 1.442 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/2.285, allocations: 14.55 MB / 1.457 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.285, allocations: 0.6562 kB / 1.457 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/2.301, allocations: 5.76 MB / 1.462 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/2.302, allocations: 0.669 MB / 1.463 GB, free: 248.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006272/2.303, allocations: 46.44 kB / 1.463 GB, free: 248.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/2.306, allocations: 413.4 kB / 1.463 GB, free: 248.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/2.307, allocations: 307.3 kB / 1.464 GB, free: 248.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/2.308, allocations: 75.91 kB / 1.464 GB, free: 248.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002764/2.31, allocations: 1.523 MB / 1.465 GB, free: 248.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/2.31, allocations: 0 / 1.465 GB, free: 248.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005258/2.316, allocations: 1.587 MB / 1.467 GB, free: 248.5 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.0004586/2.316, allocations: 188.9 kB / 1.467 GB, free: 248.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02116/2.337, allocations: 9.701 MB / 1.476 GB, free: 247 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/2.337, allocations: 3.875 kB / 1.476 GB, free: 247 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007447/2.345, allocations: 3.498 MB / 1.48 GB, free: 246.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/2.349, allocations: 1.02 MB / 1.481 GB, free: 246.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/2.361, allocations: 7.56 MB / 1.488 GB, free: 243.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/2.362, allocations: 2.325 MB / 1.49 GB, free: 242.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003012/2.365, allocations: 0.641 MB / 1.491 GB, free: 242.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/2.366, allocations: 185.4 kB / 1.491 GB, free: 242.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.061e-06/2.366, allocations: 0 / 1.491 GB, free: 242.9 MB / 0.948 GB Notification: Performance of Templates: time 0.09222/2.458, allocations: 72.5 MB / 1.562 GB, free: 231.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)