Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 194.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 96.03 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 8.562 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3747, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9659/1.341, allocations: 202.2 MB / 1.427 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.341, allocations: 92.53 kB / 1.427 GB, free: 192.6 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 10.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.4595/1.801, allocations: 221.4 MB / 1.643 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.734e-06/1.801, allocations: 0 / 1.643 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003609/1.801, allocations: 79.92 kB / 1.643 GB, free: 14 MB / 0.9323 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.01272/1.814, allocations: 4.205 MB / 1.647 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.814, allocations: 8.031 kB / 1.647 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/1.831, allocations: 3.237 MB / 1.65 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00938/1.841, allocations: 2.581 MB / 1.653 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/1.841, allocations: 469.7 kB / 1.653 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/1.843, allocations: 239.9 kB / 1.654 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/1.857, allocations: 4.809 MB / 1.658 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-05/1.857, allocations: 3.938 kB / 1.658 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006966/1.858, allocations: 104 kB / 1.658 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/1.858, allocations: 148.8 kB / 1.658 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/1.872, allocations: 5.292 MB / 1.664 GB, free: 8.504 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/1.902, allocations: 14.87 MB / 1.678 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/1.912, allocations: 3.627 MB / 1.682 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/1.912, allocations: 25.3 kB / 1.682 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004335/1.917, allocations: 1.912 MB / 1.684 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=163): time 2.945e-06/1.917, allocations: 0 / 1.684 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=250): time 0.1366/2.053, allocations: 34.34 MB / 1.717 GB, free: 264 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004935/2.054, allocations: 0.9022 MB / 1.718 GB, free: 15.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/2.058, allocations: 1.985 MB / 1.72 GB, free: 13.15 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006017/2.059, allocations: 81.69 kB / 1.72 GB, free: 13.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/2.061, allocations: 1.434 MB / 1.721 GB, free: 11.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/2.062, allocations: 0.8163 MB / 1.722 GB, free: 10.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/2.062, allocations: 44 kB / 1.722 GB, free: 10.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002313/2.062, allocations: 394.7 kB / 1.723 GB, free: 10.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005434/2.068, allocations: 2.116 MB / 1.725 GB, free: 8.234 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/2.074, allocations: 2.508 MB / 1.727 GB, free: 5.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005692/2.079, allocations: 2.304 MB / 1.729 GB, free: 3.234 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/2.079, allocations: 4 kB / 1.729 GB, free: 3.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01916/2.099, allocations: 6.907 MB / 1.736 GB, free: 12.23 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/2.099, allocations: 148.5 kB / 1.736 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/2.099, allocations: 7.953 kB / 1.736 GB, free: 12.04 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009988/2.109, allocations: 2.958 MB / 1.739 GB, free: 9.082 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/2.112, allocations: 0.5696 MB / 1.74 GB, free: 8.512 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03801/2.15, allocations: 18.15 MB / 1.757 GB, free: 6.133 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/2.155, allocations: 427.4 kB / 1.758 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/2.155, allocations: 87.97 kB / 1.758 GB, free: 5.629 MB / 1.042 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.002099/2.157, allocations: 0.723 MB / 1.759 GB, free: 4.898 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008412/2.158, allocations: 336.3 kB / 1.759 GB, free: 4.566 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/2.159, allocations: 376.1 kB / 1.759 GB, free: 4.191 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/2.159, allocations: 31.88 kB / 1.759 GB, free: 4.16 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.546e-05/2.159, allocations: 15.94 kB / 1.759 GB, free: 4.145 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/2.159, allocations: 11.95 kB / 1.759 GB, free: 4.133 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/2.165, allocations: 3.655 MB / 1.763 GB, free: 428 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/2.165, allocations: 0 / 1.763 GB, free: 428 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/2.167, allocations: 0.5033 MB / 1.763 GB, free: 15.91 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009901/2.177, allocations: 2.859 MB / 1.766 GB, free: 13.04 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005564/2.178, allocations: 51.97 kB / 1.766 GB, free: 12.99 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03767/2.215, allocations: 17.98 MB / 1.784 GB, free: 10.73 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.215, allocations: 3.938 kB / 1.784 GB, free: 10.73 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/2.234, allocations: 6.552 MB / 1.79 GB, free: 4.141 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003181/2.237, allocations: 0.7077 MB / 1.791 GB, free: 3.41 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/2.238, allocations: 48 kB / 1.791 GB, free: 3.363 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/2.242, allocations: 419.6 kB / 1.791 GB, free: 2.953 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/2.243, allocations: 362.6 kB / 1.792 GB, free: 2.598 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/2.244, allocations: 71.97 kB / 1.792 GB, free: 2.527 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002631/2.246, allocations: 1.517 MB / 1.793 GB, free: 1.012 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.8e-07/2.246, allocations: 0 / 1.793 GB, free: 1.012 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.00372/2.25, allocations: 1.07 MB / 1.794 GB, free: 15.94 MB / 1.089 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.000517/2.251, allocations: 179 kB / 1.795 GB, free: 15.76 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0245/2.275, allocations: 6.837 MB / 1.801 GB, free: 8.82 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/2.275, allocations: 0 / 1.801 GB, free: 8.82 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01869/2.294, allocations: 4.213 MB / 1.805 GB, free: 4.578 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008628/2.303, allocations: 0.999 MB / 1.806 GB, free: 3.586 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/2.321, allocations: 7.76 MB / 1.814 GB, free: 11.8 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/2.324, allocations: 2.293 MB / 1.816 GB, free: 9.477 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.003038/2.327, allocations: 0.5136 MB / 1.817 GB, free: 8.957 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000788/2.328, allocations: 179.4 kB / 1.817 GB, free: 8.781 MB / 1.104 GB Notification: Performance of SimCode: time 1.593e-06/2.328, allocations: 0 / 1.817 GB, free: 8.781 MB / 1.104 GB Notification: Performance of Templates: time 0.6753/3.003, allocations: 71.25 MB / 1.886 GB, free: 264.7 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)