Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.505/2.505, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001443/0.001443, allocations: 177.1 kB / 371.4 MB, free: 10.69 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.185/2.185, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001059/0.001059, allocations: 108.3 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.000485, allocations: 18.42 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1713, allocations: 115.2 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003197/0.1746, allocations: 2.602 MB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1774, allocations: 1.799 MB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1776, allocations: 4 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1777, allocations: 39.75 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.1781, allocations: 127.6 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1787, allocations: 187.3 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1789, allocations: 171.6 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005875/0.1795, allocations: 322.1 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1797, allocations: 87.69 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1799, allocations: 111.6 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1799, allocations: 12 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.1804, allocations: 239.6 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.1805, allocations: 63.81 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.1805, allocations: 69.58 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.181, allocations: 359.1 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.181, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.103e-06/0.181, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.444e-06/0.181, allocations: 0 / 0.9848 GB, free: 22 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006858/0.1817, allocations: 0.5159 MB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1817, allocations: 12.02 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1828, allocations: 127.5 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1831, allocations: 258.6 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1831, allocations: 12.44 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.1832, allocations: 20 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.1838, allocations: 349.2 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1838, allocations: 3.938 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.1838, allocations: 4 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.1839, allocations: 28.42 kB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.1845, allocations: 293.5 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1866, allocations: 1.753 MB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.1871, allocations: 310.2 kB / 0.9883 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.1873, allocations: 89.09 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1873, allocations: 46.5 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.757e-06/0.1873, allocations: 0 / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002749/0.1901, allocations: 0.9717 MB / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1901, allocations: 85.28 kB / 0.9895 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1904, allocations: 212.4 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1904, allocations: 33.7 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.1905, allocations: 164.1 kB / 0.9899 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.1906, allocations: 82.84 kB / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.1906, allocations: 4.094 kB / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.1907, allocations: 342.7 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.1909, allocations: 131.9 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1912, allocations: 205.1 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1915, allocations: 167.2 kB / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-06/0.1915, allocations: 0 / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001046/0.1926, allocations: 0.5005 MB / 0.9913 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1926, allocations: 8 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.698e-06/0.1926, allocations: 3.953 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.1932, allocations: 155.5 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1936, allocations: 59.91 kB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1963, allocations: 3.997 MB / 0.9954 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.1966, allocations: 16.23 kB / 0.9954 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1966, allocations: 20 kB / 0.9954 GB, free: 10.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.1968, allocations: 161.8 kB / 0.9956 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.1969, allocations: 19.81 kB / 0.9956 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/0.1979, allocations: 486.5 kB / 0.996 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1979, allocations: 4 kB / 0.996 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-06/0.1979, allocations: 0 / 0.996 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-06/0.198, allocations: 0 / 0.996 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.1997, allocations: 1.005 MB / 0.997 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.418e-06/0.1998, allocations: 8.031 kB / 0.997 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2, allocations: 31.92 kB / 0.9971 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.2005, allocations: 147.3 kB / 0.9972 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2006, allocations: 8 kB / 0.9972 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.2031, allocations: 3.973 MB / 1.001 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2032, allocations: 4.031 kB / 1.001 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.2041, allocations: 0.7308 MB / 1.002 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.2043, allocations: 120.9 kB / 1.002 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.2043, allocations: 8 kB / 1.002 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.2046, allocations: 27.97 kB / 1.002 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2047, allocations: 23.88 kB / 1.002 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.2047, allocations: 8 kB / 1.002 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001532/0.2049, allocations: 156.2 kB / 1.002 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.85e-07/0.2049, allocations: 0 / 1.002 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006787/0.2056, allocations: 92 kB / 1.002 GB, free: 2.719 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.2058, allocations: 135.2 kB / 1.002 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.2068, allocations: 0.5676 MB / 1.003 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.411e-06/0.2068, allocations: 0 / 1.003 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.2074, allocations: 402.6 kB / 1.003 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2078, allocations: 38.47 kB / 1.003 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2089, allocations: 0.7237 MB / 1.004 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2093, allocations: 0.7988 MB / 1.005 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.2095, allocations: 54.25 kB / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.2096, allocations: 19.44 kB / 1.005 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of SimCode: time 3.465e-06/0.2096, allocations: 0 / 1.005 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.01093/0.2206, allocations: 3.89 MB / 1.009 GB, free: 12 MB / 0.6355 GB