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.082/2.082, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.00152, allocations: 174.8 kB / 325.6 MB, free: 2.836 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.307/2.307, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.00115/0.00115, allocations: 98.67 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004677, allocations: 10.12 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.157, allocations: 164.4 MB / 1.059 GB, free: 66.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.157, allocations: 91.61 kB / 1.06 GB, free: 66.51 MB / 0.698 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.07122/1.228, allocations: 17.94 MB / 1.077 GB, free: 64.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.229, allocations: 5.922 kB / 1.077 GB, free: 64.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.351e-05/1.229, allocations: 8.719 kB / 1.077 GB, free: 64.64 MB / 0.698 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.001566/1.23, allocations: 0.6562 MB / 1.078 GB, free: 64.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.23, allocations: 9.406 kB / 1.078 GB, free: 64.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.232, allocations: 154.8 kB / 1.078 GB, free: 64.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.233, allocations: 346.7 kB / 1.078 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/1.233, allocations: 25.34 kB / 1.078 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.233, allocations: 29.88 kB / 1.078 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.235, allocations: 0.5229 MB / 1.079 GB, free: 63.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.235, allocations: 1.031 kB / 1.079 GB, free: 63.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/1.235, allocations: 18.91 kB / 1.079 GB, free: 63.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.309e-05/1.235, allocations: 26.94 kB / 1.079 GB, free: 63.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/1.236, allocations: 394.6 kB / 1.079 GB, free: 63.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/1.24, allocations: 2.404 MB / 1.082 GB, free: 61.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/1.241, allocations: 265.2 kB / 1.082 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/1.241, allocations: 6.547 kB / 1.082 GB, free: 61.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.241, allocations: 35.47 kB / 1.082 GB, free: 61.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.505e-06/1.241, allocations: 0 / 1.082 GB, free: 61.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.003134/1.244, allocations: 1.035 MB / 1.083 GB, free: 61.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.244, allocations: 55 kB / 1.083 GB, free: 61.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/1.245, allocations: 266.5 kB / 1.083 GB, free: 61.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/1.245, allocations: 30.7 kB / 1.083 GB, free: 61.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/1.245, allocations: 225.9 kB / 1.083 GB, free: 61.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/1.245, allocations: 87.5 kB / 1.083 GB, free: 61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/1.245, allocations: 3.562 kB / 1.083 GB, free: 61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/1.245, allocations: 339.3 kB / 1.084 GB, free: 60.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/1.245, allocations: 103.9 kB / 1.084 GB, free: 60.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/1.246, allocations: 189.1 kB / 1.084 GB, free: 60.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/1.246, allocations: 130.6 kB / 1.084 GB, free: 60.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.246, allocations: 1.531 kB / 1.084 GB, free: 60.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00117/1.247, allocations: 442.1 kB / 1.085 GB, free: 60.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.247, allocations: 6.125 kB / 1.085 GB, free: 60.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.247, allocations: 1.75 kB / 1.085 GB, free: 60.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.248, allocations: 98.52 kB / 1.085 GB, free: 60.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/1.248, allocations: 62.48 kB / 1.085 GB, free: 60.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/1.252, allocations: 4.112 MB / 1.089 GB, free: 56.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/1.253, allocations: 7.594 kB / 1.089 GB, free: 56.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/1.253, allocations: 11.72 kB / 1.089 GB, free: 56.62 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 () * Number of clocked 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.0004572/1.253, allocations: 180.9 kB / 1.089 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.253, allocations: 31.25 kB / 1.089 GB, free: 56.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/1.254, allocations: 44.5 kB / 1.089 GB, free: 56.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.254, allocations: 4.188 kB / 1.089 GB, free: 56.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.254, allocations: 6.156 kB / 1.089 GB, free: 56.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.254, allocations: 0 / 1.089 GB, free: 56.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/1.255, allocations: 393.7 kB / 1.089 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/1.255, allocations: 0 / 1.089 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/1.255, allocations: 38.52 kB / 1.089 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/1.256, allocations: 89.22 kB / 1.09 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/1.256, allocations: 3.312 kB / 1.09 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/1.261, allocations: 4.107 MB / 1.094 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.261, allocations: 3.938 kB / 1.094 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.263, allocations: 0.5486 MB / 1.094 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.263, allocations: 122.7 kB / 1.094 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/1.263, allocations: 3.438 kB / 1.094 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/1.264, allocations: 19.7 kB / 1.094 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.264, allocations: 18.55 kB / 1.094 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/1.264, allocations: 7.812 kB / 1.094 GB, free: 52.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004285/1.264, allocations: 207.8 kB / 1.094 GB, free: 52.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.02e-07/1.264, allocations: 0 / 1.094 GB, free: 52.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001045/1.265, allocations: 101.3 kB / 1.095 GB, free: 52.07 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 () * Number of clocked 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.0002123/1.266, allocations: 113.6 kB / 1.095 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001553/1.267, allocations: 0.5943 MB / 1.095 GB, free: 51.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.267, allocations: 0 / 1.095 GB, free: 51.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/1.268, allocations: 475.4 kB / 1.096 GB, free: 51.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/1.269, allocations: 70.41 kB / 1.096 GB, free: 51.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/1.272, allocations: 0.855 MB / 1.097 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.272, allocations: 0.8405 MB / 1.097 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000585/1.273, allocations: 60.02 kB / 1.098 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.273, allocations: 31.03 kB / 1.098 GB, free: 50.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.653e-06/1.273, allocations: 0 / 1.098 GB, free: 50.07 MB / 0.698 GB Notification: Performance of Templates: time 0.01891/1.292, allocations: 4.119 MB / 1.102 GB, free: 49.81 MB / 0.698 GB