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.304/2.304, allocations: 252.6 MB / 265.2 MB, free: 5.781 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.001508/0.001508, allocations: 179.8 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.097/2.097, allocations: 205.4 MB / 0.5754 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.001127/0.001126, allocations: 82.72 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.476e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2008, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8739/1.075, allocations: 164.4 MB / 1.055 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.075, allocations: 83.64 kB / 1.055 GB, free: 4.461 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.07385/1.149, allocations: 17.82 MB / 1.073 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/1.149, allocations: 0 / 1.073 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.19e-05/1.149, allocations: 8 kB / 1.073 GB, free: 5.586 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.001425/1.151, allocations: 0.6195 MB / 1.073 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.151, allocations: 12.03 kB / 1.074 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.152, allocations: 155.6 kB / 1.074 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/1.153, allocations: 341.6 kB / 1.074 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/1.153, allocations: 24.08 kB / 1.074 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/1.153, allocations: 38.19 kB / 1.074 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.155, allocations: 0.5085 MB / 1.075 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.155, allocations: 0 / 1.075 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/1.155, allocations: 21.06 kB / 1.075 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/1.155, allocations: 24.77 kB / 1.075 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/1.156, allocations: 379.4 kB / 1.075 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/1.16, allocations: 2.407 MB / 1.077 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/1.161, allocations: 269.5 kB / 1.078 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/1.161, allocations: 110.4 kB / 1.078 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/1.161, allocations: 7.938 kB / 1.078 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.161, allocations: 33.81 kB / 1.078 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/1.161, allocations: 0 / 1.078 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002731/1.164, allocations: 0.8538 MB / 1.079 GB, free: 256 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.164, allocations: 59.41 kB / 1.079 GB, free: 184 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/1.164, allocations: 263.5 kB / 1.079 GB, free: 15.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.164, allocations: 28.14 kB / 1.079 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.165, allocations: 230.2 kB / 1.079 GB, free: 15.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/1.165, allocations: 84.94 kB / 1.079 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/1.165, allocations: 7.5 kB / 1.079 GB, free: 15.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.165, allocations: 336.4 kB / 1.079 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.165, allocations: 102.1 kB / 1.08 GB, free: 15.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/1.166, allocations: 186.2 kB / 1.08 GB, free: 15.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/1.166, allocations: 124 kB / 1.08 GB, free: 15.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.166, allocations: 4 kB / 1.08 GB, free: 15.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0012/1.167, allocations: 432.5 kB / 1.08 GB, free: 14.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.167, allocations: 4 kB / 1.08 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.167, allocations: 4 kB / 1.08 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/1.168, allocations: 101.4 kB / 1.08 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/1.168, allocations: 63.53 kB / 1.08 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/1.173, allocations: 4.064 MB / 1.084 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/1.173, allocations: 11.41 kB / 1.084 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/1.173, allocations: 11.19 kB / 1.084 GB, free: 10.23 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.0001566/1.174, allocations: 126.6 kB / 1.085 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/1.174, allocations: 27.72 kB / 1.085 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.174, allocations: 47.92 kB / 1.085 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.174, allocations: 4.094 kB / 1.085 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.174, allocations: 4 kB / 1.085 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.174, allocations: 7.922 kB / 1.085 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/1.175, allocations: 401.6 kB / 1.085 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.175, allocations: 0 / 1.085 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/1.175, allocations: 27.98 kB / 1.085 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/1.175, allocations: 91.48 kB / 1.085 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/1.175, allocations: 7.312 kB / 1.085 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/1.18, allocations: 4.059 MB / 1.089 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.18, allocations: 0 / 1.089 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/1.181, allocations: 0.5456 MB / 1.09 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/1.181, allocations: 123.7 kB / 1.09 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/1.181, allocations: 3.188 kB / 1.09 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/1.182, allocations: 19.17 kB / 1.09 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/1.182, allocations: 22.69 kB / 1.09 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/1.182, allocations: 7.875 kB / 1.09 GB, free: 4.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003277/1.182, allocations: 211.1 kB / 1.09 GB, free: 4.531 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.182, allocations: 3.938 kB / 1.09 GB, free: 4.527 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006627/1.183, allocations: 101.9 kB / 1.09 GB, free: 4.438 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.0001952/1.183, allocations: 106.2 kB / 1.09 GB, free: 4.324 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.184, allocations: 0.5913 MB / 1.091 GB, free: 3.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.184, allocations: 0 / 1.091 GB, free: 3.777 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/1.185, allocations: 466.2 kB / 1.091 GB, free: 3.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/1.186, allocations: 73.27 kB / 1.091 GB, free: 3.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.187, allocations: 0.5099 MB / 1.092 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/1.188, allocations: 0.8363 MB / 1.093 GB, free: 1.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003909/1.188, allocations: 62.91 kB / 1.093 GB, free: 1.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/1.188, allocations: 27.42 kB / 1.093 GB, free: 1.859 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.188, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.698 GB Notification: Performance of Templates: time 0.01363/1.202, allocations: 4.125 MB / 1.097 GB, free: 13.79 MB / 0.7136 GB