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.009076/0.009076, allocations: 111.8 kB / 15.06 MB, free: 5.949 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.001145/0.001145, allocations: 181.3 kB / 15.94 MB, free: 5.902 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 1.916/1.916, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.252/2.252, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.552, allocations: 98.7 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.7713, allocations: 151.7 MB / 0.8315 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.7717, allocations: 95.94 kB / 0.8316 GB, free: 6.312 MB / 0.6511 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.04284/0.8145, allocations: 11.75 MB / 0.8431 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.303e-06/0.8146, allocations: 0 / 0.8431 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.8146, allocations: 4 kB / 0.8431 GB, free: 10.38 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.0009045/0.8155, allocations: 0.5028 MB / 0.8436 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8156, allocations: 15.97 kB / 0.8436 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.8165, allocations: 79.66 kB / 0.8436 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.8169, allocations: 254.1 kB / 0.8439 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.4e-05/0.817, allocations: 12.44 kB / 0.8439 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.817, allocations: 19.98 kB / 0.8439 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.8177, allocations: 316.2 kB / 0.8442 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.8178, allocations: 0 / 0.8442 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.8178, allocations: 8 kB / 0.8442 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.8179, allocations: 12.44 kB / 0.8442 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.8184, allocations: 221.5 kB / 0.8444 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.8205, allocations: 1.486 MB / 0.8459 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.8211, allocations: 207.6 kB / 0.8461 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.8211, allocations: 4 kB / 0.8461 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.8211, allocations: 34.56 kB / 0.8461 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.06e-06/0.8211, allocations: 0 / 0.8461 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0007526/0.8219, allocations: 263.3 kB / 0.8464 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.822, allocations: 59.52 kB / 0.8464 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.8222, allocations: 183 kB / 0.8466 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.8223, allocations: 25.7 kB / 0.8466 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.8224, allocations: 183.5 kB / 0.8468 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.8225, allocations: 27.64 kB / 0.8468 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-06/0.8225, allocations: 0 / 0.8468 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8227, allocations: 326.8 kB / 0.8472 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.8228, allocations: 47.97 kB / 0.8472 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.823, allocations: 112.6 kB / 0.8473 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.8232, allocations: 63.97 kB / 0.8474 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8232, allocations: 0 / 0.8474 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005655/0.8238, allocations: 214 kB / 0.8476 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8239, allocations: 7.938 kB / 0.8476 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8239, allocations: 4.391 kB / 0.8476 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.8241, allocations: 24.84 kB / 0.8476 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.8243, allocations: 40.2 kB / 0.8476 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.8258, allocations: 1.323 MB / 0.8489 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.826, allocations: 23.91 kB / 0.849 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.8261, allocations: 7.984 kB / 0.849 GB, free: 3.777 MB / 0.6667 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.0002269/0.8263, allocations: 153.7 kB / 0.8491 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.8264, allocations: 23.75 kB / 0.8491 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.8265, allocations: 17.41 kB / 0.8492 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-06/0.8265, allocations: 0 / 0.8492 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-06/0.8265, allocations: 0 / 0.8492 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-06/0.8265, allocations: 4 kB / 0.8492 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.8274, allocations: 479.2 kB / 0.8496 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.8274, allocations: 0 / 0.8496 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.8275, allocations: 15.98 kB / 0.8496 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.8277, allocations: 24.94 kB / 0.8497 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8277, allocations: 7.938 kB / 0.8497 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.8291, allocations: 1.319 MB / 0.8509 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8291, allocations: 0 / 0.8509 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.8296, allocations: 232.1 kB / 0.8512 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8297, allocations: 100.9 kB / 0.8513 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.8297, allocations: 0 / 0.8513 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.8299, allocations: 16.17 kB / 0.8513 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.83, allocations: 7.984 kB / 0.8513 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.83, allocations: 4 kB / 0.8513 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001904/0.8302, allocations: 145.5 kB / 0.8514 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.89e-07/0.8302, allocations: 0 / 0.8514 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004948/0.8307, allocations: 55.84 kB / 0.8515 GB, free: 0.957 MB / 0.6667 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.0001464/0.8309, allocations: 103.2 kB / 0.8516 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.8315, allocations: 234.5 kB / 0.8518 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8315, allocations: 0 / 0.8518 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.8318, allocations: 167.2 kB / 0.852 GB, free: 440 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.8322, allocations: 35.97 kB / 0.852 GB, free: 408 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.8332, allocations: 476.6 kB / 0.8525 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.8337, allocations: 0.7635 MB / 0.8532 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.8339, allocations: 25.53 kB / 0.8532 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.8339, allocations: 15.44 kB / 0.8532 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.736e-06/0.8339, allocations: 0 / 0.8532 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.006748/0.8407, allocations: 1.737 MB / 0.8549 GB, free: 13.35 MB / 0.6823 GB