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.466/2.466, allocations: 253.2 MB / 260.6 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 180.8 kB / 319.9 MB, free: 3.098 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.095/2.095, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001126/0.001125, allocations: 81.47 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.776e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.225, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.263, allocations: 183.4 MB / 1.068 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.264, allocations: 83.52 kB / 1.068 GB, free: 4.941 MB / 0.6823 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.6452/1.909, allocations: 146.5 MB / 1.211 GB, free: 9.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.909, allocations: 0 / 1.211 GB, free: 9.855 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004787/1.909, allocations: 79.92 kB / 1.211 GB, free: 9.777 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.01415/1.924, allocations: 3.422 MB / 1.214 GB, free: 6.254 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.924, allocations: 12.02 kB / 1.214 GB, free: 6.242 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02923/1.953, allocations: 3.206 MB / 1.217 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/1.964, allocations: 2.289 MB / 1.22 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.964, allocations: 79.98 kB / 1.22 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/1.965, allocations: 144 kB / 1.22 GB, free: 460 kB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0114/1.977, allocations: 3.383 MB / 1.223 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/1.99, allocations: 3.478 MB / 1.227 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/1.99, allocations: 3.938 kB / 1.227 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007436/1.991, allocations: 4 kB / 1.227 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/1.991, allocations: 152.8 kB / 1.227 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/2.03, allocations: 13.85 MB / 1.24 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/2.043, allocations: 2.753 MB / 1.243 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/2.046, allocations: 1.003 MB / 1.244 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/2.046, allocations: 25.28 kB / 1.244 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00323/2.05, allocations: 1.306 MB / 1.245 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 8.586e-06/2.05, allocations: 7.984 kB / 1.245 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03257/2.082, allocations: 7.541 MB / 1.253 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006376/2.083, allocations: 0.8944 MB / 1.254 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/2.087, allocations: 1.568 MB / 1.255 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006332/2.088, allocations: 33.7 kB / 1.255 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/2.089, allocations: 1.455 MB / 1.257 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/2.091, allocations: 0.7812 MB / 1.257 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/2.091, allocations: 0 / 1.257 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002528/2.091, allocations: 398.6 kB / 1.258 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/2.095, allocations: 1.207 MB / 1.259 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/2.099, allocations: 1.578 MB / 1.26 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/2.103, allocations: 1.296 MB / 1.262 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/2.103, allocations: 0 / 1.262 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.7074/2.81, allocations: 4.363 MB / 1.266 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006431/2.811, allocations: 2.417 MB / 1.268 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/2.811, allocations: 5.375 kB / 1.268 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/2.822, allocations: 1.606 MB / 1.27 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006029/2.828, allocations: 0.5886 MB / 1.27 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/2.851, allocations: 8.988 MB / 1.279 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/2.859, allocations: 363.8 kB / 1.28 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/2.86, allocations: 90.61 kB / 1.28 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/2.86, allocations: 7.125 kB / 1.28 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01398/2.874, allocations: 3.679 MB / 1.283 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/2.874, allocations: 7.781 kB / 1.283 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007155/2.881, allocations: 1.411 MB / 1.285 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006438/2.887, allocations: 0.6319 MB / 1.285 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04537/2.933, allocations: 11.76 MB / 1.297 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009631/2.942, allocations: 360.8 kB / 1.297 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007967/2.943, allocations: 92.73 kB / 1.297 GB, free: 219.6 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 (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.001008/2.944, allocations: 165.8 kB / 1.297 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/2.945, allocations: 305.8 kB / 1.298 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/2.947, allocations: 340.9 kB / 1.298 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/2.947, allocations: 23.25 kB / 1.298 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/2.947, allocations: 20.75 kB / 1.298 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/2.947, allocations: 13.05 kB / 1.298 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00725/2.954, allocations: 2.791 MB / 1.301 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/2.954, allocations: 6.609 kB / 1.301 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005178/2.959, allocations: 0.5139 MB / 1.301 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/2.97, allocations: 1.633 MB / 1.303 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006173/2.97, allocations: 14.77 kB / 1.303 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0321/3.002, allocations: 13.35 MB / 1.316 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/3.003, allocations: 3.062 kB / 1.316 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/3.021, allocations: 4.175 MB / 1.32 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/3.025, allocations: 0.639 MB / 1.321 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/3.026, allocations: 5.531 kB / 1.321 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008328/3.034, allocations: 369.8 kB / 1.321 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001879/3.036, allocations: 312.2 kB / 1.321 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000478/3.037, allocations: 68.36 kB / 1.321 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003499/3.04, allocations: 1.163 MB / 1.322 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.01e-07/3.04, allocations: 0 / 1.322 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009433/3.05, allocations: 1.407 MB / 1.324 GB, free: 215.5 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 (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.0009262/3.051, allocations: 142.2 kB / 1.324 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03032/3.081, allocations: 7.361 MB / 1.331 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/3.081, allocations: 5.531 kB / 1.331 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008924/3.09, allocations: 2.68 MB / 1.334 GB, free: 211 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006644/3.097, allocations: 0.8643 MB / 1.335 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/3.11, allocations: 4.781 MB / 1.339 GB, free: 209 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/3.113, allocations: 2.323 MB / 1.342 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006179/3.119, allocations: 0.7229 MB / 1.342 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/3.12, allocations: 138 kB / 1.342 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/3.12, allocations: 0 / 1.342 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.1806/3.301, allocations: 69.3 MB / 1.41 GB, free: 187.9 MB / 0.8698 GB