Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 184.5 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 92.73 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007842/0.0007844, allocations: 11.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2171, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9505/1.168, allocations: 183.2 MB / 1.078 GB, free: 54.46 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/1.168, allocations: 94.72 kB / 1.078 GB, free: 54.46 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.573/1.741, allocations: 148 MB / 1.222 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.465e-06/1.741, allocations: 0 / 1.222 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000518/1.742, allocations: 79.69 kB / 1.223 GB, free: 14.34 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.01891/1.761, allocations: 3.946 MB / 1.226 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.761, allocations: 16.03 kB / 1.226 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/1.791, allocations: 3.214 MB / 1.23 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.801, allocations: 2.317 MB / 1.232 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/1.802, allocations: 180.3 kB / 1.232 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.803, allocations: 235.8 kB / 1.232 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/1.825, allocations: 4.684 MB / 1.237 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.826, allocations: 3.938 kB / 1.237 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/1.827, allocations: 99.67 kB / 1.237 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/1.827, allocations: 152.8 kB / 1.237 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/1.854, allocations: 5.214 MB / 1.242 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04162/1.896, allocations: 14.38 MB / 1.256 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/1.919, allocations: 3.779 MB / 1.26 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/1.919, allocations: 24.66 kB / 1.26 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008447/1.927, allocations: 1.821 MB / 1.262 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 6.422e-06/1.927, allocations: 0 / 1.262 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.344/2.271, allocations: 33.51 MB / 1.294 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007928/2.272, allocations: 0.9022 MB / 1.295 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/2.28, allocations: 1.981 MB / 1.297 GB, free: 76 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000999/2.281, allocations: 87.12 kB / 1.297 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/2.284, allocations: 1.434 MB / 1.299 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/2.286, allocations: 0.8184 MB / 1.299 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000586/2.287, allocations: 48 kB / 1.3 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003969/2.287, allocations: 394.7 kB / 1.3 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01356/2.301, allocations: 1.925 MB / 1.302 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/2.316, allocations: 2.312 MB / 1.304 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/2.33, allocations: 2.145 MB / 1.306 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/2.33, allocations: 4 kB / 1.306 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.05881/2.389, allocations: 6.126 MB / 1.312 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001594/2.391, allocations: 2.45 MB / 1.315 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/2.391, allocations: 11.95 kB / 1.315 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/2.407, allocations: 1.789 MB / 1.316 GB, free: 11.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/2.415, allocations: 0.5969 MB / 1.317 GB, free: 11.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03566/2.451, allocations: 9.513 MB / 1.326 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008446/2.459, allocations: 419.4 kB / 1.327 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008003/2.46, allocations: 91.97 kB / 1.327 GB, free: 1.211 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/2.46, allocations: 4.625 kB / 1.327 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04421/2.504, allocations: 5.734 MB / 1.332 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/2.505, allocations: 8 kB / 1.332 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/2.52, allocations: 1.794 MB / 1.334 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009529/2.53, allocations: 0.6124 MB / 1.335 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06397/2.594, allocations: 14.02 MB / 1.348 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009485/2.603, allocations: 415.5 kB / 1.349 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009976/2.604, allocations: 91.97 kB / 1.349 GB, free: 10.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00406/2.608, allocations: 0.7883 MB / 1.35 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.61, allocations: 332.1 kB / 1.35 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/2.612, allocations: 392.1 kB / 1.35 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/2.612, allocations: 24 kB / 1.35 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/2.612, allocations: 12 kB / 1.35 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/2.612, allocations: 11.95 kB / 1.35 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/2.622, allocations: 3.19 MB / 1.353 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.658e-05/2.622, allocations: 0 / 1.353 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00685/2.629, allocations: 0.5228 MB / 1.354 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01374/2.642, allocations: 1.684 MB / 1.356 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006319/2.643, allocations: 55.92 kB / 1.356 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04174/2.685, allocations: 14.56 MB / 1.37 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.685, allocations: 0 / 1.37 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03611/2.721, allocations: 5.762 MB / 1.375 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002895/2.724, allocations: 0.6687 MB / 1.376 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/2.725, allocations: 47.94 kB / 1.376 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006742/2.732, allocations: 419.4 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/2.734, allocations: 302.6 kB / 1.377 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004632/2.734, allocations: 71.97 kB / 1.377 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004325/2.739, allocations: 1.521 MB / 1.378 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/2.739, allocations: 0 / 1.378 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008489/2.747, allocations: 1.59 MB / 1.38 GB, free: 9.926 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/2.748, allocations: 189.7 kB / 1.38 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.6981/3.446, allocations: 9.687 MB / 1.39 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/3.447, allocations: 5.25 kB / 1.39 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01551/3.462, allocations: 3.506 MB / 1.393 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008235/3.47, allocations: 1.002 MB / 1.394 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/3.497, allocations: 7.566 MB / 1.401 GB, free: 230 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005278/3.503, allocations: 2.325 MB / 1.404 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006231/3.509, allocations: 0.638 MB / 1.404 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/3.511, allocations: 183 kB / 1.404 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/3.511, allocations: 0 / 1.404 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1729/3.683, allocations: 72.51 MB / 1.475 GB, free: 226.8 MB / 0.8855 GB