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.81/2.81, allocations: 252.6 MB / 265.2 MB, free: 5.703 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.001447/0.001446, allocations: 179.9 kB / 324.5 MB, free: 14.4 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.227/2.227, allocations: 205.4 MB / 0.5753 GB, free: 10.49 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.001111/0.001111, allocations: 94.69 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.427e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2092, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.107, allocations: 158.7 MB / 1.05 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/1.108, allocations: 92.05 kB / 1.05 GB, free: 9.914 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.04656/1.154, allocations: 11.7 MB / 1.061 GB, free: 252 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.034e-06/1.154, allocations: 0 / 1.061 GB, free: 252 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.155, allocations: 4 kB / 1.061 GB, free: 248 kB / 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.0009925/1.156, allocations: 496.5 kB / 1.062 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.156, allocations: 12.03 kB / 1.062 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/1.157, allocations: 87.58 kB / 1.062 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/1.157, allocations: 251.9 kB / 1.062 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/1.157, allocations: 11.75 kB / 1.062 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/1.157, allocations: 19.62 kB / 1.062 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/1.158, allocations: 308.3 kB / 1.062 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.158, allocations: 0 / 1.062 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/1.158, allocations: 10.19 kB / 1.062 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/1.158, allocations: 12.44 kB / 1.062 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/1.159, allocations: 198.4 kB / 1.063 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.161, allocations: 1.492 MB / 1.064 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/1.162, allocations: 197.2 kB / 1.064 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/1.162, allocations: 34.78 kB / 1.064 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/1.162, allocations: 160 / 1.064 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.162, allocations: 38.44 kB / 1.064 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/1.162, allocations: 4 kB / 1.064 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.000442/1.162, allocations: 122 kB / 1.065 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/1.162, allocations: 59.34 kB / 1.065 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/1.163, allocations: 175.5 kB / 1.065 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/1.163, allocations: 33.52 kB / 1.065 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.163, allocations: 172.8 kB / 1.065 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/1.163, allocations: 30.45 kB / 1.065 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.163, allocations: 3.5 kB / 1.065 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.163, allocations: 330 kB / 1.065 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.163, allocations: 34.94 kB / 1.065 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/1.164, allocations: 97.73 kB / 1.065 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.164, allocations: 54.34 kB / 1.065 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.164, allocations: 4 kB / 1.065 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005195/1.164, allocations: 207.3 kB / 1.066 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.164, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.164, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/1.165, allocations: 24.34 kB / 1.066 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/1.165, allocations: 35.91 kB / 1.066 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/1.166, allocations: 1.314 MB / 1.067 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/1.167, allocations: 23.56 kB / 1.067 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/1.167, allocations: 8 kB / 1.067 GB, free: 10.43 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.0001212/1.167, allocations: 109.5 kB / 1.067 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/1.167, allocations: 19.77 kB / 1.067 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/1.167, allocations: 24.52 kB / 1.067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.167, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.167, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.167, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/1.168, allocations: 472 kB / 1.068 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.168, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.168, allocations: 16.05 kB / 1.068 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/1.168, allocations: 24.47 kB / 1.068 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/1.168, allocations: 3.984 kB / 1.068 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.17, allocations: 1.308 MB / 1.069 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.17, allocations: 0 / 1.069 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/1.17, allocations: 228.8 kB / 1.069 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/1.17, allocations: 100.2 kB / 1.069 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/1.17, allocations: 3.938 kB / 1.069 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/1.17, allocations: 11 kB / 1.069 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/1.171, allocations: 7.984 kB / 1.069 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/1.171, allocations: 3.953 kB / 1.069 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002061/1.171, allocations: 156.8 kB / 1.069 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.535e-06/1.171, allocations: 0 / 1.069 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005127/1.171, allocations: 58.91 kB / 1.07 GB, free: 7.84 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.0001551/1.171, allocations: 97.12 kB / 1.07 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005668/1.172, allocations: 215.9 kB / 1.07 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.172, allocations: 4.125 kB / 1.07 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/1.172, allocations: 152.1 kB / 1.07 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/1.173, allocations: 35.12 kB / 1.07 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.173, allocations: 232.6 kB / 1.07 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/1.174, allocations: 0.7693 MB / 1.071 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001865/1.174, allocations: 25.31 kB / 1.071 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/1.174, allocations: 19 kB / 1.071 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/1.174, allocations: 0 / 1.071 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of Templates: time 0.007383/1.182, allocations: 1.754 MB / 1.073 GB, free: 4.582 MB / 0.6823 GB