Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004441/0.004445, allocations: 231.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001271/0.001271, allocations: 175.3 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.801/3.801, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.152/4.152, allocations: 472.3 MB / 0.9024 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005039, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1844, allocations: 98.71 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9117/1.096, allocations: 151.7 MB / 1.253 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/1.097, allocations: 98.03 kB / 1.253 GB, free: 6.336 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.04474/1.141, allocations: 11.75 MB / 1.264 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/1.141, allocations: 0 / 1.264 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.035e-05/1.141, allocations: 8 kB / 1.264 GB, free: 12.84 MB / 0.6355 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.001078/1.143, allocations: 0.5018 MB / 1.265 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.143, allocations: 11.5 kB / 1.265 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/1.144, allocations: 85.36 kB / 1.265 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/1.144, allocations: 250.2 kB / 1.265 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/1.144, allocations: 18.56 kB / 1.265 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/1.144, allocations: 18.31 kB / 1.265 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/1.145, allocations: 309.1 kB / 1.266 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.145, allocations: 0 / 1.266 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/1.145, allocations: 13.62 kB / 1.266 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/1.145, allocations: 19.33 kB / 1.266 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/1.146, allocations: 215.8 kB / 1.266 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/1.148, allocations: 1.489 MB / 1.267 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/1.149, allocations: 201.5 kB / 1.267 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/1.149, allocations: 42.95 kB / 1.267 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.149, allocations: 9.406 kB / 1.267 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.149, allocations: 34.62 kB / 1.267 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.066e-06/1.149, allocations: 1.094 kB / 1.267 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0008506/1.15, allocations: 255 kB / 1.268 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.15, allocations: 58.48 kB / 1.268 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/1.15, allocations: 207.8 kB / 1.268 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.15, allocations: 29.64 kB / 1.268 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.151, allocations: 177.2 kB / 1.268 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/1.151, allocations: 30.81 kB / 1.268 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/1.151, allocations: 6.938 kB / 1.268 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.151, allocations: 323.4 kB / 1.269 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.151, allocations: 49.22 kB / 1.269 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.151, allocations: 105.1 kB / 1.269 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/1.151, allocations: 59.45 kB / 1.269 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.151, allocations: 0.8438 kB / 1.269 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006193/1.152, allocations: 218.3 kB / 1.269 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.152, allocations: 5.438 kB / 1.269 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.152, allocations: 4 kB / 1.269 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/1.152, allocations: 31.19 kB / 1.269 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/1.153, allocations: 39.36 kB / 1.269 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/1.154, allocations: 1.312 MB / 1.27 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/1.154, allocations: 19.72 kB / 1.27 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/1.154, allocations: 10.7 kB / 1.27 GB, free: 6.84 MB / 0.6355 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.0002397/1.155, allocations: 147.1 kB / 1.27 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/1.155, allocations: 20.58 kB / 1.27 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/1.155, allocations: 19.53 kB / 1.271 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.155, allocations: 5.797 kB / 1.271 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.155, allocations: 0 / 1.271 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.155, allocations: 0 / 1.271 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/1.156, allocations: 478.2 kB / 1.271 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/1.156, allocations: 3.984 kB / 1.271 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.156, allocations: 9.281 kB / 1.271 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/1.156, allocations: 28.16 kB / 1.271 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.156, allocations: 0.9062 kB / 1.271 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/1.157, allocations: 1.31 MB / 1.272 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.157, allocations: 9.938 kB / 1.272 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.158, allocations: 237.5 kB / 1.273 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.158, allocations: 100.5 kB / 1.273 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/1.158, allocations: 7.391 kB / 1.273 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.158, allocations: 4 kB / 1.273 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/1.158, allocations: 15.19 kB / 1.273 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.158, allocations: 4 kB / 1.273 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001933/1.159, allocations: 146.8 kB / 1.273 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.159, allocations: 0 / 1.273 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005097/1.159, allocations: 55.59 kB / 1.273 GB, free: 4.242 MB / 0.6355 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.0001518/1.159, allocations: 108.3 kB / 1.273 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000673/1.16, allocations: 230.8 kB / 1.273 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.16, allocations: 0 / 1.273 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/1.16, allocations: 168.6 kB / 1.273 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/1.161, allocations: 35.7 kB / 1.273 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.162, allocations: 481 kB / 1.274 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.162, allocations: 0.7587 MB / 1.275 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001926/1.162, allocations: 27.88 kB / 1.275 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/1.162, allocations: 15.44 kB / 1.275 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.162, allocations: 0 / 1.275 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of Templates: time 0.007614/1.17, allocations: 1.741 MB / 1.276 GB, free: 0.8281 MB / 0.6355 GB