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.004675/0.004675, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001035/0.001035, allocations: 191 kB / 16.68 MB, free: 5.973 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 282.8 kB / 290.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 86.96 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004427/0.1552, allocations: 3.368 MB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1574, allocations: 1.499 MB / 0.7711 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1575, allocations: 4 kB / 0.7711 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.159, allocations: 0.6845 MB / 0.7718 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.1593, allocations: 195.1 kB / 0.772 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.1599, allocations: 243.4 kB / 0.7722 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.1603, allocations: 407.2 kB / 0.7726 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.1608, allocations: 303.7 kB / 0.7729 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.161, allocations: 163.4 kB / 0.773 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.1613, allocations: 191.3 kB / 0.7732 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.1613, allocations: 32 kB / 0.7732 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1617, allocations: 231.5 kB / 0.7735 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1618, allocations: 111.7 kB / 0.7736 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1619, allocations: 151.2 kB / 0.7737 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.1624, allocations: 454.3 kB / 0.7741 GB, free: 464 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1625, allocations: 0 / 0.7741 GB, free: 464 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1625, allocations: 0 / 0.7741 GB, free: 464 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1625, allocations: 0 / 0.7741 GB, free: 464 kB / 0.5606 GB 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.2924/0.4549, allocations: 0.6124 MB / 0.7747 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4549, allocations: 9.469 kB / 0.7748 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.4558, allocations: 105.3 kB / 0.7749 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.4562, allocations: 282 kB / 0.7751 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.4563, allocations: 46.41 kB / 0.7752 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.4564, allocations: 27.16 kB / 0.7752 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.4573, allocations: 422.9 kB / 0.7756 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4573, allocations: 7.562 kB / 0.7756 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.4573, allocations: 10.56 kB / 0.7756 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.4574, allocations: 29.7 kB / 0.7756 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.4581, allocations: 331 kB / 0.776 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.4603, allocations: 2.087 MB / 0.778 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.4608, allocations: 204.2 kB / 0.7782 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4612, allocations: 129.2 kB / 0.7783 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4612, allocations: 3.031 kB / 0.7783 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.4612, allocations: 33.61 kB / 0.7784 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.4612, allocations: 0 / 0.7784 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0006127/0.4619, allocations: 261.4 kB / 0.7786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.4619, allocations: 60.77 kB / 0.7787 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.4621, allocations: 235.4 kB / 0.7789 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4621, allocations: 31.2 kB / 0.7789 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.4622, allocations: 191.8 kB / 0.7791 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4622, allocations: 64.75 kB / 0.7792 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.4623, allocations: 57.98 kB / 0.7792 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.4624, allocations: 330.3 kB / 0.7795 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.4626, allocations: 80.55 kB / 0.7796 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.4628, allocations: 183.5 kB / 0.7798 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.4632, allocations: 269.4 kB / 0.78 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4632, allocations: 1.062 kB / 0.78 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005156/0.4637, allocations: 288.1 kB / 0.7803 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4637, allocations: 9.719 kB / 0.7803 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4637, allocations: 6.031 kB / 0.7803 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4638, allocations: 5.156 kB / 0.7803 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.4642, allocations: 68.39 kB / 0.7804 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007491/0.4649, allocations: 1.407 MB / 0.7818 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4651, allocations: 35.27 kB / 0.7818 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4652, allocations: 15.69 kB / 0.7818 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002328/0.4654, allocations: 187.8 kB / 0.782 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000199/0.4656, allocations: 189.6 kB / 0.7822 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003541/0.466, allocations: 269.4 kB / 0.7824 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.466, allocations: 0.875 kB / 0.7824 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004743/0.4665, allocations: 303.3 kB / 0.7827 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.4665, allocations: 7.281 kB / 0.7827 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4665, allocations: 3.219 kB / 0.7827 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.4665, allocations: 5.906 kB / 0.7827 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.4669, allocations: 67.38 kB / 0.7828 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/0.4675, allocations: 1.403 MB / 0.7842 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4676, allocations: 29.72 kB / 0.7842 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4677, allocations: 13.91 kB / 0.7842 GB, free: 8.258 MB / 0.5606 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 7.246e-05/0.4677, allocations: 200.3 kB / 0.7844 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4678, allocations: 24.73 kB / 0.7844 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.4678, allocations: 27.45 kB / 0.7845 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4679, allocations: 5.688 kB / 0.7845 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4679, allocations: 0.9688 kB / 0.7845 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4679, allocations: 0.6562 kB / 0.7845 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.4687, allocations: 0.7398 MB / 0.7852 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4687, allocations: 1.219 kB / 0.7852 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.469, allocations: 49.58 kB / 0.7852 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4691, allocations: 2.312 kB / 0.7852 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4691, allocations: 7.016 kB / 0.7852 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4691, allocations: 8.406 kB / 0.7853 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4691, allocations: 7.656 kB / 0.7853 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.4695, allocations: 327.3 kB / 0.7856 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.4695, allocations: 113.7 kB / 0.7857 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.4696, allocations: 7.375 kB / 0.7857 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4697, allocations: 8.969 kB / 0.7857 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.4697, allocations: 17.5 kB / 0.7857 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4698, allocations: 4.75 kB / 0.7857 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001084/0.4699, allocations: 161.8 kB / 0.7859 GB, free: 7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4699, allocations: 0 / 0.7859 GB, free: 7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004981/0.4704, allocations: 124.8 kB / 0.786 GB, free: 6.965 MB / 0.5606 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 8.051e-05/0.4705, allocations: 103.3 kB / 0.7861 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009046/0.4714, allocations: 329.4 kB / 0.7864 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4714, allocations: 1.219 kB / 0.7864 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.4717, allocations: 89.08 kB / 0.7865 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.4721, allocations: 50.45 kB / 0.7865 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006849/0.4728, allocations: 0.4889 MB / 0.787 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.473, allocations: 0.7746 MB / 0.7878 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4732, allocations: 61.56 kB / 0.7878 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.4732, allocations: 19.62 kB / 0.7879 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4732, allocations: 0 / 0.7879 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of Templates: time 0.005124/0.4784, allocations: 2.478 MB / 0.7903 GB, free: 5.543 MB / 0.5606 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)