Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.449/2.449, allocations: 253.2 MB / 260.6 MB, free: 7.496 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.001535/0.001535, allocations: 192.8 kB / 319.9 MB, free: 3.02 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.031/2.031, allocations: 205.6 MB / 0.5708 GB, free: 15.22 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.001135/0.001134, allocations: 94.06 kB / 0.6751 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.742e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9656/1.17, allocations: 164.6 MB / 1.049 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.17, allocations: 89.5 kB / 1.05 GB, free: 6.992 MB / 0.6667 GB [/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);. [/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/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.07229/1.242, allocations: 17.74 MB / 1.067 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/1.242, allocations: 4 kB / 1.067 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.348e-05/1.242, allocations: 8 kB / 1.067 GB, free: 8.309 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001491/1.244, allocations: 0.6167 MB / 1.067 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.244, allocations: 12.02 kB / 1.067 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.246, allocations: 162.7 kB / 1.068 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/1.247, allocations: 330.9 kB / 1.068 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.247, allocations: 12 kB / 1.068 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/1.247, allocations: 20 kB / 1.068 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008865/1.248, allocations: 336.3 kB / 1.068 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.249, allocations: 479 kB / 1.069 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.249, allocations: 0 / 1.069 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/1.249, allocations: 0 / 1.069 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/1.249, allocations: 31.28 kB / 1.069 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/1.253, allocations: 2.331 MB / 1.071 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/1.254, allocations: 249.3 kB / 1.071 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.254, allocations: 103.3 kB / 1.071 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/1.254, allocations: 7.953 kB / 1.071 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.254, allocations: 38.06 kB / 1.071 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 5.189e-06/1.254, allocations: 0 / 1.071 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002357/1.256, allocations: 0.7823 MB / 1.072 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/1.256, allocations: 59.41 kB / 1.072 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.257, allocations: 227.1 kB / 1.072 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.257, allocations: 29.64 kB / 1.072 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/1.257, allocations: 230.7 kB / 1.073 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/1.257, allocations: 83.19 kB / 1.073 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.257, allocations: 0 / 1.073 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.257, allocations: 336.7 kB / 1.073 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/1.257, allocations: 91.06 kB / 1.073 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/1.258, allocations: 172.6 kB / 1.073 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/1.258, allocations: 131.8 kB / 1.073 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.258, allocations: 0 / 1.073 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0011/1.259, allocations: 394.1 kB / 1.074 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.259, allocations: 4 kB / 1.074 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.259, allocations: 4 kB / 1.074 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/1.26, allocations: 90.48 kB / 1.074 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/1.26, allocations: 64.66 kB / 1.074 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/1.264, allocations: 3.904 MB / 1.078 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/1.265, allocations: 8.219 kB / 1.078 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/1.265, allocations: 11.94 kB / 1.078 GB, free: 13.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.265, allocations: 123.6 kB / 1.078 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/1.265, allocations: 27.72 kB / 1.078 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/1.265, allocations: 31.39 kB / 1.078 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.265, allocations: 4 kB / 1.078 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.265, allocations: 0 / 1.078 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.265, allocations: 7.938 kB / 1.078 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/1.266, allocations: 343.9 kB / 1.078 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.266, allocations: 0 / 1.078 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/1.266, allocations: 31.92 kB / 1.078 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/1.267, allocations: 87.44 kB / 1.078 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.267, allocations: 4 kB / 1.078 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/1.271, allocations: 3.89 MB / 1.082 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/1.271, allocations: 4.031 kB / 1.082 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.272, allocations: 0.5218 MB / 1.083 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/1.272, allocations: 123.8 kB / 1.083 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/1.272, allocations: 3.953 kB / 1.083 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/1.273, allocations: 8 kB / 1.083 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/1.273, allocations: 16.03 kB / 1.083 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/1.273, allocations: 15.56 kB / 1.083 GB, free: 8.188 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002651/1.273, allocations: 171.9 kB / 1.083 GB, free: 8.051 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-07/1.273, allocations: 0 / 1.083 GB, free: 8.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006863/1.274, allocations: 88 kB / 1.083 GB, free: 7.965 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/1.274, allocations: 111.7 kB / 1.083 GB, free: 7.848 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.275, allocations: 0.5615 MB / 1.084 GB, free: 7.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.275, allocations: 3.5 kB / 1.084 GB, free: 7.336 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/1.276, allocations: 444.1 kB / 1.084 GB, free: 6.914 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/1.276, allocations: 54.39 kB / 1.084 GB, free: 6.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.278, allocations: 0.4906 MB / 1.085 GB, free: 6.406 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/1.278, allocations: 0.8438 MB / 1.086 GB, free: 5.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003714/1.279, allocations: 51.25 kB / 1.086 GB, free: 5.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/1.279, allocations: 27.44 kB / 1.086 GB, free: 5.473 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.279, allocations: 0 / 1.086 GB, free: 5.473 MB / 0.698 GB Notification: Performance of Templates: time 0.01226/1.291, allocations: 3.682 MB / 1.089 GB, free: 1.832 MB / 0.698 GB