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.00105/0.00105, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001003/0.001003, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 284.5 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 98.31 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004677/0.1515, allocations: 3.356 MB / 0.6849 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1535, allocations: 1.488 MB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1537, allocations: 7.938 kB / 0.6863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.1551, allocations: 0.6892 MB / 0.687 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.1555, allocations: 187 kB / 0.6872 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.156, allocations: 255.3 kB / 0.6874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1564, allocations: 407.2 kB / 0.6878 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.1569, allocations: 308.3 kB / 0.6881 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.157, allocations: 155.5 kB / 0.6883 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1573, allocations: 191.2 kB / 0.6884 GB, free: 412 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1574, allocations: 24 kB / 0.6885 GB, free: 388 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.1577, allocations: 239.5 kB / 0.6887 GB, free: 148 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.1578, allocations: 115.7 kB / 0.6888 GB, free: 32 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2418/0.3996, allocations: 140.8 kB / 0.6889 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.4003, allocations: 456.5 kB / 0.6894 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4003, allocations: 0 / 0.6894 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4003, allocations: 1.156 kB / 0.6894 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4003, allocations: 0 / 0.6894 GB, free: 13.17 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.0008684/0.4012, allocations: 0.5954 MB / 0.69 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4013, allocations: 9.531 kB / 0.69 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006806/0.4019, allocations: 104.9 kB / 0.6901 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.4023, allocations: 279.5 kB / 0.6903 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.4024, allocations: 49.94 kB / 0.6904 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.4024, allocations: 26.53 kB / 0.6904 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.4031, allocations: 424.1 kB / 0.6908 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4031, allocations: 1.344 kB / 0.6908 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.4031, allocations: 14.5 kB / 0.6908 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.4032, allocations: 29.66 kB / 0.6909 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.4038, allocations: 329.7 kB / 0.6912 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.4057, allocations: 2.087 MB / 0.6932 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.4062, allocations: 200.4 kB / 0.6934 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.4065, allocations: 132.6 kB / 0.6935 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.4066, allocations: 2.359 kB / 0.6935 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.4066, allocations: 34.89 kB / 0.6936 GB, free: 10.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.4066, allocations: 1.375 kB / 0.6936 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005999/0.4072, allocations: 265.9 kB / 0.6938 GB, free: 10.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.4072, allocations: 53.38 kB / 0.6939 GB, free: 10.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4074, allocations: 226.7 kB / 0.6941 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4074, allocations: 29.42 kB / 0.6941 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.4075, allocations: 192.1 kB / 0.6943 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.4076, allocations: 65.27 kB / 0.6944 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.4076, allocations: 51.28 kB / 0.6944 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.4077, allocations: 334.2 kB / 0.6947 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4079, allocations: 80.41 kB / 0.6948 GB, free: 9.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.4081, allocations: 180.8 kB / 0.695 GB, free: 9.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4085, allocations: 279.2 kB / 0.6952 GB, free: 9.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4085, allocations: 0.875 kB / 0.6952 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005223/0.4091, allocations: 288.2 kB / 0.6955 GB, free: 9.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4091, allocations: 11.25 kB / 0.6955 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4091, allocations: 3.797 kB / 0.6955 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4091, allocations: 9.75 kB / 0.6955 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.4095, allocations: 70.47 kB / 0.6956 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006965/0.4102, allocations: 1.405 MB / 0.697 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.4104, allocations: 34.66 kB / 0.697 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.4105, allocations: 12.66 kB / 0.697 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002394/0.4107, allocations: 198.7 kB / 0.6972 GB, free: 8.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002025/0.4109, allocations: 185.6 kB / 0.6974 GB, free: 8.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003622/0.4113, allocations: 272.9 kB / 0.6976 GB, free: 7.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.4113, allocations: 4.75 kB / 0.6977 GB, free: 7.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004936/0.4118, allocations: 293.8 kB / 0.6979 GB, free: 7.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.4118, allocations: 8.156 kB / 0.6979 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4118, allocations: 2.812 kB / 0.6979 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.4118, allocations: 5.844 kB / 0.698 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.4122, allocations: 69.44 kB / 0.698 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/0.4128, allocations: 1.404 MB / 0.6994 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.413, allocations: 24.38 kB / 0.6994 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4131, allocations: 12.92 kB / 0.6994 GB, free: 6.422 MB / 494.1 MB 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 6.966e-05/0.4131, allocations: 194.8 kB / 0.6996 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.4132, allocations: 24.69 kB / 0.6996 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4132, allocations: 33.12 kB / 0.6997 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4133, allocations: 2.844 kB / 0.6997 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4133, allocations: 4.062 kB / 0.6997 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4133, allocations: 1.312 kB / 0.6997 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.4142, allocations: 0.7282 MB / 0.7004 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4142, allocations: 5.188 kB / 0.7004 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.4146, allocations: 52.23 kB / 0.7004 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4146, allocations: 2.5 kB / 0.7004 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4146, allocations: 2.125 kB / 0.7004 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4146, allocations: 3.25 kB / 0.7004 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4146, allocations: 5.25 kB / 0.7005 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.415, allocations: 322.9 kB / 0.7008 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4151, allocations: 109.9 kB / 0.7009 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.4151, allocations: 7.578 kB / 0.7009 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4152, allocations: 10.7 kB / 0.7009 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.4153, allocations: 20.7 kB / 0.7009 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4153, allocations: 5.781 kB / 0.7009 GB, free: 5.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.4154, allocations: 161.2 kB / 0.7011 GB, free: 5.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4154, allocations: 0.9062 kB / 0.7011 GB, free: 5.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.416, allocations: 119.5 kB / 0.7012 GB, free: 5.305 MB / 494.1 MB 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 7.519e-05/0.416, allocations: 100.3 kB / 0.7013 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.417, allocations: 330.1 kB / 0.7016 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.417, allocations: 5.188 kB / 0.7016 GB, free: 5.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.4173, allocations: 98.88 kB / 0.7017 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.4178, allocations: 58.53 kB / 0.7017 GB, free: 5.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.4185, allocations: 486 kB / 0.7022 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4187, allocations: 0.7751 MB / 0.703 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.4189, allocations: 65.8 kB / 0.703 GB, free: 4.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.4189, allocations: 24.22 kB / 0.703 GB, free: 4.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4189, allocations: 0 / 0.703 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Templates: time 0.005677/0.4246, allocations: 2.426 MB / 0.7054 GB, free: 3.926 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)