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.0009216/0.0009217, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005975/0.005975, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 278.6 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 14.66 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 88.55 MB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002931/0.1566, allocations: 2.418 MB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1595, allocations: 2.001 MB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1596, allocations: 4.531 kB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.1598, allocations: 32.33 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.1603, allocations: 181.4 kB / 0.6897 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.1609, allocations: 244.7 kB / 0.6899 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.1613, allocations: 460 kB / 0.6903 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.1619, allocations: 370.4 kB / 0.6907 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1621, allocations: 95.62 kB / 0.6908 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1623, allocations: 151.5 kB / 0.6909 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1624, allocations: 12 kB / 0.6909 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1629, allocations: 443.2 kB / 0.6914 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.163, allocations: 87.77 kB / 0.6914 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1631, allocations: 130.4 kB / 0.6916 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.1636, allocations: 470.6 kB / 0.692 GB, free: 7.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1636, allocations: 0 / 0.692 GB, free: 7.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1636, allocations: 0 / 0.692 GB, free: 7.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1636, allocations: 0.6562 kB / 0.692 GB, free: 7.934 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.000752/0.1644, allocations: 0.5208 MB / 0.6925 GB, free: 7.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1644, allocations: 8.031 kB / 0.6925 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.1651, allocations: 114.1 kB / 0.6926 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1654, allocations: 249.2 kB / 0.6929 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1654, allocations: 12.81 kB / 0.6929 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.1655, allocations: 32.11 kB / 0.6929 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.1661, allocations: 389.9 kB / 0.6933 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1661, allocations: 4 kB / 0.6933 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.1662, allocations: 15.98 kB / 0.6933 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.1662, allocations: 19.98 kB / 0.6933 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.1668, allocations: 367.6 kB / 0.6937 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.1686, allocations: 1.734 MB / 0.6954 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.1692, allocations: 352.9 kB / 0.6957 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.1695, allocations: 189.6 kB / 0.6959 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.1697, allocations: 89.09 kB / 0.696 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1697, allocations: 38.56 kB / 0.696 GB, free: 3.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1697, allocations: 7.875 kB / 0.696 GB, free: 3.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007402/0.1771, allocations: 2.075 MB / 0.698 GB, free: 1.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1772, allocations: 81.11 kB / 0.6981 GB, free: 1.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1774, allocations: 175.8 kB / 0.6983 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.1774, allocations: 33.7 kB / 0.6983 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.1775, allocations: 152.3 kB / 0.6985 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.1776, allocations: 126.3 kB / 0.6986 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.1777, allocations: 33.7 kB / 0.6986 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1778, allocations: 330.8 kB / 0.6989 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.1783, allocations: 255.8 kB / 0.6992 GB, free: 228 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.1788, allocations: 345.5 kB / 0.6995 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1798, allocations: 0.6234 MB / 0.7001 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1798, allocations: 3.938 kB / 0.7001 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001162/0.181, allocations: 0.6581 MB / 0.7008 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.1811, allocations: 158.7 kB / 0.7009 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1811, allocations: 8 kB / 0.7009 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1811, allocations: 4 kB / 0.7009 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.1821, allocations: 155.7 kB / 0.7011 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1821, allocations: 4 kB / 0.7011 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.1825, allocations: 55.92 kB / 0.7011 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.1825, allocations: 20 kB / 0.7011 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.1826, allocations: 7.938 kB / 0.7012 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/0.1836, allocations: 0.5854 MB / 0.7017 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1836, allocations: 4 kB / 0.7017 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.1837, allocations: 4 kB / 0.7017 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.1845, allocations: 152 kB / 0.7019 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1845, allocations: 11.92 kB / 0.7019 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.1849, allocations: 47.94 kB / 0.7019 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.1849, allocations: 19.98 kB / 0.702 GB, free: 13.27 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.0002071/0.1851, allocations: 234.4 kB / 0.7022 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.1852, allocations: 31.69 kB / 0.7022 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.1866, allocations: 0.6808 MB / 0.7029 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1866, allocations: 4 kB / 0.7029 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1866, allocations: 3.984 kB / 0.7029 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1866, allocations: 4 kB / 0.7029 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.1887, allocations: 1.4 MB / 0.7043 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1887, allocations: 4.031 kB / 0.7043 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.1893, allocations: 123.8 kB / 0.7044 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1893, allocations: 4 kB / 0.7044 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.1894, allocations: 8 kB / 0.7044 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1894, allocations: 4 kB / 0.7044 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1894, allocations: 7.938 kB / 0.7044 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.1904, allocations: 0.7347 MB / 0.7051 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1905, allocations: 148.8 kB / 0.7053 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1906, allocations: 8 kB / 0.7053 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.1909, allocations: 39.95 kB / 0.7053 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.191, allocations: 35.83 kB / 0.7053 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.1911, allocations: 16 kB / 0.7054 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001164/0.1912, allocations: 144.9 kB / 0.7055 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1912, allocations: 0 / 0.7055 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006204/0.1918, allocations: 144 kB / 0.7056 GB, free: 9.34 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.0002132/0.192, allocations: 140.5 kB / 0.7058 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.1936, allocations: 0.8756 MB / 0.7066 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1936, allocations: 0 / 0.7066 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.1941, allocations: 268.8 kB / 0.7069 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.1946, allocations: 49 kB / 0.7069 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1958, allocations: 0.8266 MB / 0.7077 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1961, allocations: 0.7877 MB / 0.7085 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005059/0.1966, allocations: 178.8 kB / 0.7087 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1967, allocations: 27.44 kB / 0.7087 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1968, allocations: 4 kB / 0.7087 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.007668/0.2044, allocations: 4.48 MB / 0.7131 GB, free: 1.664 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)