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="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",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.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 184.8 kB / 316.3 MB, free: 3.25 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.322/1.322, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0007651/0.000765, allocations: 86.53 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.404e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7371/0.9214, allocations: 183.7 MB / 1.065 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.9217, allocations: 94.3 kB / 1.065 GB, free: 5.035 MB / 0.6823 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.3625/1.284, allocations: 148.1 MB / 1.209 GB, free: 8.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/1.284, allocations: 0 / 1.209 GB, free: 8.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002436/1.285, allocations: 83.86 kB / 1.209 GB, free: 8.25 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.0101/1.295, allocations: 3.687 MB / 1.213 GB, free: 4.461 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.295, allocations: 12.03 kB / 1.213 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/1.312, allocations: 3.206 MB / 1.216 GB, free: 1.234 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007662/1.32, allocations: 2.558 MB / 1.219 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/1.32, allocations: 385.5 kB / 1.219 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000961/1.321, allocations: 144 kB / 1.219 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005825/1.327, allocations: 3.45 MB / 1.223 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/1.333, allocations: 3.591 MB / 1.226 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/1.333, allocations: 0 / 1.226 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/1.333, allocations: 4 kB / 1.226 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/1.334, allocations: 148.8 kB / 1.226 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/1.356, allocations: 14.34 MB / 1.24 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/1.362, allocations: 2.609 MB / 1.243 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.363, allocations: 1.065 MB / 1.244 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/1.364, allocations: 21.3 kB / 1.244 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/1.365, allocations: 1.383 MB / 1.245 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.266e-06/1.366, allocations: 0 / 1.245 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02096/1.386, allocations: 8.49 MB / 1.253 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004973/1.387, allocations: 0.8983 MB / 1.254 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/1.39, allocations: 1.571 MB / 1.256 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/1.39, allocations: 33.7 kB / 1.256 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.391, allocations: 1.443 MB / 1.257 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/1.392, allocations: 0.7889 MB / 1.258 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/1.392, allocations: 0 / 1.258 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.393, allocations: 394.7 kB / 1.258 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/1.395, allocations: 1.367 MB / 1.26 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/1.397, allocations: 1.734 MB / 1.261 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4897/1.887, allocations: 1.418 MB / 1.263 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/1.887, allocations: 1.438 kB / 1.263 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01389/1.901, allocations: 5.08 MB / 1.268 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/1.901, allocations: 147.8 kB / 1.268 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/1.901, allocations: 9.656 kB / 1.268 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.911, allocations: 2.791 MB / 1.271 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/1.914, allocations: 0.5736 MB / 1.271 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/1.949, allocations: 16.4 MB / 1.287 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/1.953, allocations: 379.8 kB / 1.288 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/1.954, allocations: 90.08 kB / 1.288 GB, free: 222.7 MB / 0.8698 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 (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.0006356/1.954, allocations: 153.6 kB / 1.288 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/1.955, allocations: 306.5 kB / 1.288 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/1.956, allocations: 327.4 kB / 1.288 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/1.956, allocations: 23.72 kB / 1.288 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/1.956, allocations: 9.688 kB / 1.288 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/1.956, allocations: 15.64 kB / 1.288 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/1.962, allocations: 3.281 MB / 1.292 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.962, allocations: 0 / 1.292 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.964, allocations: 0.5052 MB / 1.292 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009012/1.973, allocations: 2.762 MB / 1.295 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/1.974, allocations: 15.88 kB / 1.295 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03063/2.004, allocations: 16.41 MB / 1.311 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.004, allocations: 0 / 1.311 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/2.015, allocations: 4.9 MB / 1.316 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/2.016, allocations: 0.6755 MB / 1.316 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000568/2.017, allocations: 7.625 kB / 1.316 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/2.02, allocations: 376.3 kB / 1.317 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/2.021, allocations: 364.9 kB / 1.317 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/2.021, allocations: 73.73 kB / 1.317 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001485/2.023, allocations: 1.158 MB / 1.318 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.023, allocations: 0 / 1.318 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003184/2.026, allocations: 0.9455 MB / 1.319 GB, free: 217.9 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) * 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.0004204/2.026, allocations: 145.6 kB / 1.319 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01804/2.044, allocations: 5.2 MB / 1.324 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.036e-06/2.044, allocations: 3.938 kB / 1.324 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/2.062, allocations: 3.358 MB / 1.328 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006406/2.068, allocations: 0.871 MB / 1.329 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/2.083, allocations: 4.891 MB / 1.333 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/2.086, allocations: 2.294 MB / 1.336 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004282/2.09, allocations: 490.6 kB / 1.336 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/2.092, allocations: 159.7 kB / 1.336 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/2.092, allocations: 0 / 1.336 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1078/2.199, allocations: 65.41 MB / 1.4 GB, free: 194.7 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)