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.009075/0.00908, allocations: 107.8 kB / 15.06 MB, free: 5.562 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.001967/0.001967, allocations: 180.5 kB / 15.95 MB, free: 5.523 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 2.021/2.021, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.387/2.387, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 8 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5869, allocations: 98.72 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003329/0.5903, allocations: 2.44 MB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.5931, allocations: 1.53 MB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.5933, allocations: 2.688 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.5935, allocations: 35.3 kB / 0.6872 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.594, allocations: 119.9 kB / 0.6874 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.5946, allocations: 166.5 kB / 0.6875 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.5949, allocations: 175.5 kB / 0.6877 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.5957, allocations: 368.3 kB / 0.688 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.5959, allocations: 83.53 kB / 0.6881 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.5962, allocations: 99.75 kB / 0.6882 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.5963, allocations: 9.5 kB / 0.6882 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.5967, allocations: 137.6 kB / 0.6884 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.5968, allocations: 68.95 kB / 0.6884 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.5968, allocations: 65.25 kB / 0.6885 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.5973, allocations: 309 kB / 0.6888 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.742e-06/0.5974, allocations: 1.344 kB / 0.6888 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.007e-06/0.5974, allocations: 0 / 0.6888 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5974, allocations: 3.938 kB / 0.6888 GB, free: 13.39 MB / 0.5261 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.0007645/0.5982, allocations: 0.5086 MB / 0.6893 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5982, allocations: 8.938 kB / 0.6893 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.5992, allocations: 97.09 kB / 0.6894 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.5995, allocations: 252.3 kB / 0.6896 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5995, allocations: 12.44 kB / 0.6896 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.5996, allocations: 15.72 kB / 0.6896 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.6004, allocations: 383.8 kB / 0.69 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6004, allocations: 2.016 kB / 0.69 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.6005, allocations: 6.031 kB / 0.69 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.6006, allocations: 34.66 kB / 0.6901 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.6014, allocations: 336 kB / 0.6904 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.6035, allocations: 1.721 MB / 0.6921 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.6044, allocations: 342.6 kB / 0.6924 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6046, allocations: 85.81 kB / 0.6925 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.6047, allocations: 32.22 kB / 0.6925 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 3.701e-06/0.6047, allocations: 5.125 kB / 0.6925 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.001837/0.6065, allocations: 0.6029 MB / 0.6931 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.6066, allocations: 85.27 kB / 0.6932 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.6068, allocations: 206 kB / 0.6934 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.6069, allocations: 31.3 kB / 0.6934 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.607, allocations: 155.1 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.6071, allocations: 79.41 kB / 0.6936 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.6071, allocations: 5 kB / 0.6936 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.6072, allocations: 333.9 kB / 0.6939 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.6075, allocations: 132.3 kB / 0.6941 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.608, allocations: 218.3 kB / 0.6943 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.6084, allocations: 159.9 kB / 0.6944 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.428e-06/0.6084, allocations: 0 / 0.6944 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001112/0.6095, allocations: 437.8 kB / 0.6948 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.6097, allocations: 1.055 MB / 0.6959 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6098, allocations: 3.984 kB / 0.6959 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.6101, allocations: 40.8 kB / 0.6959 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.6105, allocations: 74.06 kB / 0.696 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.6121, allocations: 1.509 MB / 0.6975 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.6125, allocations: 35.2 kB / 0.6975 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.6125, allocations: 14.98 kB / 0.6975 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6126, allocations: 7.219 kB / 0.6975 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009984/0.6136, allocations: 370.7 kB / 0.6979 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.482e-06/0.6136, allocations: 3.766 kB / 0.6979 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.6138, allocations: 43.3 kB / 0.6979 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.6142, allocations: 77.81 kB / 0.698 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.6156, allocations: 1.494 MB / 0.6995 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.6159, allocations: 36.69 kB / 0.6995 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.616, allocations: 11.09 kB / 0.6995 GB, free: 4.914 MB / 0.5261 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.0002473/0.6162, allocations: 237.3 kB / 0.6997 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6163, allocations: 20.92 kB / 0.6997 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.6173, allocations: 367.6 kB / 0.7001 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.604e-06/0.6173, allocations: 3.062 kB / 0.7001 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6173, allocations: 1.859 kB / 0.7001 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-06/0.6173, allocations: 1.172 kB / 0.7001 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.6193, allocations: 0.9727 MB / 0.701 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.726e-06/0.6193, allocations: 5.312 kB / 0.7011 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.6197, allocations: 58 kB / 0.7011 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.6199, allocations: 35.88 kB / 0.7011 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.6199, allocations: 8.125 kB / 0.7012 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.6211, allocations: 1.419 MB / 0.7025 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.402e-06/0.6211, allocations: 2.688 kB / 0.7025 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.6221, allocations: 0.6186 MB / 0.7031 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.6223, allocations: 127 kB / 0.7033 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.6223, allocations: 3.906 kB / 0.7033 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.6227, allocations: 28.86 kB / 0.7033 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.6228, allocations: 24.3 kB / 0.7033 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.6228, allocations: 10.62 kB / 0.7033 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001795/0.623, allocations: 160.1 kB / 0.7035 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.73e-07/0.623, allocations: 0 / 0.7035 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008754/0.6239, allocations: 105.9 kB / 0.7036 GB, free: 1.77 MB / 0.5261 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.0001695/0.6241, allocations: 118.1 kB / 0.7037 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.6257, allocations: 0.7375 MB / 0.7044 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.18e-06/0.6258, allocations: 0 / 0.7044 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.6263, allocations: 278.5 kB / 0.7047 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.6267, allocations: 36.02 kB / 0.7047 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.6279, allocations: 0.6624 MB / 0.7054 GB, free: 500 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6283, allocations: 0.7751 MB / 0.7061 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.6287, allocations: 86.73 kB / 0.7062 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.6288, allocations: 23.91 kB / 0.7062 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.807e-06/0.6288, allocations: 3.938 kB / 0.7062 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.009169/0.638, allocations: 2.968 MB / 0.7091 GB, free: 14.24 MB / 0.5417 GB