Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.034/4.034, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.02e-05, allocations: 4.547 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1803, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.4035, allocations: 145.3 MB / 0.7766 GB, free: 460 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4038, allocations: 83.94 kB / 0.7767 GB, free: 376 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.502/0.9058, allocations: 16.15 MB / 0.7924 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.327e-06/0.9058, allocations: 0 / 0.7924 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.9059, allocations: 8.75 kB / 0.7924 GB, free: 142.2 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.0008454/0.9067, allocations: 0.515 MB / 0.7929 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9068, allocations: 9.25 kB / 0.7929 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.9079, allocations: 92.92 kB / 0.793 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.9082, allocations: 259.2 kB / 0.7933 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.9083, allocations: 12.28 kB / 0.7933 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.9083, allocations: 19.78 kB / 0.7933 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.9091, allocations: 361 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.9091, allocations: 5 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.9092, allocations: 10.47 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.9092, allocations: 23.09 kB / 0.7937 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.9099, allocations: 293.1 kB / 0.794 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.9121, allocations: 1.727 MB / 0.7957 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/0.913, allocations: 316.4 kB / 0.796 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.9133, allocations: 139.9 kB / 0.7961 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.9135, allocations: 88.92 kB / 0.7962 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.9135, allocations: 38 kB / 0.7962 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.903e-06/0.9135, allocations: 0 / 0.7962 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.001088/0.9146, allocations: 375.6 kB / 0.7966 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.9147, allocations: 79.73 kB / 0.7966 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.9149, allocations: 187.7 kB / 0.7968 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.915, allocations: 28.98 kB / 0.7969 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.9151, allocations: 160.7 kB / 0.797 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.9151, allocations: 73.36 kB / 0.7971 GB, free: 139 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.9152, allocations: 11.84 kB / 0.7971 GB, free: 139 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.9153, allocations: 339.5 kB / 0.7974 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.9155, allocations: 108.7 kB / 0.7975 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.9158, allocations: 206 kB / 0.7977 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.9161, allocations: 139.1 kB / 0.7978 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.371e-06/0.9161, allocations: 0 / 0.7978 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001061/0.9172, allocations: 408.1 kB / 0.7982 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.9174, allocations: 1.041 MB / 0.7993 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9175, allocations: 2.812 kB / 0.7993 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.9178, allocations: 45.62 kB / 0.7993 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.9182, allocations: 77.31 kB / 0.7994 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.9197, allocations: 1.491 MB / 0.8008 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.9201, allocations: 34.78 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.9201, allocations: 17.44 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.9201, allocations: 3.688 kB / 0.8009 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007826/0.9209, allocations: 332.4 kB / 0.8012 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.146e-06/0.921, allocations: 2.781 kB / 0.8012 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.9212, allocations: 45.36 kB / 0.8012 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.9216, allocations: 69.95 kB / 0.8013 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.9229, allocations: 1.478 MB / 0.8028 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.9232, allocations: 32.94 kB / 0.8028 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.9233, allocations: 13.84 kB / 0.8028 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.0001463/0.9235, allocations: 127.6 kB / 0.8029 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9236, allocations: 18.19 kB / 0.8029 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/0.9243, allocations: 330 kB / 0.8033 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.388e-06/0.9244, allocations: 6.406 kB / 0.8033 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.494e-06/0.9244, allocations: 1.031 kB / 0.8033 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.112e-06/0.9244, allocations: 12.91 kB / 0.8033 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.9261, allocations: 0.9218 MB / 0.8042 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.084e-06/0.9261, allocations: 5.312 kB / 0.8042 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.9265, allocations: 58.02 kB / 0.8042 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.9267, allocations: 36.39 kB / 0.8043 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.9267, allocations: 7.531 kB / 0.8043 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.9279, allocations: 1.406 MB / 0.8056 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-06/0.9279, allocations: 6.25 kB / 0.8057 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.9287, allocations: 0.5917 MB / 0.8062 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.9289, allocations: 121.2 kB / 0.8063 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.929, allocations: 11.3 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.9293, allocations: 25.31 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.9294, allocations: 21.03 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.9295, allocations: 10.47 kB / 0.8064 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001757/0.9296, allocations: 154.3 kB / 0.8066 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.13e-07/0.9297, allocations: 3.938 kB / 0.8066 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008941/0.9306, allocations: 119.4 kB / 0.8067 GB, free: 130.7 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.0001909/0.9308, allocations: 125.2 kB / 0.8068 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.9322, allocations: 0.6893 MB / 0.8075 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.28e-06/0.9322, allocations: 2.656 kB / 0.8075 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.9326, allocations: 260.1 kB / 0.8077 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.9331, allocations: 31.22 kB / 0.8078 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.9341, allocations: 425.9 kB / 0.8082 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.9344, allocations: 0.7695 MB / 0.8089 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003757/0.9348, allocations: 92.52 kB / 0.809 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.9349, allocations: 23.17 kB / 0.809 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.847e-06/0.9349, allocations: 0 / 0.809 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.008773/0.9437, allocations: 3.19 MB / 0.8121 GB, free: 127 MB / 0.6511 GB