Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00429/0.004297, allocations: 230.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.001285/0.001284, allocations: 175.2 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.767/3.767, allocations: 389.1 MB / 406.5 MB, free: 11.73 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.097/4.097, allocations: 472.3 MB / 0.9024 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006437/0.0006441, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1816, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7985/0.9802, allocations: 145.4 MB / 1.247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.9805, allocations: 93.39 kB / 1.247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06216/1.043, allocations: 16.25 MB / 1.263 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/1.043, allocations: 0 / 1.263 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.471e-05/1.043, allocations: 8 kB / 1.263 GB, free: 14.77 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.001181/1.044, allocations: 0.5335 MB / 1.263 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.044, allocations: 8.031 kB / 1.263 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/1.045, allocations: 93.34 kB / 1.263 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/1.046, allocations: 267 kB / 1.263 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.046, allocations: 8.312 kB / 1.263 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/1.046, allocations: 19.8 kB / 1.263 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/1.047, allocations: 380.3 kB / 1.264 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/1.047, allocations: 0 / 1.264 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/1.047, allocations: 11.48 kB / 1.264 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/1.047, allocations: 23.38 kB / 1.264 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/1.048, allocations: 333.8 kB / 1.264 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/1.051, allocations: 1.732 MB / 1.266 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.052, allocations: 341.6 kB / 1.266 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/1.053, allocations: 157.4 kB / 1.266 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.053, allocations: 88.91 kB / 1.266 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.053, allocations: 34.56 kB / 1.266 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.005e-06/1.053, allocations: 3.031 kB / 1.266 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.002221/1.055, allocations: 0.6042 MB / 1.267 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.055, allocations: 81.11 kB / 1.267 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/1.055, allocations: 196.8 kB / 1.267 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/1.056, allocations: 32.95 kB / 1.267 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.056, allocations: 161.5 kB / 1.267 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/1.056, allocations: 78.22 kB / 1.268 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/1.056, allocations: 3.875 kB / 1.268 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.056, allocations: 330.5 kB / 1.268 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/1.056, allocations: 135.3 kB / 1.268 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/1.057, allocations: 221.7 kB / 1.268 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/1.057, allocations: 160.5 kB / 1.268 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.057, allocations: 4 kB / 1.268 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001321/1.059, allocations: 432.4 kB / 1.269 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.059, allocations: 174.4 kB / 1.269 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.059, allocations: 0 / 1.269 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/1.059, allocations: 53.61 kB / 1.269 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/1.06, allocations: 71.88 kB / 1.269 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.062, allocations: 1.494 MB / 1.271 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/1.062, allocations: 33.81 kB / 1.271 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/1.062, allocations: 15.12 kB / 1.271 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.062, allocations: 4 kB / 1.271 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/1.064, allocations: 373.9 kB / 1.271 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.064, allocations: 4 kB / 1.271 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/1.064, allocations: 39.3 kB / 1.271 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/1.065, allocations: 67.83 kB / 1.271 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/1.067, allocations: 1.491 MB / 1.273 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/1.067, allocations: 31.69 kB / 1.273 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/1.067, allocations: 10.41 kB / 1.273 GB, free: 5.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.067, allocations: 228.2 kB / 1.273 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.068, allocations: 15.81 kB / 1.273 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.069, allocations: 374.7 kB / 1.273 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.069, allocations: 8.094 kB / 1.273 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.069, allocations: 0 / 1.273 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.069, allocations: 5.234 kB / 1.273 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.072, allocations: 0.9696 MB / 1.274 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/1.072, allocations: 0 / 1.274 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/1.072, allocations: 62.36 kB / 1.274 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/1.072, allocations: 36.39 kB / 1.274 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.072, allocations: 3.312 kB / 1.274 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/1.074, allocations: 1.399 MB / 1.276 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.074, allocations: 6.875 kB / 1.276 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/1.076, allocations: 0.5364 MB / 1.276 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/1.076, allocations: 130.7 kB / 1.276 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/1.076, allocations: 14.98 kB / 1.276 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/1.076, allocations: 27.05 kB / 1.276 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.076, allocations: 22.92 kB / 1.276 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.076, allocations: 8 kB / 1.276 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002293/1.077, allocations: 150.2 kB / 1.276 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.077, allocations: 0 / 1.276 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009621/1.078, allocations: 123.2 kB / 1.277 GB, free: 1.328 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/1.078, allocations: 136.5 kB / 1.277 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002162/1.08, allocations: 0.7432 MB / 1.277 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.08, allocations: 4 kB / 1.277 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006742/1.081, allocations: 270.6 kB / 1.278 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/1.082, allocations: 30.61 kB / 1.278 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.083, allocations: 0.6769 MB / 1.278 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.084, allocations: 0.7736 MB / 1.279 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004903/1.084, allocations: 93.14 kB / 1.279 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.084, allocations: 23.81 kB / 1.279 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.084, allocations: 2.781 kB / 1.279 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.01036/1.095, allocations: 2.999 MB / 1.282 GB, free: 11.91 MB / 0.6511 GB