Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 286.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 93.98 kB / 0.5952 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005005/0.1538, allocations: 2.725 MB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.1574, allocations: 2.021 MB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1576, allocations: 0 / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.1586, allocations: 232.9 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.159, allocations: 211.2 kB / 0.6853 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.1596, allocations: 267.2 kB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.16, allocations: 311.1 kB / 0.6858 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.1604, allocations: 162 kB / 0.686 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1607, allocations: 127.5 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.161, allocations: 151.5 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.1611, allocations: 20 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.1618, allocations: 387.3 kB / 0.6866 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.162, allocations: 91.77 kB / 0.6867 GB, free: 10 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1622, allocations: 115.4 kB / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.1628, allocations: 462.8 kB / 0.6873 GB, free: 9.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1628, allocations: 3.938 kB / 0.6873 GB, free: 9.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1628, allocations: 0 / 0.6873 GB, free: 9.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1628, allocations: 4 kB / 0.6873 GB, free: 9.43 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.001014/0.1638, allocations: 0.5459 MB / 0.6878 GB, free: 8.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1639, allocations: 16.03 kB / 0.6878 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.1647, allocations: 104.5 kB / 0.6879 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1651, allocations: 257.2 kB / 0.6882 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1651, allocations: 12.81 kB / 0.6882 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.1652, allocations: 24.03 kB / 0.6882 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.166, allocations: 385.9 kB / 0.6886 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.166, allocations: 0 / 0.6886 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.1661, allocations: 11.98 kB / 0.6886 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.1661, allocations: 27.92 kB / 0.6886 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.1668, allocations: 355.7 kB / 0.6889 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1687, allocations: 1.733 MB / 0.6906 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.1694, allocations: 342.6 kB / 0.691 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.1698, allocations: 181.6 kB / 0.6911 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1699, allocations: 89.09 kB / 0.6912 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.17, allocations: 46.5 kB / 0.6913 GB, free: 5.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.17, allocations: 0 / 0.6913 GB, free: 5.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007234/0.1772, allocations: 1.907 MB / 0.6931 GB, free: 3.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1773, allocations: 81.11 kB / 0.6932 GB, free: 3.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1774, allocations: 176 kB / 0.6934 GB, free: 2.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.1775, allocations: 37.7 kB / 0.6934 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1776, allocations: 148.3 kB / 0.6935 GB, free: 2.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1777, allocations: 126.2 kB / 0.6937 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.1779, allocations: 77.69 kB / 0.6937 GB, free: 2.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.178, allocations: 334.8 kB / 0.6941 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.1785, allocations: 252.7 kB / 0.6943 GB, free: 1.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.1791, allocations: 337.5 kB / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1801, allocations: 0.6 MB / 0.6952 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1801, allocations: 7.938 kB / 0.6952 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001147/0.1813, allocations: 0.6347 MB / 0.6958 GB, free: 216 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1813, allocations: 4 kB / 0.6958 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1813, allocations: 8.281 kB / 0.6958 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1813, allocations: 4 kB / 0.6958 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.1822, allocations: 151.7 kB / 0.696 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1822, allocations: 4 kB / 0.696 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.1827, allocations: 51.98 kB / 0.696 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.1827, allocations: 15.94 kB / 0.6961 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006442/0.1834, allocations: 360.6 kB / 0.6964 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005259/0.1839, allocations: 321.9 kB / 0.6967 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009335/0.1848, allocations: 0.5708 MB / 0.6973 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.1848, allocations: 4 kB / 0.6973 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001142/0.186, allocations: 0.6141 MB / 0.6979 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.186, allocations: 4 kB / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.186, allocations: 4 kB / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.186, allocations: 7.984 kB / 0.6979 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.1868, allocations: 147.8 kB / 0.698 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1869, allocations: 4 kB / 0.698 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.1872, allocations: 48.12 kB / 0.6981 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1873, allocations: 23.92 kB / 0.6981 GB, free: 13.81 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.0001423/0.1874, allocations: 200.8 kB / 0.6983 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.1875, allocations: 23.72 kB / 0.6983 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.189, allocations: 0.6568 MB / 0.699 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.189, allocations: 4 kB / 0.699 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.189, allocations: 0 / 0.699 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.189, allocations: 7.984 kB / 0.699 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.1912, allocations: 1.367 MB / 0.7003 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1912, allocations: 3.938 kB / 0.7003 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.1918, allocations: 123.8 kB / 0.7004 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1918, allocations: 7.938 kB / 0.7004 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.1919, allocations: 8 kB / 0.7004 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1919, allocations: 7.938 kB / 0.7004 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1919, allocations: 7.938 kB / 0.7005 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.1929, allocations: 0.7077 MB / 0.7011 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.193, allocations: 140.8 kB / 0.7013 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.1931, allocations: 12 kB / 0.7013 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.1934, allocations: 43.88 kB / 0.7013 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.1935, allocations: 31.91 kB / 0.7014 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1936, allocations: 8 kB / 0.7014 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001211/0.1937, allocations: 148.9 kB / 0.7015 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 0 / 0.7015 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005979/0.1943, allocations: 148 kB / 0.7017 GB, free: 10 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.0001954/0.1945, allocations: 135.2 kB / 0.7018 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.1961, allocations: 0.8959 MB / 0.7027 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1961, allocations: 0 / 0.7027 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.1966, allocations: 256.7 kB / 0.7029 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1971, allocations: 52.66 kB / 0.703 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1982, allocations: 0.7039 MB / 0.7036 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1986, allocations: 0.7916 MB / 0.7044 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004894/0.1991, allocations: 174.8 kB / 0.7046 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1992, allocations: 31.42 kB / 0.7046 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1992, allocations: 4 kB / 0.7046 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.008021/0.2072, allocations: 4.805 MB / 0.7093 GB, free: 2.117 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)