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.004292/0.004296, allocations: 240.5 kB / 15.81 MB, free: 6.277 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.001192/0.001191, allocations: 184.7 kB / 16.69 MB, free: 5.449 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 4.076/4.076, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.375/4.375, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005178, allocations: 18.39 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1782, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003623/0.1819, allocations: 2.482 MB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.1859, allocations: 1.556 MB / 1.109 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.1863, allocations: 0 / 1.109 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1866, allocations: 31.72 kB / 1.109 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.1875, allocations: 143.2 kB / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1888, allocations: 164.1 kB / 1.109 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009943/0.1898, allocations: 354.9 kB / 1.109 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.1914, allocations: 362.8 kB / 1.11 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.1918, allocations: 103.6 kB / 1.11 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.1924, allocations: 139.5 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.1925, allocations: 8 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007164/0.1932, allocations: 135.8 kB / 1.11 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1934, allocations: 71.78 kB / 1.11 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1936, allocations: 61.58 kB / 1.11 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.1944, allocations: 312.2 kB / 1.11 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1944, allocations: 0 / 1.11 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1944, allocations: 2.938 kB / 1.11 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.1944, allocations: 0 / 1.11 GB, free: 36.13 MB / 0.6042 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.001264/0.1957, allocations: 0.5027 MB / 1.111 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/0.1958, allocations: 10.16 kB / 1.111 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.1978, allocations: 103.5 kB / 1.111 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.1985, allocations: 251.7 kB / 1.111 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1985, allocations: 16.36 kB / 1.111 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.1986, allocations: 19.94 kB / 1.111 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1997, allocations: 388.9 kB / 1.112 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1997, allocations: 0 / 1.112 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.1998, allocations: 8 kB / 1.112 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.1998, allocations: 24.31 kB / 1.112 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.2008, allocations: 335.9 kB / 1.112 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.2031, allocations: 1.72 MB / 1.114 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2042, allocations: 342.6 kB / 1.114 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.2047, allocations: 157.1 kB / 1.114 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.2049, allocations: 93.03 kB / 1.114 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2049, allocations: 30.56 kB / 1.114 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 5.62e-06/0.2049, allocations: 3.125 kB / 1.114 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.002005/0.2069, allocations: 0.6147 MB / 1.115 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.207, allocations: 81.11 kB / 1.115 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2073, allocations: 205.7 kB / 1.115 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2073, allocations: 29.7 kB / 1.115 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.2074, allocations: 152 kB / 1.115 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.2075, allocations: 75.88 kB / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.2075, allocations: 4 kB / 1.115 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.2076, allocations: 337.6 kB / 1.116 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.208, allocations: 128.5 kB / 1.116 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.2084, allocations: 222.9 kB / 1.116 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.2089, allocations: 167.2 kB / 1.116 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2089, allocations: 0 / 1.116 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001218/0.2101, allocations: 447.6 kB / 1.117 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.2102, allocations: 163.2 kB / 1.117 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2103, allocations: 11.98 kB / 1.117 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.2106, allocations: 44.05 kB / 1.117 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.2112, allocations: 71.88 kB / 1.117 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.2128, allocations: 1.492 MB / 1.118 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.2132, allocations: 36.66 kB / 1.118 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2133, allocations: 12.34 kB / 1.118 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.2133, allocations: 4 kB / 1.118 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.2144, allocations: 371.7 kB / 1.119 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2144, allocations: 4 kB / 1.119 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.2146, allocations: 40.83 kB / 1.119 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.2151, allocations: 69.69 kB / 1.119 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.2165, allocations: 1.482 MB / 1.12 GB, free: 25.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2169, allocations: 31.31 kB / 1.12 GB, free: 25.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.217, allocations: 20 kB / 1.12 GB, free: 25.24 MB / 0.6042 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.0002414/0.2172, allocations: 225 kB / 1.121 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.2173, allocations: 31.7 kB / 1.121 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.2184, allocations: 374.6 kB / 1.121 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2184, allocations: 3.469 kB / 1.121 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2184, allocations: 0 / 1.121 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2185, allocations: 119 kB / 1.121 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.2186, allocations: 8 kB / 1.121 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.219, allocations: 27.95 kB / 1.121 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.2191, allocations: 23.92 kB / 1.121 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001241/0.2204, allocations: 0.5116 MB / 1.122 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00129/0.2217, allocations: 0.7017 MB / 1.122 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003842/0.2221, allocations: 134.7 kB / 1.122 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001828/0.2223, allocations: 155.2 kB / 1.123 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of Backend: time 8.02e-07/0.2223, allocations: 0 / 1.123 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.2246, allocations: 0.7624 MB / 1.123 GB, free: 22.12 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001102/0.2257, allocations: 1.006 MB / 1.124 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.01253/0.2383, allocations: 5.131 MB / 1.129 GB, free: 16.23 MB / 0.6042 GB