Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.948/3.948, allocations: 433.4 MB / 440.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.693e-05, allocations: 4 kB / 0.5325 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5061, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.731, allocations: 151 MB / 0.7763 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.7313, allocations: 83.95 kB / 0.7764 GB, free: 8.492 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.04227/0.7736, allocations: 11.61 MB / 0.7878 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.137e-06/0.7737, allocations: 0 / 0.7878 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.7737, allocations: 4 kB / 0.7878 GB, free: 12.71 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.0008087/0.7745, allocations: 498.2 kB / 0.7882 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7746, allocations: 12.02 kB / 0.7882 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/0.7754, allocations: 79.66 kB / 0.7883 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.7759, allocations: 246.7 kB / 0.7886 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.7759, allocations: 12 kB / 0.7886 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.776, allocations: 12 kB / 0.7886 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004309/0.7764, allocations: 172.8 kB / 0.7887 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.777, allocations: 271.5 kB / 0.789 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.777, allocations: 0 / 0.789 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.777, allocations: 4 kB / 0.789 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.7771, allocations: 20.42 kB / 0.789 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.7791, allocations: 1.439 MB / 0.7904 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.7797, allocations: 191.6 kB / 0.7906 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.7798, allocations: 32.86 kB / 0.7906 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.7798, allocations: 4 kB / 0.7906 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.7798, allocations: 38.5 kB / 0.7907 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.946e-06/0.7799, allocations: 0 / 0.7907 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.7803, allocations: 106.4 kB / 0.7908 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7803, allocations: 59.34 kB / 0.7908 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.7806, allocations: 173.7 kB / 0.791 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.4e-05/0.7806, allocations: 25.7 kB / 0.791 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.7807, allocations: 179.6 kB / 0.7912 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.7808, allocations: 27.64 kB / 0.7912 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-06/0.7808, allocations: 0 / 0.7912 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.781, allocations: 330.8 kB / 0.7915 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.7811, allocations: 32 kB / 0.7916 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.7812, allocations: 100.6 kB / 0.7917 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.7814, allocations: 49.64 kB / 0.7917 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-06/0.7814, allocations: 0 / 0.7917 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004647/0.7819, allocations: 178.1 kB / 0.7919 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7819, allocations: 7.953 kB / 0.7919 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7819, allocations: 4 kB / 0.7919 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.7821, allocations: 20.84 kB / 0.7919 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.7823, allocations: 44.2 kB / 0.792 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.7837, allocations: 1.264 MB / 0.7932 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.7839, allocations: 20.03 kB / 0.7932 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.784, allocations: 12 kB / 0.7932 GB, free: 6.598 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 () * 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.0001178/0.7841, allocations: 101 kB / 0.7933 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.7842, allocations: 15.81 kB / 0.7933 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.7843, allocations: 21.78 kB / 0.7934 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.7843, allocations: 4 kB / 0.7934 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-06/0.7843, allocations: 0 / 0.7934 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-06/0.7843, allocations: 4 kB / 0.7934 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/0.7851, allocations: 427.9 kB / 0.7938 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.7851, allocations: 0 / 0.7938 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7853, allocations: 8 kB / 0.7938 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.7854, allocations: 24.78 kB / 0.7938 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.7854, allocations: 0 / 0.7938 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.7868, allocations: 1.252 MB / 0.795 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.564e-06/0.7868, allocations: 0 / 0.795 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.7872, allocations: 224.2 kB / 0.7952 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.7874, allocations: 104.8 kB / 0.7953 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.7874, allocations: 4 kB / 0.7953 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7876, allocations: 8.078 kB / 0.7954 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.7877, allocations: 7.938 kB / 0.7954 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.7877, allocations: 0 / 0.7954 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001695/0.7879, allocations: 140.5 kB / 0.7955 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.5e-07/0.7879, allocations: 0 / 0.7955 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005/0.7884, allocations: 51.84 kB / 0.7955 GB, free: 4.012 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 () * 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.0001544/0.7886, allocations: 96.42 kB / 0.7956 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.7892, allocations: 209.8 kB / 0.7958 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.755e-06/0.7892, allocations: 4.25 kB / 0.7958 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.7894, allocations: 141.8 kB / 0.796 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.7898, allocations: 26.38 kB / 0.796 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.7905, allocations: 230 kB / 0.7962 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.791, allocations: 0.767 MB / 0.797 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.7912, allocations: 25.66 kB / 0.797 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.7913, allocations: 15.42 kB / 0.797 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of SimCode: time 5.459e-06/0.7913, allocations: 0 / 0.797 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of Templates: time 0.006367/0.7977, allocations: 1.562 MB / 0.7985 GB, free: 0.8828 MB / 0.6667 GB