Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.523/2.523, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 180.4 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.001039, allocations: 94.33 kB / 0.7434 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004645, allocations: 14.42 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002977/0.1599, allocations: 2.451 MB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.164, allocations: 1.533 MB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.1642, allocations: 7.938 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1645, allocations: 35.83 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006798/0.1652, allocations: 119.5 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.1662, allocations: 167.5 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.1667, allocations: 171.6 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1679, allocations: 365.7 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1682, allocations: 87.69 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.1685, allocations: 95.66 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1686, allocations: 11.98 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.1692, allocations: 139.8 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1693, allocations: 71.8 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.1694, allocations: 61.58 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1701, allocations: 303.5 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1701, allocations: 3.938 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.743e-06/0.1701, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.962e-06/0.1702, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 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.001137/0.1713, allocations: 0.4989 MB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1714, allocations: 16.03 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.1731, allocations: 95.58 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.1736, allocations: 263.4 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1737, allocations: 12.38 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.1738, allocations: 19.91 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.175, allocations: 382.2 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.175, allocations: 0 / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.1751, allocations: 11.98 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/0.1752, allocations: 24.31 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1766, allocations: 340.6 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.1798, allocations: 1.721 MB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1813, allocations: 333.1 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.1815, allocations: 89.09 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1816, allocations: 38.5 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 5.281e-06/0.1816, allocations: 7.938 kB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002745/0.1844, allocations: 0.6013 MB / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1844, allocations: 85.09 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1848, allocations: 208.7 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1849, allocations: 29.69 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.185, allocations: 163.9 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1852, allocations: 66.95 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1852, allocations: 7.938 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.1853, allocations: 334.8 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.1859, allocations: 136.5 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.1865, allocations: 219.4 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.1872, allocations: 160.8 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.256e-06/0.1872, allocations: 4 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001815/0.1891, allocations: 433.1 kB / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/0.1894, allocations: 1.052 MB / 0.9913 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1894, allocations: 4 kB / 0.9913 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.1899, allocations: 40.81 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.1906, allocations: 71.89 kB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.1929, allocations: 1.505 MB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1933, allocations: 35.94 kB / 0.9929 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.1934, allocations: 12 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.1934, allocations: 4 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008728/0.1943, allocations: 379.3 kB / 0.9933 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.857e-06/0.1943, allocations: 4 kB / 0.9933 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.1945, allocations: 44.81 kB / 0.9934 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.1948, allocations: 67.84 kB / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.196, allocations: 1.501 MB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.1963, allocations: 35.81 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1964, allocations: 12 kB / 0.9949 GB, free: 10.75 MB / 0.6198 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.0002043/0.1966, allocations: 233 kB / 0.9952 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.1967, allocations: 23.72 kB / 0.9952 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.1975, allocations: 369.6 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-06/0.1976, allocations: 4 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-06/0.1976, allocations: 0 / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-06/0.1976, allocations: 4 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1993, allocations: 0.9638 MB / 0.9965 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-06/0.1993, allocations: 0 / 0.9965 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1996, allocations: 60.11 kB / 0.9965 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.1998, allocations: 32.83 kB / 0.9966 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1998, allocations: 8 kB / 0.9966 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.2009, allocations: 1.421 MB / 0.998 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.311e-06/0.2009, allocations: 7.984 kB / 0.998 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.2017, allocations: 0.63 MB / 0.9986 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2019, allocations: 124.7 kB / 0.9987 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.202, allocations: 8 kB / 0.9987 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.2023, allocations: 23.97 kB / 0.9987 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.2024, allocations: 27.84 kB / 0.9988 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2024, allocations: 12 kB / 0.9988 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001459/0.2026, allocations: 151.7 kB / 0.9989 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.64e-07/0.2026, allocations: 0 / 0.9989 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007733/0.2034, allocations: 108 kB / 0.999 GB, free: 6.23 MB / 0.6198 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.0001369/0.2035, allocations: 121.8 kB / 0.9991 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.2049, allocations: 0.7317 MB / 0.9999 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.722e-06/0.2049, allocations: 4 kB / 0.9999 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.2054, allocations: 271.9 kB / 1 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2058, allocations: 27.98 kB / 1 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2069, allocations: 0.663 MB / 1.001 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2072, allocations: 0.7756 MB / 1.002 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.2075, allocations: 85.86 kB / 1.002 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.2076, allocations: 23.44 kB / 1.002 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of SimCode: time 2.245e-06/0.2076, allocations: 4 kB / 1.002 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of Templates: time 0.007575/0.2152, allocations: 2.978 MB / 1.005 GB, free: 460 kB / 0.6198 GB