Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.838/4.838, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002438/0.002438, allocations: 356.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.297/4.297, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001898/0.001897, allocations: 183.3 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005202, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7392, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.9437, allocations: 141.2 MB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.9441, allocations: 84.67 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].XCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_low.mo:13:3-16:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.04756/0.9917, allocations: 12.78 MB / 1.612 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9917, allocations: 4.875 kB / 1.612 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9917, allocations: 0.6562 kB / 1.612 GB, free: 130.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005767/0.9923, allocations: 463.9 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9924, allocations: 12.59 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.9924, allocations: 95 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.9927, allocations: 294.8 kB / 1.613 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.9927, allocations: 155 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.9928, allocations: 157.5 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.024e-05/0.9928, allocations: 101 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.9929, allocations: 75.28 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.9929, allocations: 151.2 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.993, allocations: 158.5 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.993, allocations: 150.6 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.9934, allocations: 0.4938 MB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.9935, allocations: 171.2 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.9935, allocations: 84.14 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.9935, allocations: 75.97 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.9936, allocations: 119 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/0.9936, allocations: 3.938 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.9937, allocations: 46.05 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.9937, allocations: 128.6 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.9942, allocations: 294.5 kB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.9942, allocations: 25.7 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.9943, allocations: 124.8 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.9943, allocations: 0 / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.9943, allocations: 1.094 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.9944, allocations: 330.8 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.9944, allocations: 22.59 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.9946, allocations: 134.5 kB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.9947, allocations: 59.12 kB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9947, allocations: 0 / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004016/0.9951, allocations: 204 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.9952, allocations: 12.95 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9952, allocations: 4 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.9952, allocations: 5.594 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.9954, allocations: 23.94 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9954, allocations: 7.984 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.9956, allocations: 11.84 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.9956, allocations: 8.656 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Warning: Assuming fixed start value for the following 14 variables: cab[7].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[7].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[6].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[6].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[5].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[5].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[4].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[4].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[3].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[3].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[2].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[2].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] cab[1].XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real [7] cab[1].RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real [7] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.996, allocations: 284.2 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.9961, allocations: 117.5 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.9962, allocations: 134.5 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/0.9962, allocations: 177.5 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/0.9963, allocations: 176.3 kB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-05/0.9963, allocations: 193.8 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.9966, allocations: 445.2 kB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.9966, allocations: 106.2 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.9967, allocations: 105 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.575e-05/0.9967, allocations: 176.9 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.9968, allocations: 189 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.354e-05/0.9968, allocations: 180.8 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-05/0.9969, allocations: 185.7 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.997, allocations: 327.6 kB / 1.618 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.9971, allocations: 193.8 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.9972, allocations: 184.2 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.9974, allocations: 106.6 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.9974, allocations: 180.2 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.9974, allocations: 106 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002821/0.9977, allocations: 209.9 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.21e-07/0.9978, allocations: 3.938 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00041/0.9982, allocations: 42.38 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002234/0.9984, allocations: 226.2 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.9986, allocations: 69.08 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9986, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.9986, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.9994, allocations: 0.5904 MB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/1, allocations: 427.3 kB / 1.621 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/1, allocations: 0.7433 MB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.546e-05/1, allocations: 13.48 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/1, allocations: 14.41 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/1, allocations: 0 / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00805/1.008, allocations: 2.756 MB / 1.624 GB, free: 117.3 MB / 0.8542 GB