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.001213/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001219/0.001219, allocations: 191.5 kB / 16.13 MB, free: 6.715 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 283 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 97.3 kB / 0.5945 GB, free: 28.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1496, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004508/0.1542, allocations: 3.406 MB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1563, allocations: 1.488 MB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1564, allocations: 4 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.1577, allocations: 0.6661 MB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.158, allocations: 179.2 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.1585, allocations: 226.3 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.159, allocations: 0.5692 MB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1593, allocations: 211.7 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1595, allocations: 135.5 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1598, allocations: 199.2 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.1598, allocations: 16 kB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.1602, allocations: 295.4 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1603, allocations: 103.7 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1605, allocations: 139.3 kB / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.161, allocations: 470.4 kB / 0.6873 GB, free: 9.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.161, allocations: 4 kB / 0.6873 GB, free: 9.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.161, allocations: 0 / 0.6873 GB, free: 9.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.161, allocations: 0 / 0.6873 GB, free: 9.117 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.0008939/0.1619, allocations: 0.5945 MB / 0.6879 GB, free: 8.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1619, allocations: 8.031 kB / 0.6879 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/0.1626, allocations: 108.5 kB / 0.688 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1629, allocations: 268.5 kB / 0.6883 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.163, allocations: 50.81 kB / 0.6883 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.1631, allocations: 24.38 kB / 0.6883 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.1637, allocations: 424.6 kB / 0.6887 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1637, allocations: 0 / 0.6887 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.1638, allocations: 12 kB / 0.6888 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.1638, allocations: 32.53 kB / 0.6888 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1644, allocations: 325.9 kB / 0.6891 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1665, allocations: 2.1 MB / 0.6911 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.1671, allocations: 206.7 kB / 0.6913 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.1674, allocations: 132.8 kB / 0.6915 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1674, allocations: 8 kB / 0.6915 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1674, allocations: 30.56 kB / 0.6915 GB, free: 4.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.1675, allocations: 0 / 0.6915 GB, free: 4.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006217/0.1681, allocations: 263.1 kB / 0.6918 GB, free: 4.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1681, allocations: 51.41 kB / 0.6918 GB, free: 4.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1684, allocations: 233 kB / 0.692 GB, free: 3.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1684, allocations: 29.7 kB / 0.6921 GB, free: 3.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1685, allocations: 195.9 kB / 0.6922 GB, free: 3.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1686, allocations: 63.12 kB / 0.6923 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.1687, allocations: 57.61 kB / 0.6924 GB, free: 3.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1688, allocations: 326.8 kB / 0.6927 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.169, allocations: 80.8 kB / 0.6927 GB, free: 3.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1692, allocations: 188.1 kB / 0.6929 GB, free: 2.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1697, allocations: 275.3 kB / 0.6932 GB, free: 2.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1697, allocations: 4 kB / 0.6932 GB, free: 2.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005158/0.1702, allocations: 285 kB / 0.6935 GB, free: 2.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1702, allocations: 11.94 kB / 0.6935 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1702, allocations: 4.438 kB / 0.6935 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1703, allocations: 11.94 kB / 0.6935 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1707, allocations: 67.89 kB / 0.6936 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009804/0.1717, allocations: 1.314 MB / 0.6948 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1719, allocations: 35.67 kB / 0.6949 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1719, allocations: 12 kB / 0.6949 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002709/0.1722, allocations: 188.7 kB / 0.6951 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000235/0.1724, allocations: 191.5 kB / 0.6952 GB, free: 304 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004109/0.1728, allocations: 265.6 kB / 0.6955 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.1729, allocations: 0 / 0.6955 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005099/0.1734, allocations: 296.8 kB / 0.6958 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.1734, allocations: 4 kB / 0.6958 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1734, allocations: 4 kB / 0.6958 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.1734, allocations: 8 kB / 0.6958 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.1738, allocations: 64.36 kB / 0.6959 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/0.1746, allocations: 1.306 MB / 0.6971 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1748, allocations: 27.83 kB / 0.6972 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1749, allocations: 16.16 kB / 0.6972 GB, free: 14.14 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.0001075/0.175, allocations: 196.8 kB / 0.6974 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.175, allocations: 23.72 kB / 0.6974 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.1751, allocations: 30.17 kB / 0.6974 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1751, allocations: 0 / 0.6974 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1751, allocations: 4 kB / 0.6974 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1751, allocations: 0 / 0.6974 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009492/0.1761, allocations: 0.7309 MB / 0.6981 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1761, allocations: 4 kB / 0.6981 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.1764, allocations: 52.11 kB / 0.6982 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1764, allocations: 11.94 kB / 0.6982 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1765, allocations: 0 / 0.6982 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1765, allocations: 7.938 kB / 0.6982 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1765, allocations: 0 / 0.6982 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.1769, allocations: 321.7 kB / 0.6985 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.177, allocations: 120.6 kB / 0.6986 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.177, allocations: 3.984 kB / 0.6986 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1772, allocations: 12 kB / 0.6986 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1773, allocations: 15.97 kB / 0.6987 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1773, allocations: 12 kB / 0.6987 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001296/0.1774, allocations: 152.5 kB / 0.6988 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 0 / 0.6988 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004844/0.1779, allocations: 115.7 kB / 0.6989 GB, free: 12.2 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 9.422e-05/0.178, allocations: 111.2 kB / 0.699 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009249/0.1789, allocations: 326.4 kB / 0.6993 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1789, allocations: 0 / 0.6993 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.1793, allocations: 101.2 kB / 0.6994 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1797, allocations: 52.64 kB / 0.6995 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.1805, allocations: 0.5878 MB / 0.7001 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1809, allocations: 0.7755 MB / 0.7008 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.181, allocations: 57.89 kB / 0.7009 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1811, allocations: 23.44 kB / 0.7009 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.1811, allocations: 0 / 0.7009 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.004983/0.1861, allocations: 2.249 MB / 0.7031 GB, free: 7.875 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)