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.001483/0.001483, allocations: 174 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.2 MB / 219.4 MB, free: 14.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 82.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2297/0.2297, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.463e-05, allocations: 7.984 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09369, allocations: 60.25 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.4394, allocations: 86.79 MB / 0.5659 GB, free: 2.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4396, allocations: 76.14 kB / 0.566 GB, free: 2.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01543/0.4551, allocations: 5.459 MB / 0.5713 GB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4551, allocations: 0 / 0.5713 GB, free: 13.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.4551, allocations: 11.98 kB / 0.5713 GB, free: 13.71 MB / 394.7 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.000679/0.4558, allocations: 0.5541 MB / 0.5719 GB, free: 13.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4558, allocations: 12.03 kB / 0.5719 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.4559, allocations: 43.48 kB / 0.5719 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.4564, allocations: 320.4 kB / 0.5722 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4564, allocations: 19.5 kB / 0.5723 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.4564, allocations: 26.75 kB / 0.5723 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.4568, allocations: 221.8 kB / 0.5725 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4568, allocations: 224 / 0.5725 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.4568, allocations: 11.12 kB / 0.5725 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4568, allocations: 15.88 kB / 0.5725 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.4571, allocations: 146.5 kB / 0.5727 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4581, allocations: 0.853 MB / 0.5735 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.4584, allocations: 179.2 kB / 0.5737 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.4585, allocations: 90.98 kB / 0.5737 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4586, allocations: 4 kB / 0.5738 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4586, allocations: 38.12 kB / 0.5738 GB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.4586, allocations: 3.938 kB / 0.5738 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009417/0.4596, allocations: 0.6226 MB / 0.5744 GB, free: 10.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.4596, allocations: 55.64 kB / 0.5745 GB, free: 10.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.4599, allocations: 267.1 kB / 0.5747 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.4599, allocations: 29.27 kB / 0.5747 GB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.46, allocations: 180.7 kB / 0.5749 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.4601, allocations: 108.4 kB / 0.575 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.4601, allocations: 3.938 kB / 0.575 GB, free: 10.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4602, allocations: 340.8 kB / 0.5753 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4603, allocations: 64.06 kB / 0.5754 GB, free: 9.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4605, allocations: 99.69 kB / 0.5755 GB, free: 9.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4606, allocations: 74.19 kB / 0.5756 GB, free: 9.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4606, allocations: 4 kB / 0.5756 GB, free: 9.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005493/0.4612, allocations: 313.9 kB / 0.5759 GB, free: 9.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4612, allocations: 7.953 kB / 0.5759 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4612, allocations: 0 / 0.5759 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.4615, allocations: 83.48 kB / 0.576 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.4619, allocations: 75.7 kB / 0.576 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4633, allocations: 1.944 MB / 0.5779 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4635, allocations: 24.17 kB / 0.578 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4635, allocations: 11.88 kB / 0.578 GB, free: 7.32 MB / 394.7 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 9.125e-05/0.4636, allocations: 120.5 kB / 0.5781 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.4637, allocations: 31.62 kB / 0.5781 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.464, allocations: 247.4 kB / 0.5783 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4641, allocations: 3.984 kB / 0.5783 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.4641, allocations: 0 / 0.5783 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4641, allocations: 11.98 kB / 0.5784 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.4649, allocations: 0.6652 MB / 0.579 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4649, allocations: 0 / 0.579 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.4652, allocations: 79.77 kB / 0.5791 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4652, allocations: 0 / 0.5791 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4653, allocations: 3.688 kB / 0.5791 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4653, allocations: 4 kB / 0.5791 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4653, allocations: 4 kB / 0.5791 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.4658, allocations: 411.5 kB / 0.5795 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4659, allocations: 124 kB / 0.5796 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4659, allocations: 3.938 kB / 0.5796 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4661, allocations: 19.83 kB / 0.5796 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.4662, allocations: 23.91 kB / 0.5797 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4662, allocations: 11.88 kB / 0.5797 GB, free: 5.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.4664, allocations: 212.3 kB / 0.5799 GB, free: 5.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4664, allocations: 0 / 0.5799 GB, free: 5.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.4667, allocations: 71.88 kB / 0.5799 GB, free: 5.555 MB / 394.7 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.000129/0.4669, allocations: 107 kB / 0.58 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.4674, allocations: 225.1 kB / 0.5803 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4674, allocations: 0 / 0.5803 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4676, allocations: 98.73 kB / 0.5803 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4679, allocations: 63.84 kB / 0.5804 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4692, allocations: 0.7584 MB / 0.5811 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4696, allocations: 0.8029 MB / 0.5819 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.4697, allocations: 34.95 kB / 0.582 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.4698, allocations: 26.56 kB / 0.582 GB, free: 3.539 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4698, allocations: 0 / 0.582 GB, free: 3.539 MB / 394.7 MB Notification: Performance of Templates: time 0.00672/0.4765, allocations: 3.119 MB / 0.585 GB, free: 440 kB / 394.7 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)