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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.003/4.003, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.926e-05, allocations: 4.016 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.5251, allocations: 145.3 MB / 0.7766 GB, free: 436 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.5255, allocations: 87.94 kB / 0.7766 GB, free: 348 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5685/1.094, allocations: 16.16 MB / 0.7924 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/1.094, allocations: 0 / 0.7924 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.385e-05/1.094, allocations: 4.656 kB / 0.7924 GB, free: 142.3 MB / 0.6511 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.001045/1.095, allocations: 0.5111 MB / 0.7929 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.095, allocations: 10.09 kB / 0.7929 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/1.095, allocations: 57.44 kB / 0.793 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/1.097, allocations: 98.05 kB / 0.7931 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/1.097, allocations: 256.7 kB / 0.7933 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.097, allocations: 19.36 kB / 0.7933 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/1.097, allocations: 20.25 kB / 0.7934 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/1.098, allocations: 354.5 kB / 0.7937 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.098, allocations: 5.219 kB / 0.7937 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/1.098, allocations: 9.234 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/1.098, allocations: 19.39 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/1.099, allocations: 292.8 kB / 0.794 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/1.102, allocations: 1.723 MB / 0.7957 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.103, allocations: 324.4 kB / 0.796 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/1.103, allocations: 140.5 kB / 0.7961 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/1.103, allocations: 87.83 kB / 0.7962 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.103, allocations: 37.59 kB / 0.7963 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 4.007e-06/1.103, allocations: 0 / 0.7963 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.00127/1.105, allocations: 373.5 kB / 0.7966 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.105, allocations: 83.36 kB / 0.7967 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/1.105, allocations: 182.4 kB / 0.7969 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/1.105, allocations: 31.3 kB / 0.7969 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/1.105, allocations: 163.2 kB / 0.7971 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/1.105, allocations: 71.62 kB / 0.7971 GB, free: 139 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/1.105, allocations: 8.688 kB / 0.7971 GB, free: 139 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/1.105, allocations: 339.9 kB / 0.7975 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/1.106, allocations: 115.2 kB / 0.7976 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/1.106, allocations: 199.5 kB / 0.7978 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/1.106, allocations: 142.2 kB / 0.7979 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.106, allocations: 1.344 kB / 0.7979 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001067/1.107, allocations: 398.2 kB / 0.7983 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/1.108, allocations: 1.046 MB / 0.7993 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.108, allocations: 11.58 kB / 0.7993 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/1.108, allocations: 37.98 kB / 0.7993 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/1.109, allocations: 72.59 kB / 0.7994 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/1.11, allocations: 1.495 MB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/1.111, allocations: 39.16 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/1.111, allocations: 18.17 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.111, allocations: 3.75 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000893/1.112, allocations: 320.8 kB / 0.8012 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.112, allocations: 3.188 kB / 0.8012 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/1.112, allocations: 49.52 kB / 0.8013 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/1.112, allocations: 65.7 kB / 0.8014 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/1.114, allocations: 1.477 MB / 0.8028 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/1.114, allocations: 34.41 kB / 0.8028 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/1.114, allocations: 25.31 kB / 0.8029 GB, free: 134 MB / 0.6511 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 () * 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.000153/1.115, allocations: 117.7 kB / 0.803 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/1.115, allocations: 25.23 kB / 0.803 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/1.116, allocations: 334.3 kB / 0.8033 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.116, allocations: 6.672 kB / 0.8033 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.116, allocations: 1.375 kB / 0.8033 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.116, allocations: 5.141 kB / 0.8033 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/1.118, allocations: 0.9283 MB / 0.8042 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.118, allocations: 6.062 kB / 0.8042 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/1.118, allocations: 50.08 kB / 0.8043 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/1.118, allocations: 44.36 kB / 0.8043 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/1.118, allocations: 3.469 kB / 0.8043 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/1.12, allocations: 1.403 MB / 0.8057 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.12, allocations: 5.406 kB / 0.8057 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/1.121, allocations: 0.589 MB / 0.8063 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/1.121, allocations: 126.6 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/1.121, allocations: 15.92 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/1.121, allocations: 20.66 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.121, allocations: 20.88 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/1.121, allocations: 10.88 kB / 0.8065 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001989/1.122, allocations: 153.8 kB / 0.8066 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.122, allocations: 4 kB / 0.8066 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009009/1.123, allocations: 115.8 kB / 0.8067 GB, free: 130.6 MB / 0.6511 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 () * 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.001236/1.124, allocations: 1.633 MB / 0.8083 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001627/1.125, allocations: 0.6945 MB / 0.809 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.125, allocations: 0 / 0.809 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004779/1.126, allocations: 256.8 kB / 0.8092 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/1.126, allocations: 33.39 kB / 0.8093 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.128, allocations: 0.4921 MB / 0.8098 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/1.128, allocations: 0.7772 MB / 0.8105 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000461/1.129, allocations: 100.5 kB / 0.8106 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/1.129, allocations: 62.98 kB / 0.8107 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.129, allocations: 3.938 kB / 0.8107 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/1.163, allocations: 5.359 MB / 0.8159 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.163, allocations: 183 kB / 0.8161 GB, free: 123 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.62, allocations: 0 / 0.8161 GB, free: 123 MB / 0.6511 GB