Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00098/0.0009801, allocations: 192.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.5 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9851/0.9851, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 97.95 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1538, allocations: 86.98 MB / 0.6796 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.00428/0.1581, allocations: 2.85 MB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1612, allocations: 2.005 MB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1614, allocations: 4 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.1622, allocations: 220.9 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.1626, allocations: 176 kB / 0.6848 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.1632, allocations: 249 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1635, allocations: 316.5 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.1638, allocations: 180.7 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.164, allocations: 127.5 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1642, allocations: 159.5 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.1643, allocations: 20 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.1648, allocations: 383.3 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1649, allocations: 91.77 kB / 0.6862 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1651, allocations: 119.5 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.1656, allocations: 486.6 kB / 0.6868 GB, free: 9.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1656, allocations: 0 / 0.6868 GB, free: 9.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1656, allocations: 3.938 kB / 0.6868 GB, free: 9.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1656, allocations: 0 / 0.6868 GB, free: 9.676 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008948/0.1665, allocations: 0.5498 MB / 0.6873 GB, free: 9.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1666, allocations: 8.031 kB / 0.6873 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.1673, allocations: 104.5 kB / 0.6874 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1676, allocations: 257.2 kB / 0.6877 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1676, allocations: 16.81 kB / 0.6877 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.1677, allocations: 24.03 kB / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.1683, allocations: 381.9 kB / 0.6881 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1683, allocations: 8 kB / 0.6881 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1683, allocations: 7.984 kB / 0.6881 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.1684, allocations: 31.92 kB / 0.6881 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.169, allocations: 355.7 kB / 0.6885 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1709, allocations: 1.73 MB / 0.6902 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.1715, allocations: 341 kB / 0.6905 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1718, allocations: 181.6 kB / 0.6907 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.1719, allocations: 89.09 kB / 0.6907 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.172, allocations: 38.5 kB / 0.6908 GB, free: 5.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.172, allocations: 4 kB / 0.6908 GB, free: 5.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007193/0.1792, allocations: 1.915 MB / 0.6927 GB, free: 3.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1793, allocations: 81.11 kB / 0.6927 GB, free: 3.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1794, allocations: 171.8 kB / 0.6929 GB, free: 3.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1795, allocations: 33.7 kB / 0.6929 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1796, allocations: 152.4 kB / 0.6931 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1797, allocations: 122.2 kB / 0.6932 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1798, allocations: 77.62 kB / 0.6933 GB, free: 2.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.18, allocations: 334.8 kB / 0.6936 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.1804, allocations: 256.7 kB / 0.6938 GB, free: 2.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.1809, allocations: 345.4 kB / 0.6942 GB, free: 1.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/0.1819, allocations: 0.5917 MB / 0.6947 GB, free: 1.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1819, allocations: 3.938 kB / 0.6947 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001157/0.1831, allocations: 0.6391 MB / 0.6954 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1831, allocations: 8 kB / 0.6954 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1831, allocations: 0 / 0.6954 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1832, allocations: 4 kB / 0.6954 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.1841, allocations: 160 kB / 0.6955 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1841, allocations: 4 kB / 0.6955 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.1846, allocations: 47.92 kB / 0.6956 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.1846, allocations: 16 kB / 0.6956 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005697/0.1852, allocations: 356.6 kB / 0.6959 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004703/0.1857, allocations: 333.9 kB / 0.6963 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009471/0.1866, allocations: 0.5667 MB / 0.6968 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.1866, allocations: 0 / 0.6968 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001163/0.1878, allocations: 0.6107 MB / 0.6974 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1878, allocations: 15.98 kB / 0.6974 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1879, allocations: 4 kB / 0.6974 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.1879, allocations: 4 kB / 0.6974 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.1887, allocations: 143.8 kB / 0.6976 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1887, allocations: 4 kB / 0.6976 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.1891, allocations: 47.92 kB / 0.6976 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.1892, allocations: 16 kB / 0.6976 GB, free: 14.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.1894, allocations: 208.7 kB / 0.6978 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.1894, allocations: 23.72 kB / 0.6979 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.1908, allocations: 0.6568 MB / 0.6985 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1908, allocations: 8 kB / 0.6985 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1908, allocations: 0 / 0.6985 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1908, allocations: 3.984 kB / 0.6985 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.193, allocations: 1.365 MB / 0.6998 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.193, allocations: 7.938 kB / 0.6998 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.1936, allocations: 128.1 kB / 0.7 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1936, allocations: 3.938 kB / 0.7 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.1937, allocations: 12 kB / 0.7 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1937, allocations: 3.938 kB / 0.7 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1937, allocations: 4 kB / 0.7 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.1946, allocations: 0.715 MB / 0.7007 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1948, allocations: 140.8 kB / 0.7008 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.1949, allocations: 12 kB / 0.7008 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.1952, allocations: 47.88 kB / 0.7009 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.1953, allocations: 27.91 kB / 0.7009 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1953, allocations: 12 kB / 0.7009 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001162/0.1955, allocations: 148.9 kB / 0.7011 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1955, allocations: 0 / 0.7011 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006271/0.1961, allocations: 148 kB / 0.7012 GB, free: 10.24 MB / 0.4981 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002392/0.1963, allocations: 140.5 kB / 0.7013 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.198, allocations: 0.8873 MB / 0.7022 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.198, allocations: 0 / 0.7022 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.1985, allocations: 257.3 kB / 0.7024 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.199, allocations: 51.92 kB / 0.7025 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2002, allocations: 0.8066 MB / 0.7033 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.2006, allocations: 0.7838 MB / 0.704 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005422/0.2012, allocations: 170.8 kB / 0.7042 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2013, allocations: 35.36 kB / 0.7042 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2013, allocations: 0 / 0.7042 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.008517/0.2098, allocations: 4.738 MB / 0.7089 GB, free: 2.355 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)