Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 285.4 MB / 298 MB, free: 5.965 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.001006/0.001006, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.318/1.318, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007427/0.000743, allocations: 98.8 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.773e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6539, allocations: 115.3 MB / 0.9709 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.8719, allocations: 189.7 MB / 1.156 GB, free: 10 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.8722, allocations: 95.34 kB / 1.156 GB, free: 9.91 MB / 0.7605 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.9118/1.784, allocations: 149.1 MB / 1.302 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.074e-06/1.784, allocations: 1.031 kB / 1.302 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003957/1.784, allocations: 73.92 kB / 1.302 GB, free: 194.6 MB / 0.8542 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.01256/1.797, allocations: 3.693 MB / 1.306 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.797, allocations: 12.12 kB / 1.306 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/1.814, allocations: 3.208 MB / 1.309 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007681/1.822, allocations: 2.563 MB / 1.311 GB, free: 192 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/1.823, allocations: 471.8 kB / 1.312 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009125/1.824, allocations: 231.4 kB / 1.312 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00693/1.83, allocations: 3.938 MB / 1.316 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/1.831, allocations: 4.922 kB / 1.316 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/1.831, allocations: 112 kB / 1.316 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/1.831, allocations: 147.5 kB / 1.316 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/1.836, allocations: 3.588 MB / 1.319 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/1.858, allocations: 14.86 MB / 1.334 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/1.863, allocations: 2.671 MB / 1.337 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/1.865, allocations: 1.112 MB / 1.338 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/1.865, allocations: 22.81 kB / 1.338 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/1.867, allocations: 1.441 MB / 1.339 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.727e-06/1.867, allocations: 0 / 1.339 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.1119/1.978, allocations: 29.56 MB / 1.368 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002867/1.979, allocations: 0.8931 MB / 1.369 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/1.982, allocations: 1.959 MB / 1.371 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000489/1.982, allocations: 77.7 kB / 1.371 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.984, allocations: 1.438 MB / 1.372 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007635/1.984, allocations: 0.8154 MB / 1.373 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/1.985, allocations: 48 kB / 1.373 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.985, allocations: 394.4 kB / 1.373 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.987, allocations: 1.411 MB / 1.375 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.989, allocations: 1.802 MB / 1.377 GB, free: 165 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/1.991, allocations: 1.619 MB / 1.378 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.991, allocations: 3.953 kB / 1.378 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01111/2.002, allocations: 5.477 MB / 1.384 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/2.002, allocations: 148.8 kB / 1.384 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/2.002, allocations: 9.562 kB / 1.384 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008658/2.011, allocations: 2.879 MB / 1.386 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/2.014, allocations: 0.5812 MB / 1.387 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/2.045, allocations: 16.95 MB / 1.404 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/2.05, allocations: 431.4 kB / 1.404 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/2.05, allocations: 87.97 kB / 1.404 GB, free: 136.4 MB / 0.8542 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.0005833/2.051, allocations: 251.3 kB / 1.404 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/2.051, allocations: 351.9 kB / 1.405 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009302/2.052, allocations: 376.1 kB / 1.405 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/2.052, allocations: 24 kB / 1.405 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/2.052, allocations: 8 kB / 1.405 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/2.052, allocations: 15.95 kB / 1.405 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/2.057, allocations: 3.639 MB / 1.409 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/2.057, allocations: 0 / 1.409 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/2.059, allocations: 0.5064 MB / 1.409 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008182/2.067, allocations: 2.806 MB / 1.412 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004365/2.068, allocations: 47.97 kB / 1.412 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/2.098, allocations: 16.8 MB / 1.428 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.098, allocations: 7.953 kB / 1.428 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/2.109, allocations: 5.123 MB / 1.433 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00268/2.112, allocations: 0.7039 MB / 1.434 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008494/2.113, allocations: 55.81 kB / 1.434 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.116, allocations: 423.4 kB / 1.434 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/2.118, allocations: 362.7 kB / 1.435 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/2.118, allocations: 74.91 kB / 1.435 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002149/2.12, allocations: 1.49 MB / 1.436 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.9e-07/2.12, allocations: 0 / 1.436 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003466/2.124, allocations: 1.07 MB / 1.437 GB, free: 102 MB / 0.8542 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.0004812/2.124, allocations: 187.3 kB / 1.438 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01574/2.14, allocations: 5.391 MB / 1.443 GB, free: 96.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/2.14, allocations: 4 kB / 1.443 GB, free: 96.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/2.153, allocations: 3.458 MB / 1.446 GB, free: 92.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/2.159, allocations: 1.011 MB / 1.447 GB, free: 91.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008641/2.167, allocations: 5.034 MB / 1.452 GB, free: 86.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/2.169, allocations: 2.293 MB / 1.454 GB, free: 84.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002507/2.171, allocations: 0.5113 MB / 1.455 GB, free: 84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000646/2.172, allocations: 179.4 kB / 1.455 GB, free: 83.82 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/2.172, allocations: 0 / 1.455 GB, free: 83.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.1014/2.273, allocations: 71.27 MB / 1.525 GB, free: 13.63 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)