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.324/2.324, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001611/0.001611, allocations: 183.3 kB / 325.6 MB, free: 2.816 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.459/2.459, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001201/0.001201, allocations: 99.64 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006131/0.0006132, allocations: 12.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2445, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2942/0.5388, allocations: 158.7 MB / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004814/0.5394, allocations: 95.94 kB / 1.054 GB, free: 2.414 MB / 0.698 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.6874/1.227, allocations: 11.79 MB / 1.065 GB, free: 155.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.227, allocations: 0 / 1.065 GB, free: 155.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.721e-05/1.227, allocations: 6.141 kB / 1.066 GB, free: 155.1 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001064/1.228, allocations: 0.5063 MB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.228, allocations: 9.875 kB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/1.229, allocations: 85.75 kB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/1.23, allocations: 252.2 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.23, allocations: 16.2 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/1.23, allocations: 18.97 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/1.231, allocations: 309.1 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.231, allocations: 0.9375 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/1.231, allocations: 11.12 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/1.231, allocations: 14.48 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/1.231, allocations: 214.4 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/1.234, allocations: 1.503 MB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/1.234, allocations: 203 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/1.234, allocations: 0.625 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/1.234, allocations: 35.94 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 4.128e-06/1.234, allocations: 4 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008558/1.235, allocations: 263.1 kB / 1.069 GB, free: 152.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.235, allocations: 56.3 kB / 1.069 GB, free: 152.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/1.236, allocations: 185.6 kB / 1.069 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/1.236, allocations: 30.55 kB / 1.069 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.236, allocations: 174.1 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/1.236, allocations: 24.39 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/1.236, allocations: 4.719 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/1.236, allocations: 329.8 kB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/1.236, allocations: 43.28 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.236, allocations: 114 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.236, allocations: 61.56 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.237, allocations: 0.875 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006076/1.237, allocations: 212.7 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.237, allocations: 5.906 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.237, allocations: 1.969 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/1.237, allocations: 29.42 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/1.238, allocations: 37.39 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/1.239, allocations: 1.315 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/1.239, allocations: 23.59 kB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/1.239, allocations: 9.656 kB / 1.071 GB, free: 150.7 MB / 0.698 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 () * Number of clocked 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.0002215/1.239, allocations: 153.5 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/1.24, allocations: 19.95 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/1.24, allocations: 21.02 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.24, allocations: 1 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.24, allocations: 1.062 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.24, allocations: 0 / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/1.24, allocations: 481.9 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.241, allocations: 0 / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.241, allocations: 14.38 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/1.241, allocations: 22.47 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.241, allocations: 4.219 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/1.242, allocations: 1.324 MB / 1.073 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.242, allocations: 0.8438 kB / 1.073 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/1.242, allocations: 243.7 kB / 1.074 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/1.242, allocations: 101.9 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/1.243, allocations: 1.188 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.243, allocations: 13.81 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/1.243, allocations: 2.906 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.243, allocations: 10.34 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001889/1.243, allocations: 150.7 kB / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.243, allocations: 0 / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005171/1.244, allocations: 56.19 kB / 1.074 GB, free: 148.6 MB / 0.698 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 (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.000124/1.244, allocations: 98.59 kB / 1.074 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006444/1.244, allocations: 228.6 kB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.244, allocations: 0.6875 kB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/1.245, allocations: 155.7 kB / 1.074 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/1.245, allocations: 39.97 kB / 1.074 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/1.246, allocations: 472.8 kB / 1.075 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.246, allocations: 0.7607 MB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001949/1.247, allocations: 28.64 kB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/1.247, allocations: 14.75 kB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.247, allocations: 0 / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of Templates: time 0.00703/1.254, allocations: 1.747 MB / 1.077 GB, free: 147.2 MB / 0.698 GB