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.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001474/0.001473, allocations: 186.3 kB / 326.5 MB, free: 2.262 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.97/1.97, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001025/0.001025, allocations: 99.75 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 9 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7081/0.9256, allocations: 183.5 MB / 1.079 GB, free: 52.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.9259, allocations: 91.53 kB / 1.079 GB, free: 52.98 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.3346/1.26, allocations: 149.6 MB / 1.225 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.853e-06/1.261, allocations: 4 kB / 1.225 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000213/1.261, allocations: 75.45 kB / 1.226 GB, free: 10.61 MB / 0.7292 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.00988/1.271, allocations: 4.215 MB / 1.23 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.271, allocations: 8.031 kB / 1.23 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/1.287, allocations: 3.229 MB / 1.233 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007559/1.295, allocations: 2.575 MB / 1.235 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/1.295, allocations: 469.5 kB / 1.236 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006233/1.296, allocations: 235.6 kB / 1.236 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.306, allocations: 4.82 MB / 1.241 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/1.306, allocations: 0 / 1.241 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/1.307, allocations: 99.83 kB / 1.241 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/1.307, allocations: 144.8 kB / 1.241 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/1.321, allocations: 5.3 MB / 1.246 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/1.345, allocations: 14.87 MB / 1.261 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009913/1.355, allocations: 3.639 MB / 1.264 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/1.355, allocations: 21.06 kB / 1.264 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/1.36, allocations: 1.911 MB / 1.266 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=163): time 4.469e-06/1.36, allocations: 3.938 kB / 1.266 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=250): time 0.2353/1.595, allocations: 34.33 MB / 1.3 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005307/1.595, allocations: 0.902 MB / 1.3 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.601, allocations: 1.985 MB / 1.302 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007735/1.602, allocations: 89.62 kB / 1.303 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.604, allocations: 1.43 MB / 1.304 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.605, allocations: 0.8152 MB / 1.305 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/1.606, allocations: 48 kB / 1.305 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002641/1.606, allocations: 390.7 kB / 1.305 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008914/1.615, allocations: 2.12 MB / 1.307 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/1.621, allocations: 2.499 MB / 1.31 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00543/1.626, allocations: 2.305 MB / 1.312 GB, free: 92 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.627, allocations: 0 / 1.312 GB, free: 92 kB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01869/1.645, allocations: 6.911 MB / 1.319 GB, free: 9.086 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.645, allocations: 144.5 kB / 1.319 GB, free: 8.914 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.645, allocations: 8 kB / 1.319 GB, free: 8.906 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009709/1.655, allocations: 2.962 MB / 1.322 GB, free: 5.941 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/1.658, allocations: 0.5657 MB / 1.322 GB, free: 5.375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03768/1.696, allocations: 18.15 MB / 1.34 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.701, allocations: 431.5 kB / 1.34 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/1.701, allocations: 87.97 kB / 1.34 GB, free: 2.508 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.001811/1.703, allocations: 0.7188 MB / 1.341 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/1.704, allocations: 332.1 kB / 1.341 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008484/1.704, allocations: 384.1 kB / 1.342 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.704, allocations: 24 kB / 1.342 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-05/1.704, allocations: 12 kB / 1.342 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.705, allocations: 15.89 kB / 1.342 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/1.71, allocations: 3.645 MB / 1.345 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.71, allocations: 0 / 1.345 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.712, allocations: 0.5072 MB / 1.346 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00978/1.722, allocations: 2.871 MB / 1.349 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004582/1.723, allocations: 47.97 kB / 1.349 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03675/1.759, allocations: 17.99 MB / 1.366 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.759, allocations: 3.984 kB / 1.366 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.777, allocations: 6.541 MB / 1.373 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.78, allocations: 0.7116 MB / 1.373 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/1.78, allocations: 48 kB / 1.373 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.784, allocations: 419.5 kB / 1.374 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/1.785, allocations: 367 kB / 1.374 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/1.785, allocations: 67.97 kB / 1.374 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002244/1.787, allocations: 1.521 MB / 1.376 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/1.787, allocations: 0 / 1.376 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003001/1.79, allocations: 1.07 MB / 1.377 GB, free: 12.88 MB / 0.8855 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.0004309/1.791, allocations: 183.7 kB / 1.377 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02281/1.814, allocations: 6.837 MB / 1.384 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.814, allocations: 4 kB / 1.384 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/1.83, allocations: 4.205 MB / 1.388 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.835, allocations: 1.005 MB / 1.389 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3585/2.194, allocations: 7.741 MB / 1.396 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/2.196, allocations: 2.302 MB / 1.399 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002892/2.199, allocations: 0.5116 MB / 1.399 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007292/2.2, allocations: 174.8 kB / 1.399 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/2.2, allocations: 0.8438 kB / 1.399 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.09908/2.299, allocations: 71.27 MB / 1.469 GB, free: 223.6 MB / 0.8855 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)