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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01553/0.01553, allocations: 107.5 kB / 15.06 MB, free: 6.023 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.001269/0.001269, allocations: 180.7 kB / 15.95 MB, free: 5.957 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.022/2.022, 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.328/2.328, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7254, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004079/0.7295, allocations: 2.435 MB / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.7328, allocations: 1.53 MB / 0.6873 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.7331, allocations: 7.125 kB / 0.6873 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.7333, allocations: 31.39 kB / 0.6873 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.7338, allocations: 116.3 kB / 0.6874 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.7347, allocations: 167.3 kB / 0.6876 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.735, allocations: 177.8 kB / 0.6878 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009367/0.736, allocations: 368.9 kB / 0.6881 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.7362, allocations: 92.55 kB / 0.6882 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.7365, allocations: 94.12 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.7366, allocations: 9.812 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.7371, allocations: 133.6 kB / 0.6884 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.7372, allocations: 74.3 kB / 0.6885 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.7373, allocations: 63.45 kB / 0.6886 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.7379, allocations: 306.5 kB / 0.6889 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7379, allocations: 0 / 0.6889 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.893e-06/0.738, allocations: 1.406 kB / 0.6889 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.738, allocations: 0 / 0.6889 GB, free: 13.32 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.001174/0.7392, allocations: 0.5071 MB / 0.6894 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.7392, allocations: 13.25 kB / 0.6894 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.7394, allocations: 56.31 kB / 0.6894 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.7407, allocations: 96.11 kB / 0.6895 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.7411, allocations: 261 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.7411, allocations: 11.72 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.7412, allocations: 17.16 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.7424, allocations: 379.4 kB / 0.6902 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.7424, allocations: 5 kB / 0.6902 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.7425, allocations: 10.92 kB / 0.6902 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.7426, allocations: 25.23 kB / 0.6902 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7437, allocations: 333.5 kB / 0.6905 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.7464, allocations: 1.729 MB / 0.6922 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.7477, allocations: 335.6 kB / 0.6925 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.7479, allocations: 86.53 kB / 0.6926 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.748, allocations: 41.19 kB / 0.6926 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 4.028e-06/0.748, allocations: 3.984 kB / 0.6926 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.002234/0.7502, allocations: 0.6031 MB / 0.6932 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.7503, allocations: 84.83 kB / 0.6933 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.7506, allocations: 207 kB / 0.6935 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.7506, allocations: 29.64 kB / 0.6935 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.7507, allocations: 156.7 kB / 0.6937 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7509, allocations: 79.09 kB / 0.6938 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.7509, allocations: 5 kB / 0.6938 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.7511, allocations: 334.5 kB / 0.6941 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.7515, allocations: 131 kB / 0.6942 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.752, allocations: 214.9 kB / 0.6944 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.7525, allocations: 161.1 kB / 0.6946 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7525, allocations: 5.031 kB / 0.6946 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001444/0.754, allocations: 433.9 kB / 0.695 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.7543, allocations: 1.057 MB / 0.696 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7543, allocations: 3.938 kB / 0.696 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/0.7547, allocations: 40.52 kB / 0.6961 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.7553, allocations: 78.28 kB / 0.6961 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.7571, allocations: 1.505 MB / 0.6976 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.7576, allocations: 35.73 kB / 0.6976 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.7577, allocations: 14.08 kB / 0.6977 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7577, allocations: 10.88 kB / 0.6977 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/0.7591, allocations: 369.2 kB / 0.698 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.7591, allocations: 6.812 kB / 0.698 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.7595, allocations: 39.7 kB / 0.6981 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.7602, allocations: 70.42 kB / 0.6981 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.7617, allocations: 1.497 MB / 0.6996 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.7623, allocations: 31.73 kB / 0.6996 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.7624, allocations: 11.09 kB / 0.6996 GB, free: 4.793 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.0002822/0.7627, allocations: 232.9 kB / 0.6999 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.7628, allocations: 22.69 kB / 0.6999 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.7639, allocations: 376.1 kB / 0.7002 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.764, allocations: 2.688 kB / 0.7002 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.764, allocations: 2.016 kB / 0.7002 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.764, allocations: 6.469 kB / 0.7002 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7665, allocations: 0.9721 MB / 0.7012 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7666, allocations: 2.562 kB / 0.7012 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.7671, allocations: 57.56 kB / 0.7013 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.7673, allocations: 35.67 kB / 0.7013 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.7674, allocations: 8.219 kB / 0.7013 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.7687, allocations: 1.419 MB / 0.7027 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7687, allocations: 2.75 kB / 0.7027 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7699, allocations: 0.6209 MB / 0.7033 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.7702, allocations: 127 kB / 0.7034 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.7703, allocations: 8.922 kB / 0.7034 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.7707, allocations: 23.55 kB / 0.7034 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.7708, allocations: 24.31 kB / 0.7035 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.7709, allocations: 10.83 kB / 0.7035 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002071/0.7711, allocations: 156.5 kB / 0.7036 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7711, allocations: 0 / 0.7036 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009313/0.772, allocations: 109.2 kB / 0.7037 GB, free: 1.645 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.001564/0.7736, allocations: 1.66 MB / 0.7053 GB, free: 136 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.7758, allocations: 0.7428 MB / 0.7061 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.7759, allocations: 0 / 0.7061 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/0.7766, allocations: 276.5 kB / 0.7063 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.7772, allocations: 35.19 kB / 0.7064 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.7821, allocations: 3.303 MB / 0.7096 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.7827, allocations: 0.7755 MB / 0.7104 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.7832, allocations: 94.88 kB / 0.7104 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.7834, allocations: 71.75 kB / 0.7105 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/0.7834, allocations: 0 / 0.7105 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.8175, allocations: 5.163 MB / 0.7156 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.8179, allocations: 213.2 kB / 0.7158 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.362, allocations: 0 / 0.7158 GB, free: 9.066 MB / 0.5417 GB