Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.485/2.485, allocations: 253.2 MB / 260.6 MB, free: 7.391 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.00145/0.00145, allocations: 175.9 kB / 319.9 MB, free: 3.039 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.324/2.324, allocations: 205.5 MB / 0.5708 GB, free: 15.27 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.001472/0.001472, allocations: 101.1 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.802e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9659/1.168, allocations: 158.9 MB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.169, allocations: 88.62 kB / 1.044 GB, free: 12.54 MB / 0.6667 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/PartialTwoPortResistance.mo:13:3-13: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.0467/1.216, allocations: 11.65 MB / 1.055 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.773e-06/1.216, allocations: 0 / 1.055 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.403e-05/1.216, allocations: 8 kB / 1.055 GB, free: 2.988 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009882/1.217, allocations: 489.4 kB / 1.056 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.217, allocations: 16.02 kB / 1.056 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/1.218, allocations: 83.59 kB / 1.056 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/1.218, allocations: 246.2 kB / 1.056 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.218, allocations: 8 kB / 1.056 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/1.218, allocations: 8 kB / 1.056 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004888/1.219, allocations: 175.3 kB / 1.056 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/1.219, allocations: 279.7 kB / 1.057 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/1.219, allocations: 3.984 kB / 1.057 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.219, allocations: 0 / 1.057 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/1.22, allocations: 12.44 kB / 1.057 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/1.222, allocations: 1.437 MB / 1.058 GB, free: 260 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/1.222, allocations: 194.5 kB / 1.058 GB, free: 64 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/1.222, allocations: 35.92 kB / 1.058 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/1.222, allocations: 0 / 1.058 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/1.223, allocations: 30.56 kB / 1.058 GB, free: 16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/1.223, allocations: 0 / 1.058 GB, free: 16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0003976/1.223, allocations: 117.6 kB / 1.058 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.223, allocations: 51.41 kB / 1.058 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/1.223, allocations: 168.6 kB / 1.059 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.223, allocations: 33.58 kB / 1.059 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.223, allocations: 177.8 kB / 1.059 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/1.223, allocations: 27.52 kB / 1.059 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/1.224, allocations: 3.938 kB / 1.059 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.224, allocations: 326.4 kB / 1.059 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/1.224, allocations: 35.44 kB / 1.059 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/1.224, allocations: 102.4 kB / 1.059 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.224, allocations: 52.77 kB / 1.059 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.224, allocations: 0 / 1.059 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005234/1.225, allocations: 173 kB / 1.059 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.225, allocations: 10 kB / 1.059 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.225, allocations: 8.109 kB / 1.059 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/1.225, allocations: 24.59 kB / 1.059 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.225, allocations: 31.92 kB / 1.06 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/1.227, allocations: 1.277 MB / 1.061 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/1.227, allocations: 15.84 kB / 1.061 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/1.227, allocations: 8 kB / 1.061 GB, free: 13.37 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.227, allocations: 108.5 kB / 1.061 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/1.227, allocations: 15.81 kB / 1.061 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/1.227, allocations: 21.33 kB / 1.061 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/1.227, allocations: 3.953 kB / 1.061 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.227, allocations: 0 / 1.061 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.227, allocations: 4 kB / 1.061 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/1.228, allocations: 405.9 kB / 1.061 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/1.228, allocations: 7.953 kB / 1.061 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.228, allocations: 12 kB / 1.061 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/1.228, allocations: 20.66 kB / 1.061 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.229, allocations: 4 kB / 1.061 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/1.23, allocations: 1.262 MB / 1.063 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.23, allocations: 0 / 1.063 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/1.23, allocations: 223.1 kB / 1.063 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.23, allocations: 92.91 kB / 1.063 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/1.23, allocations: 4.188 kB / 1.063 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/1.231, allocations: 19.8 kB / 1.063 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/1.231, allocations: 4 kB / 1.063 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.231, allocations: 0 / 1.063 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001654/1.231, allocations: 147.4 kB / 1.063 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.231, allocations: 0 / 1.063 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005205/1.231, allocations: 47.84 kB / 1.063 GB, free: 10.93 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/1.232, allocations: 101.1 kB / 1.063 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005195/1.232, allocations: 204 kB / 1.063 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.232, allocations: 0 / 1.063 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/1.232, allocations: 145 kB / 1.064 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/1.233, allocations: 37.56 kB / 1.064 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/1.234, allocations: 228.6 kB / 1.064 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/1.234, allocations: 0.7589 MB / 1.065 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001866/1.234, allocations: 25.19 kB / 1.065 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/1.234, allocations: 19.42 kB / 1.065 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/1.234, allocations: 0 / 1.065 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of Templates: time 0.006891/1.241, allocations: 1.559 MB / 1.066 GB, free: 7.891 MB / 0.6823 GB