Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009687/0.0009686, allocations: 175.2 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.5785 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 95.55 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 15.11 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6918/0.8884, allocations: 183.5 MB / 1.08 GB, free: 64.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.8887, allocations: 90.61 kB / 1.081 GB, free: 64.52 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.331/1.22, allocations: 149.3 MB / 1.226 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.296e-06/1.22, allocations: 0 / 1.226 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000498/1.22, allocations: 79.92 kB / 1.226 GB, free: 2.969 MB / 0.7136 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.01407/1.234, allocations: 4.166 MB / 1.23 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.234, allocations: 12.03 kB / 1.23 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/1.251, allocations: 3.238 MB / 1.234 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009234/1.261, allocations: 2.669 MB / 1.236 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.261, allocations: 470.3 kB / 1.237 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/1.263, allocations: 240.3 kB / 1.237 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/1.278, allocations: 4.833 MB / 1.242 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.382e-05/1.278, allocations: 3.938 kB / 1.242 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009532/1.279, allocations: 111.9 kB / 1.242 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/1.279, allocations: 148.8 kB / 1.242 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/1.293, allocations: 5.3 MB / 1.247 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/1.319, allocations: 14.86 MB / 1.262 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009841/1.329, allocations: 3.635 MB / 1.265 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.333, allocations: 1.588 MB / 1.267 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/1.333, allocations: 21.3 kB / 1.267 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004246/1.338, allocations: 1.928 MB / 1.269 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 4.749e-06/1.338, allocations: 0 / 1.269 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.1276/1.465, allocations: 34.34 MB / 1.302 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005021/1.466, allocations: 0.8944 MB / 1.303 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.471, allocations: 2.292 MB / 1.305 GB, free: 120 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005494/1.471, allocations: 81.7 kB / 1.305 GB, free: 32 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.473, allocations: 1.434 MB / 1.307 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.474, allocations: 0.8201 MB / 1.308 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.474, allocations: 48 kB / 1.308 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.475, allocations: 402.6 kB / 1.308 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.48, allocations: 2.112 MB / 1.31 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005931/1.486, allocations: 2.511 MB / 1.312 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.497, allocations: 4.536 MB / 1.317 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.497, allocations: 0 / 1.317 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0188/1.516, allocations: 6.91 MB / 1.324 GB, free: 12.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.516, allocations: 152.5 kB / 1.324 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.516, allocations: 4 kB / 1.324 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009723/1.526, allocations: 2.954 MB / 1.327 GB, free: 9.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.529, allocations: 0.5735 MB / 1.327 GB, free: 9.145 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.567, allocations: 17.33 MB / 1.344 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.572, allocations: 439.4 kB / 1.345 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/1.573, allocations: 87.97 kB / 1.345 GB, free: 7.066 MB / 0.8386 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002907/1.576, allocations: 0.7227 MB / 1.345 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.577, allocations: 328.2 kB / 1.346 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/1.579, allocations: 380.3 kB / 1.346 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/1.579, allocations: 24 kB / 1.346 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.321e-05/1.579, allocations: 19.92 kB / 1.346 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/1.579, allocations: 11.91 kB / 1.346 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007518/1.586, allocations: 3.651 MB / 1.35 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/1.586, allocations: 0 / 1.35 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.589, allocations: 0.511 MB / 1.35 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009887/1.599, allocations: 2.867 MB / 1.353 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007071/1.6, allocations: 43.98 kB / 1.353 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03803/1.638, allocations: 17.17 MB / 1.37 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.638, allocations: 0 / 1.37 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.657, allocations: 6.548 MB / 1.376 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/1.66, allocations: 0.7039 MB / 1.377 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.661, allocations: 55.98 kB / 1.377 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004297/1.666, allocations: 415.6 kB / 1.377 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/1.667, allocations: 366.6 kB / 1.378 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004379/1.668, allocations: 71.97 kB / 1.378 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003862/1.672, allocations: 1.521 MB / 1.379 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.672, allocations: 0 / 1.379 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005164/1.677, allocations: 1.062 MB / 1.38 GB, free: 2.195 MB / 0.8698 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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007292/1.678, allocations: 191.4 kB / 1.38 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.4468/2.124, allocations: 6.834 MB / 1.387 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.125, allocations: 2.844 kB / 1.387 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/2.141, allocations: 4.208 MB / 1.391 GB, free: 217 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007387/2.148, allocations: 1.036 MB / 1.392 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/2.168, allocations: 7.746 MB / 1.4 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/2.171, allocations: 2.232 MB / 1.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003559/2.175, allocations: 0.5176 MB / 1.402 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/2.175, allocations: 178.9 kB / 1.403 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/2.175, allocations: 0 / 1.403 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.1104/2.286, allocations: 72.16 MB / 1.473 GB, free: 210.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)