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.256/2.256, allocations: 252.6 MB / 265.2 MB, free: 5.871 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.001429/0.001429, allocations: 190 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.00105/0.001049, allocations: 86.03 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.872e-05, allocations: 0 / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.21, allocations: 183.2 MB / 1.074 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.21, allocations: 100.4 kB / 1.074 GB, free: 2.281 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.6988/1.909, allocations: 147.6 MB / 1.218 GB, free: 2.234 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.174e-06/1.909, allocations: 0 / 1.218 GB, free: 2.234 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005731/1.91, allocations: 79.92 kB / 1.218 GB, free: 2.156 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.01425/1.924, allocations: 3.422 MB / 1.221 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.924, allocations: 15.97 kB / 1.221 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/1.952, allocations: 3.206 MB / 1.225 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009526/1.962, allocations: 2.289 MB / 1.227 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/1.962, allocations: 188.7 kB / 1.227 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/1.963, allocations: 231.9 kB / 1.227 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/1.976, allocations: 3.819 MB / 1.231 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.004e-05/1.977, allocations: 7.938 kB / 1.231 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000695/1.977, allocations: 104 kB / 1.231 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002693/1.977, allocations: 148.8 kB / 1.231 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/1.99, allocations: 3.529 MB / 1.235 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04005/2.03, allocations: 14.36 MB / 1.249 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/2.043, allocations: 2.838 MB / 1.251 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/2.046, allocations: 1.042 MB / 1.252 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/2.047, allocations: 25.3 kB / 1.252 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/2.05, allocations: 1.354 MB / 1.254 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 5.34e-06/2.05, allocations: 0 / 1.254 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.8565/2.907, allocations: 28.98 MB / 1.282 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000309/2.907, allocations: 0.8992 MB / 1.283 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/2.912, allocations: 1.951 MB / 1.285 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006891/2.913, allocations: 78.42 kB / 1.285 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/2.915, allocations: 1.438 MB / 1.286 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/2.916, allocations: 0.8233 MB / 1.287 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/2.917, allocations: 49.2 kB / 1.287 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002018/2.917, allocations: 394.3 kB / 1.288 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/2.921, allocations: 1.256 MB / 1.289 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/2.926, allocations: 1.648 MB / 1.29 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/2.93, allocations: 1.479 MB / 1.292 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/2.93, allocations: 1.156 kB / 1.292 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01744/2.948, allocations: 4.773 MB / 1.296 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006007/2.948, allocations: 2.452 MB / 1.299 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/2.948, allocations: 5.344 kB / 1.299 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/2.959, allocations: 1.763 MB / 1.301 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/2.964, allocations: 0.5916 MB / 1.301 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/2.985, allocations: 9.044 MB / 1.31 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/2.992, allocations: 414.2 kB / 1.31 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/2.992, allocations: 90.98 kB / 1.31 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.992, allocations: 3.844 kB / 1.31 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/3.006, allocations: 4.375 MB / 1.315 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/3.006, allocations: 3.188 kB / 1.315 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008179/3.014, allocations: 1.765 MB / 1.316 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/3.02, allocations: 0.6158 MB / 1.317 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/3.051, allocations: 13.26 MB / 1.33 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/3.059, allocations: 412.4 kB / 1.33 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007531/3.06, allocations: 90.8 kB / 1.331 GB, free: 214.2 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.001156/3.061, allocations: 250.4 kB / 1.331 GB, free: 214 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/3.062, allocations: 338.5 kB / 1.331 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/3.064, allocations: 404.2 kB / 1.331 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/3.064, allocations: 24.38 kB / 1.331 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.091e-05/3.064, allocations: 7.781 kB / 1.331 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/3.064, allocations: 14.39 kB / 1.332 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/3.074, allocations: 3.182 MB / 1.335 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.601e-05/3.074, allocations: 3.719 kB / 1.335 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0065/3.081, allocations: 0.5153 MB / 1.335 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01319/3.094, allocations: 1.666 MB / 1.337 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006822/3.095, allocations: 49.03 kB / 1.337 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04343/3.138, allocations: 13.74 MB / 1.35 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/3.138, allocations: 3.938 kB / 1.35 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/3.153, allocations: 4.404 MB / 1.355 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002829/3.156, allocations: 0.6727 MB / 1.355 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/3.158, allocations: 46.16 kB / 1.355 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006386/3.164, allocations: 416.7 kB / 1.356 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/3.166, allocations: 304.6 kB / 1.356 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003648/3.166, allocations: 71.92 kB / 1.356 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003399/3.169, allocations: 1.496 MB / 1.357 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.42e-07/3.169, allocations: 0 / 1.357 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007503/3.177, allocations: 1.58 MB / 1.359 GB, free: 201.6 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.0008001/3.178, allocations: 184.3 kB / 1.359 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02391/3.202, allocations: 7.724 MB / 1.367 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/3.202, allocations: 3.469 kB / 1.367 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009239/3.211, allocations: 2.802 MB / 1.369 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007889/3.219, allocations: 1.008 MB / 1.37 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/3.241, allocations: 4.916 MB / 1.375 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/3.244, allocations: 2.324 MB / 1.377 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007226/3.251, allocations: 0.7701 MB / 1.378 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/3.253, allocations: 149.6 kB / 1.378 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/3.253, allocations: 0 / 1.378 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1825/3.435, allocations: 76.8 MB / 1.453 GB, free: 141.1 MB / 0.8698 GB