Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 253.2 MB / 260.6 MB, free: 7.582 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.002339/0.002339, allocations: 180.8 kB / 319.9 MB, free: 3.074 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.036/2.036, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001103/0.001103, allocations: 89.2 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.568e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2144, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9442/1.159, allocations: 183.5 MB / 1.068 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.159, allocations: 90.08 kB / 1.068 GB, free: 4.742 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.6647/1.824, allocations: 148.1 MB / 1.213 GB, free: 8.125 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.256e-06/1.824, allocations: 4 kB / 1.213 GB, free: 8.121 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006493/1.825, allocations: 79.92 kB / 1.213 GB, free: 8.043 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.01821/1.843, allocations: 3.695 MB / 1.216 GB, free: 4.246 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/1.843, allocations: 8.031 kB / 1.216 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/1.874, allocations: 3.214 MB / 1.219 GB, free: 1.016 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/1.887, allocations: 2.562 MB / 1.222 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.887, allocations: 389.7 kB / 1.222 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/1.889, allocations: 140 kB / 1.222 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01203/1.901, allocations: 3.45 MB / 1.226 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/1.914, allocations: 3.599 MB / 1.229 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/1.914, allocations: 0 / 1.229 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/1.915, allocations: 4 kB / 1.229 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/1.915, allocations: 144.8 kB / 1.229 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0548/1.97, allocations: 14.33 MB / 1.243 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/1.986, allocations: 2.61 MB / 1.246 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004597/1.991, allocations: 1.062 MB / 1.247 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/1.991, allocations: 25.3 kB / 1.247 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005676/1.997, allocations: 1.387 MB / 1.248 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.941e-06/1.997, allocations: 0 / 1.248 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.04223/2.039, allocations: 8.49 MB / 1.257 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004904/2.04, allocations: 0.8944 MB / 1.258 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/2.044, allocations: 1.572 MB / 1.259 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007261/2.044, allocations: 29.7 kB / 1.259 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/2.046, allocations: 1.443 MB / 1.261 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/2.048, allocations: 0.7968 MB / 1.261 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/2.049, allocations: 0 / 1.261 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002897/2.049, allocations: 394.7 kB / 1.262 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/2.053, allocations: 1.36 MB / 1.263 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004721/2.058, allocations: 1.734 MB / 1.265 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6446/2.702, allocations: 1.423 MB / 1.266 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/2.703, allocations: 1.562 kB / 1.266 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02329/2.726, allocations: 5.082 MB / 1.271 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/2.726, allocations: 148.1 kB / 1.271 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/2.726, allocations: 6.141 kB / 1.271 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/2.744, allocations: 2.792 MB / 1.274 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/2.75, allocations: 0.572 MB / 1.274 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06482/2.815, allocations: 16.4 MB / 1.291 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007771/2.823, allocations: 376.8 kB / 1.291 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/2.824, allocations: 90.08 kB / 1.291 GB, free: 223 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 (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.0009794/2.825, allocations: 160.3 kB / 1.291 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/2.826, allocations: 308 kB / 1.291 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/2.827, allocations: 329.7 kB / 1.292 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/2.827, allocations: 23.69 kB / 1.292 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/2.827, allocations: 14.52 kB / 1.292 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/2.827, allocations: 11.67 kB / 1.292 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008419/2.836, allocations: 3.27 MB / 1.295 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/2.836, allocations: 1.125 kB / 1.295 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00509/2.841, allocations: 0.5057 MB / 1.295 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01699/2.858, allocations: 2.761 MB / 1.298 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006868/2.859, allocations: 16.17 kB / 1.298 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06355/2.922, allocations: 16.41 MB / 1.314 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.922, allocations: 0 / 1.314 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/2.942, allocations: 4.897 MB / 1.319 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/2.945, allocations: 0.675 MB / 1.32 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/2.946, allocations: 10.11 kB / 1.32 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007025/2.953, allocations: 382.5 kB / 1.32 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/2.955, allocations: 369.6 kB / 1.32 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005145/2.956, allocations: 67.91 kB / 1.32 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002633/2.959, allocations: 1.161 MB / 1.322 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.22e-07/2.959, allocations: 0 / 1.322 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005329/2.964, allocations: 0.9441 MB / 1.322 GB, free: 218.2 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 (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.0009145/2.965, allocations: 140.7 kB / 1.323 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02894/2.994, allocations: 5.192 MB / 1.328 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/2.994, allocations: 3.906 kB / 1.328 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02482/3.019, allocations: 3.356 MB / 1.331 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/3.026, allocations: 0.87 MB / 1.332 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/3.041, allocations: 4.9 MB / 1.337 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/3.044, allocations: 2.292 MB / 1.339 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004306/3.049, allocations: 488.9 kB / 1.339 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/3.05, allocations: 160.7 kB / 1.339 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/3.05, allocations: 0 / 1.339 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1739/3.224, allocations: 65.4 MB / 1.403 GB, free: 195.1 MB / 0.8698 GB