Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.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.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004576/0.004576, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 266.9 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.9722/0.9722, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004338, allocations: 12.5 kB / 0.5987 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003661/0.1571, allocations: 3.035 MB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1592, allocations: 1.46 MB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1594, allocations: 6.812 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.1596, allocations: 43.62 kB / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.16, allocations: 183.2 kB / 0.6897 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.1605, allocations: 233.6 kB / 0.69 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.161, allocations: 0.5714 MB / 0.6905 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.1614, allocations: 332.8 kB / 0.6908 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1616, allocations: 128 kB / 0.691 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1619, allocations: 183.9 kB / 0.6911 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1619, allocations: 13.97 kB / 0.6911 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.1623, allocations: 291.4 kB / 0.6914 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1624, allocations: 99.69 kB / 0.6915 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1626, allocations: 160.9 kB / 0.6917 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.163, allocations: 446.5 kB / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.163, allocations: 8 kB / 0.6921 GB, free: 7.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.163, allocations: 0 / 0.6921 GB, free: 7.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1631, allocations: 0 / 0.6921 GB, free: 7.871 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008328/0.1639, allocations: 0.5614 MB / 0.6926 GB, free: 7.254 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1639, allocations: 8.031 kB / 0.6927 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.1646, allocations: 112.5 kB / 0.6928 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1649, allocations: 264.6 kB / 0.693 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.165, allocations: 58.69 kB / 0.6931 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1651, allocations: 24.38 kB / 0.6931 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.1657, allocations: 425.1 kB / 0.6935 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1657, allocations: 7.875 kB / 0.6935 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1658, allocations: 11.98 kB / 0.6935 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.1658, allocations: 32.53 kB / 0.6936 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.1665, allocations: 334 kB / 0.6939 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1686, allocations: 2.107 MB / 0.6959 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1691, allocations: 198.7 kB / 0.6961 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.1695, allocations: 148.7 kB / 0.6963 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1695, allocations: 4 kB / 0.6963 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1696, allocations: 34.5 kB / 0.6963 GB, free: 3.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.1696, allocations: 0 / 0.6963 GB, free: 3.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006584/0.1702, allocations: 275.1 kB / 0.6966 GB, free: 2.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1703, allocations: 59.34 kB / 0.6966 GB, free: 2.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1705, allocations: 225 kB / 0.6968 GB, free: 2.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1705, allocations: 29.7 kB / 0.6969 GB, free: 2.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1706, allocations: 192 kB / 0.697 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.1707, allocations: 67.03 kB / 0.6971 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1707, allocations: 29.7 kB / 0.6971 GB, free: 2.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1709, allocations: 326.8 kB / 0.6974 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1711, allocations: 79.94 kB / 0.6975 GB, free: 1.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.1713, allocations: 191.7 kB / 0.6977 GB, free: 1.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.1718, allocations: 286.7 kB / 0.698 GB, free: 1.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1718, allocations: 0 / 0.698 GB, free: 1.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005425/0.1723, allocations: 301.2 kB / 0.6983 GB, free: 1.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1725, allocations: 195.8 kB / 0.6985 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1725, allocations: 4 kB / 0.6985 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1725, allocations: 4 kB / 0.6985 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1729, allocations: 67.89 kB / 0.6985 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009842/0.1739, allocations: 1.314 MB / 0.6998 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1741, allocations: 43.58 kB / 0.6998 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1741, allocations: 12 kB / 0.6999 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.1741, allocations: 4 kB / 0.6999 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004808/0.1746, allocations: 248.1 kB / 0.7001 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1746, allocations: 8.062 kB / 0.7001 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.1747, allocations: 7.938 kB / 0.7001 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.1751, allocations: 63.91 kB / 0.7002 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008539/0.1759, allocations: 1.31 MB / 0.7015 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1761, allocations: 35.67 kB / 0.7015 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1761, allocations: 12 kB / 0.7015 GB, free: 13.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.1763, allocations: 246.2 kB / 0.7017 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.1764, allocations: 19.72 kB / 0.7018 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.1764, allocations: 34.27 kB / 0.7018 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1764, allocations: 0 / 0.7018 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.1764, allocations: 3.938 kB / 0.7018 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1765, allocations: 0 / 0.7018 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1775, allocations: 0.7351 MB / 0.7025 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1775, allocations: 0 / 0.7025 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.1778, allocations: 51.91 kB / 0.7026 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1779, allocations: 4 kB / 0.7026 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1779, allocations: 12.14 kB / 0.7026 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1779, allocations: 7.938 kB / 0.7026 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1779, allocations: 4 kB / 0.7026 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.1784, allocations: 329.5 kB / 0.7029 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1784, allocations: 112.8 kB / 0.703 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1785, allocations: 7.938 kB / 0.703 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1786, allocations: 19.92 kB / 0.703 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1787, allocations: 15.97 kB / 0.703 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1787, allocations: 8 kB / 0.7031 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001309/0.1788, allocations: 160.5 kB / 0.7032 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.432e-06/0.1789, allocations: 0 / 0.7032 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005247/0.1794, allocations: 123.5 kB / 0.7033 GB, free: 11.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001015/0.1795, allocations: 99.25 kB / 0.7034 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000998/0.1805, allocations: 344.7 kB / 0.7037 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1805, allocations: 0 / 0.7037 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.1809, allocations: 95.88 kB / 0.7038 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.1813, allocations: 51.8 kB / 0.7039 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.1822, allocations: 0.6102 MB / 0.7045 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1825, allocations: 0.7755 MB / 0.7052 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000186/0.1827, allocations: 61.88 kB / 0.7053 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1828, allocations: 19.44 kB / 0.7053 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1828, allocations: 0 / 0.7053 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.005235/0.188, allocations: 2.213 MB / 0.7075 GB, free: 7.09 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)