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.001197/0.001197, allocations: 110 kB / 16.41 MB, free: 6.477 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.001116/0.001116, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.346/1.346, 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.002185/0.002185, allocations: 290.1 kB / 291.5 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.9611/0.9611, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5392, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005455/0.5447, allocations: 3.362 MB / 0.7703 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.5474, allocations: 1.488 MB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.5477, allocations: 7.938 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.5495, allocations: 0.6931 MB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.5501, allocations: 191 kB / 0.7726 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.551, allocations: 253.5 kB / 0.7729 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.5517, allocations: 407.2 kB / 0.7733 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.5524, allocations: 300.4 kB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.5528, allocations: 163.4 kB / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.5533, allocations: 187.3 kB / 0.7739 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.5534, allocations: 28 kB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.554, allocations: 243.4 kB / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.5542, allocations: 107.7 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.5544, allocations: 155.2 kB / 0.7744 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.5554, allocations: 445.1 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.5554, allocations: 4 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5554, allocations: 0 / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.5554, allocations: 0 / 0.7748 GB, free: 11.93 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.00169/0.5571, allocations: 0.5926 MB / 0.7754 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.5572, allocations: 16.02 kB / 0.7754 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.5581, allocations: 112.4 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.5587, allocations: 280.2 kB / 0.7758 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.5588, allocations: 46.83 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.5588, allocations: 28.36 kB / 0.7759 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.5597, allocations: 428.6 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5597, allocations: 0 / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.5598, allocations: 8 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.5598, allocations: 32.53 kB / 0.7763 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.5606, allocations: 333.9 kB / 0.7766 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.5632, allocations: 2.088 MB / 0.7787 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.5638, allocations: 202.7 kB / 0.7789 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.5642, allocations: 132.7 kB / 0.779 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.5642, allocations: 4 kB / 0.779 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5642, allocations: 34.56 kB / 0.779 GB, free: 7.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.5643, allocations: 0 / 0.779 GB, free: 7.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006735/0.5649, allocations: 263.8 kB / 0.7793 GB, free: 7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.565, allocations: 55.41 kB / 0.7793 GB, free: 6.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.5652, allocations: 224.9 kB / 0.7795 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.5653, allocations: 29.7 kB / 0.7796 GB, free: 6.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5654, allocations: 195.9 kB / 0.7798 GB, free: 6.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.5655, allocations: 59.19 kB / 0.7798 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.5656, allocations: 57.61 kB / 0.7799 GB, free: 6.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5657, allocations: 330.8 kB / 0.7802 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.5659, allocations: 76.81 kB / 0.7803 GB, free: 5.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.5662, allocations: 185.7 kB / 0.7804 GB, free: 5.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.5667, allocations: 268.6 kB / 0.7807 GB, free: 5.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5667, allocations: 0 / 0.7807 GB, free: 5.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005855/0.5673, allocations: 296 kB / 0.781 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5673, allocations: 4 kB / 0.781 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5673, allocations: 4 kB / 0.781 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.5674, allocations: 11.94 kB / 0.781 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.5678, allocations: 63.89 kB / 0.781 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.569, allocations: 1.405 MB / 0.7824 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.5693, allocations: 43.83 kB / 0.7825 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.5693, allocations: 8 kB / 0.7825 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000294/0.5696, allocations: 194.5 kB / 0.7827 GB, free: 3.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002505/0.5699, allocations: 184.1 kB / 0.7828 GB, free: 3.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004482/0.5703, allocations: 281.4 kB / 0.7831 GB, free: 2.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.816e-06/0.5704, allocations: 0 / 0.7831 GB, free: 2.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005806/0.5709, allocations: 281.1 kB / 0.7834 GB, free: 2.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.571, allocations: 11.94 kB / 0.7834 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.571, allocations: 11.88 kB / 0.7834 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.571, allocations: 4 kB / 0.7834 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.5714, allocations: 63.91 kB / 0.7835 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.5725, allocations: 1.416 MB / 0.7848 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5727, allocations: 27.98 kB / 0.7849 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.5727, allocations: 12 kB / 0.7849 GB, free: 0.7266 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.0001568/0.5729, allocations: 200.7 kB / 0.7851 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.5729, allocations: 15.81 kB / 0.7851 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.573, allocations: 38.11 kB / 0.7851 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.573, allocations: 0 / 0.7851 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.573, allocations: 0 / 0.7851 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.573, allocations: 0 / 0.7851 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5742, allocations: 0.731 MB / 0.7858 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5743, allocations: 0 / 0.7858 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.5746, allocations: 51.97 kB / 0.7859 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.5747, allocations: 4.156 kB / 0.7859 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.5747, allocations: 7.938 kB / 0.7859 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5747, allocations: 3.938 kB / 0.7859 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5747, allocations: 4 kB / 0.7859 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.5753, allocations: 323.4 kB / 0.7862 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.5754, allocations: 104.8 kB / 0.7863 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.5755, allocations: 4 kB / 0.7863 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5756, allocations: 11.98 kB / 0.7863 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.5757, allocations: 23.86 kB / 0.7863 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.5757, allocations: 8 kB / 0.7864 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001801/0.5759, allocations: 164.5 kB / 0.7865 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5759, allocations: 0 / 0.7865 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006109/0.5765, allocations: 119.5 kB / 0.7866 GB, free: 14.79 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.0001434/0.5767, allocations: 99.25 kB / 0.7867 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5778, allocations: 333.7 kB / 0.787 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5778, allocations: 0 / 0.787 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.5782, allocations: 97.25 kB / 0.7871 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.5787, allocations: 48.69 kB / 0.7872 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.5798, allocations: 0.5204 MB / 0.7877 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.5802, allocations: 0.7753 MB / 0.7884 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.5803, allocations: 23.44 kB / 0.7885 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5803, allocations: 3.938 kB / 0.7885 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.007561/0.5879, allocations: 3.898 MB / 0.7923 GB, free: 8.938 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)