Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.702/2.702, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001379/0.001379, allocations: 173.2 kB / 371.4 MB, free: 10.67 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.149/2.149, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001019/0.001018, allocations: 86.81 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 11.12 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.159, allocations: 115.2 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003756/0.1628, allocations: 2.849 MB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1662, allocations: 2.04 MB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.1664, allocations: 7.938 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1666, allocations: 35.77 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.1672, allocations: 151.5 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.168, allocations: 219.4 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1684, allocations: 227.5 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.1689, allocations: 317.7 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1691, allocations: 111.6 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1694, allocations: 115.6 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1694, allocations: 12 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.17, allocations: 259.5 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.1701, allocations: 75.8 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.1702, allocations: 69.58 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.1708, allocations: 367.1 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1708, allocations: 4 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1708, allocations: 0 / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.1708, allocations: 0 / 0.9854 GB, free: 21.3 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008926/0.1717, allocations: 0.5702 MB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1718, allocations: 12.03 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.1729, allocations: 139.4 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1733, allocations: 266.6 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1734, allocations: 20.38 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.1734, allocations: 23.98 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.1742, allocations: 415.5 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1742, allocations: 0 / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1743, allocations: 8 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.1743, allocations: 28.55 kB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.1751, allocations: 365.8 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.1778, allocations: 2.062 MB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.1788, allocations: 363.7 kB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1789, allocations: 89.28 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.179, allocations: 38.75 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.709e-06/0.179, allocations: 0 / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.005789/0.1848, allocations: 1.77 MB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1848, allocations: 88.98 kB / 0.9915 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1851, allocations: 240.9 kB / 0.9917 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.1852, allocations: 29.7 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.1853, allocations: 184 kB / 0.9919 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.1854, allocations: 118.3 kB / 0.992 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1854, allocations: 12 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.1855, allocations: 330.8 kB / 0.9924 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.186, allocations: 208.7 kB / 0.9926 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.1865, allocations: 312.2 kB / 0.9929 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.1871, allocations: 255.3 kB / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.627e-06/0.1871, allocations: 4 kB / 0.9931 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001617/0.1887, allocations: 0.6758 MB / 0.9938 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.189, allocations: 1.135 MB / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.189, allocations: 4 kB / 0.9949 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.1896, allocations: 147.3 kB / 0.995 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.1902, allocations: 99.88 kB / 0.9951 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.1929, allocations: 3.973 MB / 0.999 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.1934, allocations: 40.22 kB / 0.999 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.1935, allocations: 23.98 kB / 0.9991 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.927e-06/0.1935, allocations: 0 / 0.9991 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/0.195, allocations: 0.6429 MB / 0.9997 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.237e-06/0.195, allocations: 4 kB / 0.9997 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.1955, allocations: 135.3 kB / 0.9998 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.1961, allocations: 100 kB / 0.9999 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000555/0.1966, allocations: 1.109 MB / 1.001 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.1971, allocations: 44.19 kB / 1.001 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.1971, allocations: 12 kB / 1.001 GB, free: 4.309 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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.0002464/0.1974, allocations: 249 kB / 1.001 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1975, allocations: 35.66 kB / 1.001 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.199, allocations: 0.6321 MB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.524e-06/0.199, allocations: 7.984 kB / 1.002 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.137e-06/0.199, allocations: 7.953 kB / 1.002 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.199, allocations: 0 / 1.002 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.2016, allocations: 1.25 MB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.2016, allocations: 3.938 kB / 1.003 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.202, allocations: 63.95 kB / 1.003 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.2026, allocations: 155.3 kB / 1.003 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2026, allocations: 11.95 kB / 1.003 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.2063, allocations: 3.997 MB / 1.007 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.2064, allocations: 7.984 kB / 1.007 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.2082, allocations: 0.8843 MB / 1.008 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.2085, allocations: 136.7 kB / 1.008 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.2086, allocations: 8 kB / 1.008 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.209, allocations: 47.89 kB / 1.008 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2092, allocations: 31.92 kB / 1.008 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.2092, allocations: 8 kB / 1.008 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002365/0.2095, allocations: 172.5 kB / 1.009 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.93e-07/0.2095, allocations: 8 kB / 1.009 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009878/0.2105, allocations: 156 kB / 1.009 GB, free: 11.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 27 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.2107, allocations: 131.1 kB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.2136, allocations: 1.224 MB / 1.01 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.767e-06/0.2136, allocations: 0 / 1.01 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.2147, allocations: 0.4902 MB / 1.011 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.2153, allocations: 56.33 kB / 1.011 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2171, allocations: 0.8619 MB / 1.011 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.2177, allocations: 0.8123 MB / 1.012 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000512/0.2182, allocations: 126.9 kB / 1.012 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2183, allocations: 23.44 kB / 1.012 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of SimCode: time 1.736e-06/0.2183, allocations: 0 / 1.012 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of Templates: time 0.01463/0.233, allocations: 5.485 MB / 1.018 GB, free: 2.535 MB / 0.6355 GB