Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 180.8 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 83.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4335/0.4335, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.206e-05/1.208e-05, allocations: 0 / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5331, allocations: 86.07 MB / 0.5582 GB, free: 15.06 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5334, allocations: 71.97 kB / 0.5583 GB, free: 14.99 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.5486, allocations: 5.421 MB / 0.5636 GB, free: 9.609 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5487, allocations: 0 / 0.5636 GB, free: 9.609 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.5487, allocations: 8 kB / 0.5636 GB, free: 9.602 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007294/0.5494, allocations: 0.5608 MB / 0.5641 GB, free: 9 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5495, allocations: 8.031 kB / 0.5641 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.5496, allocations: 43.53 kB / 0.5642 GB, free: 8.949 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.55, allocations: 316.1 kB / 0.5645 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5501, allocations: 10.12 kB / 0.5645 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.5501, allocations: 21.36 kB / 0.5645 GB, free: 8.578 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000259/0.5504, allocations: 133.8 kB / 0.5646 GB, free: 8.453 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.5507, allocations: 189.9 kB / 0.5648 GB, free: 8.254 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5507, allocations: 4 kB / 0.5648 GB, free: 8.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.5508, allocations: 7.953 kB / 0.5648 GB, free: 8.242 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.5508, allocations: 4 kB / 0.5648 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5519, allocations: 0.8005 MB / 0.5656 GB, free: 7.387 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.5521, allocations: 154.7 kB / 0.5658 GB, free: 7.227 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5523, allocations: 92.81 kB / 0.5658 GB, free: 7.133 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.5523, allocations: 4 kB / 0.5659 GB, free: 7.129 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.5523, allocations: 40.3 kB / 0.5659 GB, free: 7.082 MB / 395.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.5523, allocations: 0 / 0.5659 GB, free: 7.082 MB / 395.1 MB Notification: Performance of matching and sorting (n=28): time 0.001009/0.5534, allocations: 0.5751 MB / 0.5665 GB, free: 6.453 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.5534, allocations: 55.64 kB / 0.5665 GB, free: 6.387 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.5537, allocations: 265 kB / 0.5668 GB, free: 6.121 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.5537, allocations: 25.7 kB / 0.5668 GB, free: 6.09 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5539, allocations: 180.4 kB / 0.567 GB, free: 5.91 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.5539, allocations: 98.56 kB / 0.567 GB, free: 5.812 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.554, allocations: 0 / 0.567 GB, free: 5.812 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5541, allocations: 342.8 kB / 0.5674 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.5542, allocations: 56 kB / 0.5674 GB, free: 5.414 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.5543, allocations: 86.7 kB / 0.5675 GB, free: 5.316 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5544, allocations: 77.31 kB / 0.5676 GB, free: 5.242 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5545, allocations: 0 / 0.5676 GB, free: 5.242 MB / 395.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004398/0.5549, allocations: 260.1 kB / 0.5678 GB, free: 4.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5549, allocations: 4 kB / 0.5678 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5549, allocations: 4 kB / 0.5678 GB, free: 4.973 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.5553, allocations: 77.36 kB / 0.5679 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.5556, allocations: 75.89 kB / 0.568 GB, free: 4.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.5569, allocations: 1.901 MB / 0.5698 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5571, allocations: 16.27 kB / 0.5699 GB, free: 2.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.5571, allocations: 8 kB / 0.5699 GB, free: 2.758 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.5572, allocations: 104.9 kB / 0.57 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.5573, allocations: 35.61 kB / 0.57 GB, free: 2.613 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.5576, allocations: 224.5 kB / 0.5702 GB, free: 2.395 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5577, allocations: 0 / 0.5702 GB, free: 2.395 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.5577, allocations: 8.656 kB / 0.5702 GB, free: 2.387 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5577, allocations: 7.938 kB / 0.5702 GB, free: 2.379 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.5584, allocations: 0.5898 MB / 0.5708 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5584, allocations: 0 / 0.5708 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.5588, allocations: 79.89 kB / 0.5709 GB, free: 1.668 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5588, allocations: 4 kB / 0.5709 GB, free: 1.664 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5588, allocations: 0 / 0.5709 GB, free: 1.664 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.5588, allocations: 8.516 kB / 0.5709 GB, free: 1.656 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5588, allocations: 0 / 0.5709 GB, free: 1.656 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.5593, allocations: 400.4 kB / 0.5713 GB, free: 1.25 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5594, allocations: 120.8 kB / 0.5714 GB, free: 1.113 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5595, allocations: 4 kB / 0.5714 GB, free: 1.109 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5597, allocations: 15.92 kB / 0.5714 GB, free: 1.094 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.5597, allocations: 28.02 kB / 0.5714 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5597, allocations: 7.938 kB / 0.5714 GB, free: 1.059 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.5599, allocations: 200.6 kB / 0.5716 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5599, allocations: 0 / 0.5716 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.5602, allocations: 64 kB / 0.5717 GB, free: 0.8008 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.5604, allocations: 99.42 kB / 0.5718 GB, free: 0.6953 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.5609, allocations: 204 kB / 0.572 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.561, allocations: 0 / 0.572 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5611, allocations: 91.88 kB / 0.5721 GB, free: 416 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.5615, allocations: 45.17 kB / 0.5721 GB, free: 372 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5629, allocations: 0.7501 MB / 0.5729 GB, free: 15.61 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.5633, allocations: 0.799 MB / 0.5736 GB, free: 14.79 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.5634, allocations: 36.03 kB / 0.5737 GB, free: 14.75 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.5635, allocations: 31.44 kB / 0.5737 GB, free: 14.72 MB / 411.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5635, allocations: 4 kB / 0.5737 GB, free: 14.71 MB / 411.1 MB Notification: Performance of Templates: time 0.006667/0.5702, allocations: 2.938 MB / 0.5766 GB, free: 11.8 MB / 411.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)