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.001363/0.001363, allocations: 110.3 kB / 16.41 MB, free: 6.516 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.001294/0.001294, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 296.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 95.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4692, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005352/0.4745, allocations: 3.363 MB / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.4771, allocations: 1.495 MB / 0.7718 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4773, allocations: 4 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.4789, allocations: 0.697 MB / 0.7725 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.4794, allocations: 187.1 kB / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.48, allocations: 259.3 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.4805, allocations: 407.2 kB / 0.7733 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.481, allocations: 244.2 kB / 0.7735 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4812, allocations: 163.4 kB / 0.7737 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.4815, allocations: 195.2 kB / 0.7739 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.4816, allocations: 24 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.482, allocations: 231.5 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.4821, allocations: 115.6 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4823, allocations: 143.3 kB / 0.7743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.483, allocations: 456.1 kB / 0.7748 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.483, allocations: 3.984 kB / 0.7748 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.483, allocations: 0 / 0.7748 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.483, allocations: 4 kB / 0.7748 GB, free: 12 MB / 0.545 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.001099/0.4841, allocations: 0.6115 MB / 0.7754 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4841, allocations: 12.03 kB / 0.7754 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.4848, allocations: 108.6 kB / 0.7755 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4853, allocations: 288.5 kB / 0.7758 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.4854, allocations: 46.83 kB / 0.7758 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.4854, allocations: 24.38 kB / 0.7758 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.4862, allocations: 424.6 kB / 0.7762 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4862, allocations: 7.938 kB / 0.7763 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.4862, allocations: 8 kB / 0.7763 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.4863, allocations: 28.55 kB / 0.7763 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.4869, allocations: 326 kB / 0.7766 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.4895, allocations: 2.096 MB / 0.7786 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.4901, allocations: 182.7 kB / 0.7788 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.4904, allocations: 116.8 kB / 0.7789 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4904, allocations: 4 kB / 0.7789 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.4904, allocations: 42.48 kB / 0.779 GB, free: 7.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4904, allocations: 0 / 0.779 GB, free: 7.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006685/0.4911, allocations: 259.8 kB / 0.7792 GB, free: 7.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4912, allocations: 59.41 kB / 0.7793 GB, free: 7.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.4914, allocations: 228.9 kB / 0.7795 GB, free: 6.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.4914, allocations: 29.7 kB / 0.7795 GB, free: 6.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4916, allocations: 200.3 kB / 0.7797 GB, free: 6.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.4916, allocations: 59.48 kB / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.4917, allocations: 53.66 kB / 0.7798 GB, free: 6.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4919, allocations: 330.8 kB / 0.7801 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4921, allocations: 80.81 kB / 0.7802 GB, free: 6.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.4924, allocations: 185.6 kB / 0.7804 GB, free: 5.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.4928, allocations: 268.7 kB / 0.7807 GB, free: 5.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4929, allocations: 0 / 0.7807 GB, free: 5.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005784/0.4934, allocations: 292.4 kB / 0.7809 GB, free: 5.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4935, allocations: 12.02 kB / 0.7809 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4935, allocations: 4 kB / 0.7809 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4935, allocations: 11.94 kB / 0.781 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.4939, allocations: 63.91 kB / 0.781 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.4952, allocations: 1.404 MB / 0.7824 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.4954, allocations: 35.78 kB / 0.7824 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4954, allocations: 11.98 kB / 0.7824 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003006/0.4957, allocations: 194.5 kB / 0.7826 GB, free: 3.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002704/0.496, allocations: 176.2 kB / 0.7828 GB, free: 3.094 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004546/0.4964, allocations: 284.8 kB / 0.7831 GB, free: 2.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4964, allocations: 4 kB / 0.7831 GB, free: 2.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005532/0.497, allocations: 285.5 kB / 0.7833 GB, free: 2.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.497, allocations: 8 kB / 0.7833 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.497, allocations: 11.97 kB / 0.7834 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.497, allocations: 4 kB / 0.7834 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.4974, allocations: 71.89 kB / 0.7834 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.4986, allocations: 1.404 MB / 0.7848 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.4988, allocations: 27.88 kB / 0.7848 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4988, allocations: 8 kB / 0.7848 GB, free: 0.8086 MB / 0.545 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.0001597/0.499, allocations: 200.7 kB / 0.785 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.4991, allocations: 27.89 kB / 0.7851 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.4991, allocations: 38.11 kB / 0.7851 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4991, allocations: 0 / 0.7851 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4991, allocations: 3.938 kB / 0.7851 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4991, allocations: 0 / 0.7851 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.5003, allocations: 0.7234 MB / 0.7858 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5003, allocations: 0 / 0.7858 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.5007, allocations: 59.89 kB / 0.7859 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5007, allocations: 0 / 0.7859 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5007, allocations: 4 kB / 0.7859 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5007, allocations: 0 / 0.7859 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5007, allocations: 4 kB / 0.7859 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.5012, allocations: 327.6 kB / 0.7862 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5013, allocations: 108.9 kB / 0.7863 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.5014, allocations: 11.98 kB / 0.7863 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.5015, allocations: 8 kB / 0.7863 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.5016, allocations: 19.92 kB / 0.7863 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.5016, allocations: 7.938 kB / 0.7863 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001604/0.5017, allocations: 164.5 kB / 0.7865 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5017, allocations: 0 / 0.7865 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005645/0.5023, allocations: 115.7 kB / 0.7866 GB, free: 14.86 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 0.0001353/0.5024, allocations: 115.1 kB / 0.7867 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.5035, allocations: 316.6 kB / 0.787 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5035, allocations: 0 / 0.787 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.5039, allocations: 87.88 kB / 0.7871 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.5043, allocations: 58.23 kB / 0.7871 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.5053, allocations: 499.1 kB / 0.7876 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.5057, allocations: 0.7753 MB / 0.7884 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.5059, allocations: 57.89 kB / 0.7884 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.5059, allocations: 35.31 kB / 0.7885 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5059, allocations: 3.938 kB / 0.7885 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.006439/0.5124, allocations: 2.472 MB / 0.7909 GB, free: 10.41 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)