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.005737/0.005737, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.0012/0.0012, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 283 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 99.78 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1601, 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.004827/0.165, allocations: 3.373 MB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1675, allocations: 1.491 MB / 0.7711 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.1677, allocations: 11.94 kB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.1693, allocations: 0.681 MB / 0.7718 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.1698, allocations: 195 kB / 0.772 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.1705, allocations: 251.4 kB / 0.7722 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.171, allocations: 415.2 kB / 0.7726 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.1715, allocations: 291.8 kB / 0.7729 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.1718, allocations: 167.5 kB / 0.773 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.1722, allocations: 183.3 kB / 0.7732 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.1722, allocations: 28 kB / 0.7732 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.1726, allocations: 239.4 kB / 0.7735 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1727, allocations: 107.7 kB / 0.7736 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1729, allocations: 151.2 kB / 0.7737 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.1735, allocations: 454.5 kB / 0.7741 GB, free: 464 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1735, allocations: 4 kB / 0.7742 GB, free: 460 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1735, allocations: 0 / 0.7742 GB, free: 460 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1735, allocations: 0 / 0.7742 GB, free: 460 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.3049/0.4784, allocations: 0.5935 MB / 0.7747 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4785, allocations: 9.594 kB / 0.7747 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.4792, allocations: 104.2 kB / 0.7748 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4796, allocations: 291.6 kB / 0.7751 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.4797, allocations: 50.36 kB / 0.7752 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.4797, allocations: 26 kB / 0.7752 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.4804, allocations: 418.9 kB / 0.7756 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4805, allocations: 4.531 kB / 0.7756 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.4805, allocations: 14.33 kB / 0.7756 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.4806, allocations: 30.78 kB / 0.7756 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.4812, allocations: 328.8 kB / 0.776 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.4831, allocations: 2.084 MB / 0.778 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.4837, allocations: 209.2 kB / 0.7782 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.484, allocations: 132.6 kB / 0.7783 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.4841, allocations: 3.125 kB / 0.7783 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.4841, allocations: 33.34 kB / 0.7783 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.4841, allocations: 0 / 0.7783 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0006391/0.4847, allocations: 258.9 kB / 0.7786 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4848, allocations: 65.06 kB / 0.7787 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.485, allocations: 223.9 kB / 0.7789 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.485, allocations: 32.06 kB / 0.7789 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.4851, allocations: 190.8 kB / 0.7791 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.4852, allocations: 57.88 kB / 0.7791 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.4852, allocations: 58.75 kB / 0.7792 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.4853, allocations: 330.6 kB / 0.7795 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4855, allocations: 80.44 kB / 0.7796 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.4857, allocations: 177.2 kB / 0.7798 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.4861, allocations: 279.2 kB / 0.78 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4861, allocations: 0.8438 kB / 0.78 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00051/0.4866, allocations: 293.5 kB / 0.7803 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4867, allocations: 6.625 kB / 0.7803 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4867, allocations: 3.859 kB / 0.7803 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4867, allocations: 5.562 kB / 0.7803 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.4871, allocations: 71.5 kB / 0.7804 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007506/0.4878, allocations: 1.404 MB / 0.7818 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4881, allocations: 31.97 kB / 0.7818 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.4881, allocations: 14.17 kB / 0.7818 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002489/0.4883, allocations: 191.5 kB / 0.782 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000207/0.4886, allocations: 188.8 kB / 0.7822 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003541/0.4889, allocations: 268.2 kB / 0.7824 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.4889, allocations: 1.25 kB / 0.7824 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.00047/0.4894, allocations: 293 kB / 0.7827 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4894, allocations: 6.75 kB / 0.7827 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4894, allocations: 5.781 kB / 0.7827 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.4894, allocations: 8.719 kB / 0.7827 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4898, allocations: 65.89 kB / 0.7828 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/0.4904, allocations: 1.414 MB / 0.7842 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.4906, allocations: 33.3 kB / 0.7842 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4907, allocations: 10.53 kB / 0.7842 GB, free: 8.508 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.714e-05/0.4907, allocations: 195.5 kB / 0.7844 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.4908, allocations: 17.84 kB / 0.7844 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.4908, allocations: 34.78 kB / 0.7844 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4908, allocations: 5.281 kB / 0.7844 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4909, allocations: 1.062 kB / 0.7844 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4909, allocations: 0 / 0.7844 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.4917, allocations: 0.7348 MB / 0.7852 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4917, allocations: 1 kB / 0.7852 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.4921, allocations: 51.36 kB / 0.7852 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4921, allocations: 1.781 kB / 0.7852 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4921, allocations: 6.609 kB / 0.7852 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4921, allocations: 6 kB / 0.7852 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4921, allocations: 2.688 kB / 0.7852 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.4925, allocations: 318.5 kB / 0.7855 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.4925, allocations: 117.9 kB / 0.7856 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4926, allocations: 6.688 kB / 0.7857 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4927, allocations: 19.8 kB / 0.7857 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4928, allocations: 15.86 kB / 0.7857 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4928, allocations: 8.938 kB / 0.7857 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001073/0.4929, allocations: 156.5 kB / 0.7858 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4929, allocations: 0 / 0.7858 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005341/0.4934, allocations: 121 kB / 0.786 GB, free: 7.227 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.849e-05/0.4935, allocations: 106.8 kB / 0.7861 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009263/0.4945, allocations: 325.2 kB / 0.7864 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4945, allocations: 5.125 kB / 0.7864 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4948, allocations: 99.36 kB / 0.7865 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.4952, allocations: 42.19 kB / 0.7865 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.496, allocations: 494.8 kB / 0.787 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.4962, allocations: 0.7752 MB / 0.7877 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.4964, allocations: 61.7 kB / 0.7878 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.4964, allocations: 23.34 kB / 0.7878 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4964, allocations: 0 / 0.7878 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of Templates: time 0.006019/0.5025, allocations: 2.475 MB / 0.7902 GB, free: 5.801 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)