Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.773/2.773, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001416/0.001415, allocations: 189.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 1.969/1.969, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001072/0.001071, allocations: 95.19 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007257/0.000726, allocations: 14.98 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1707, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.00358/0.1743, allocations: 2.896 MB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.1776, allocations: 2.033 MB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.1778, allocations: 7.938 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.178, allocations: 39.75 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.1786, allocations: 155.5 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.1794, allocations: 215.4 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.1798, allocations: 227.5 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.1804, allocations: 317.4 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1806, allocations: 111.6 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1808, allocations: 115.6 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.1809, allocations: 12 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.1815, allocations: 263.5 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.1816, allocations: 71.81 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.1817, allocations: 73.58 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.1821, allocations: 367.2 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.26e-06/0.1822, allocations: 0 / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.935e-06/0.1822, allocations: 0 / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.788e-06/0.1822, allocations: 0 / 0.9855 GB, free: 21.25 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.0008345/0.183, allocations: 0.565 MB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1831, allocations: 16.02 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1842, allocations: 143.4 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.1846, allocations: 262.6 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1846, allocations: 24.36 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1847, allocations: 16 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1854, allocations: 419.5 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1855, allocations: 4 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.1855, allocations: 11.97 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.1856, allocations: 32.55 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1864, allocations: 369.8 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.189, allocations: 2.05 MB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.1899, allocations: 363.4 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.1901, allocations: 85.28 kB / 0.9897 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1901, allocations: 34.75 kB / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.798e-06/0.1901, allocations: 0 / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.003693/0.1938, allocations: 1.275 MB / 0.991 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1939, allocations: 81.34 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1942, allocations: 236.9 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1942, allocations: 29.7 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.1943, allocations: 180.1 kB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.1944, allocations: 102.5 kB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.1944, allocations: 12 kB / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.1945, allocations: 334.8 kB / 0.9919 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.195, allocations: 167.9 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.1954, allocations: 267.9 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.1959, allocations: 207.9 kB / 0.9925 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1959, allocations: 0 / 0.9925 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001396/0.1973, allocations: 0.5612 MB / 0.9931 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.1976, allocations: 1.139 MB / 0.9942 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1976, allocations: 8 kB / 0.9942 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.1981, allocations: 85.55 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.1986, allocations: 91.88 kB / 0.9943 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.2, allocations: 1.966 MB / 0.9963 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.2005, allocations: 39.88 kB / 0.9963 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.2005, allocations: 16 kB / 0.9963 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2006, allocations: 4 kB / 0.9963 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/0.2019, allocations: 0.5052 MB / 0.9968 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-06/0.2019, allocations: 0 / 0.9968 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.2022, allocations: 77.61 kB / 0.9969 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.2027, allocations: 100 kB / 0.997 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002865/0.203, allocations: 0.5484 MB / 0.9975 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.2034, allocations: 31.97 kB / 0.9975 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.2034, allocations: 19.98 kB / 0.9976 GB, free: 8.055 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.2037, allocations: 241.1 kB / 0.9978 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2038, allocations: 27.72 kB / 0.9978 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.205, allocations: 498.4 kB / 0.9983 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-06/0.2051, allocations: 0 / 0.9983 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.16e-06/0.2051, allocations: 11.94 kB / 0.9983 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-06/0.2051, allocations: 0 / 0.9983 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.2083, allocations: 1.038 MB / 0.9993 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.2084, allocations: 4 kB / 0.9993 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.209, allocations: 71.83 kB / 0.9994 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006115/0.2097, allocations: 77.86 kB / 0.9995 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.2097, allocations: 15.95 kB / 0.9995 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2119, allocations: 1.973 MB / 1.001 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-06/0.2119, allocations: 0 / 1.001 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.214, allocations: 0.7659 MB / 1.002 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.2143, allocations: 136.7 kB / 1.002 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.2144, allocations: 8 kB / 1.002 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.2151, allocations: 35.97 kB / 1.002 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2153, allocations: 27.91 kB / 1.002 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.2153, allocations: 8 kB / 1.002 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000278/0.2156, allocations: 172.5 kB / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.65e-07/0.2157, allocations: 0 / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001534/0.2172, allocations: 128 kB / 1.003 GB, free: 2.461 MB / 0.6198 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.2175, allocations: 123.2 kB / 1.003 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003017/0.2205, allocations: 0.8496 MB / 1.004 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.095e-06/0.2206, allocations: 4 kB / 1.004 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2218, allocations: 323.4 kB / 1.004 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.2227, allocations: 55.16 kB / 1.004 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2248, allocations: 0.7677 MB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.2255, allocations: 0.7963 MB / 1.005 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009163/0.2265, allocations: 110.9 kB / 1.006 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2267, allocations: 27.42 kB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of SimCode: time 2.484e-06/0.2267, allocations: 0 / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.02032/0.2471, allocations: 3.926 MB / 1.009 GB, free: 11.4 MB / 0.6355 GB