Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002705/0.002705, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2665/0.2665, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.091e-05, allocations: 6.312 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002562/0.002583, allocations: 2.266 MB / 355.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.003454, allocations: 0.6243 MB / 355.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.003571, allocations: 7.938 kB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.003703, allocations: 31.66 kB / 356 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.003922, allocations: 99.12 kB / 356.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.004069, allocations: 55.91 kB / 356.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.004309, allocations: 298.5 kB / 356.4 MB, free: 396 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.004457, allocations: 53.59 kB / 356.5 MB, free: 344 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.004636, allocations: 163.6 kB / 356.6 MB, free: 180 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.004782, allocations: 91.64 kB / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.00482, allocations: 16 kB / 356.7 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.004884, allocations: 24 kB / 356.8 MB, free: 48 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.004923, allocations: 43.77 kB / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.005058, allocations: 79.77 kB / 356.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.005449, allocations: 235.1 kB / 357.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005451, allocations: 3.938 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005452, allocations: 4 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005457, allocations: 0 / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00112/0.006578, allocations: 0.6003 MB / 357.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.006616, allocations: 12.03 kB / 357.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.006759, allocations: 44.73 kB / 357.8 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.007121, allocations: 211.7 kB / 358 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.007213, allocations: 71.95 kB / 358.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.007267, allocations: 24.31 kB / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.007642, allocations: 185.3 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.007658, allocations: 4.125 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.007682, allocations: 7.938 kB / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.007687, allocations: 4 kB / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.007993, allocations: 115.7 kB / 358.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.009119, allocations: 0.6736 MB / 359.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.009532, allocations: 147 kB / 359.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.009706, allocations: 75.66 kB / 359.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.009726, allocations: 4 kB / 359.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.009768, allocations: 45.27 kB / 359.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.009769, allocations: 0 / 359.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001214/0.01098, allocations: 0.512 MB / 359.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.01103, allocations: 51.41 kB / 359.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.01139, allocations: 328.2 kB / 360.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.01142, allocations: 25.7 kB / 360.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.01158, allocations: 203.3 kB / 360.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.01166, allocations: 79.38 kB / 360.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.01175, allocations: 47.38 kB / 360.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.01205, allocations: 0.5157 MB / 361.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.0122, allocations: 51.97 kB / 361.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.01236, allocations: 87.2 kB / 361.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.01267, allocations: 149.7 kB / 361.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01267, allocations: 0 / 361.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004163/0.01309, allocations: 205.3 kB / 361.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.01311, allocations: 4 kB / 361.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01311, allocations: 8.031 kB / 361.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01313, allocations: 0 / 361.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.01357, allocations: 75.89 kB / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01357, allocations: 0 / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.0137, allocations: 11.98 kB / 361.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01372, allocations: 12 kB / 361.7 MB, free: 10.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0001634/0.01388, allocations: 180.5 kB / 361.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.01394, allocations: 39.75 kB / 361.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.01402, allocations: 30.11 kB / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01402, allocations: 0 / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01402, allocations: 0 / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01403, allocations: 0 / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.01488, allocations: 0.5325 MB / 362.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01488, allocations: 0 / 362.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.01527, allocations: 59.97 kB / 362.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.01528, allocations: 4 kB / 362.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.01529, allocations: 8 kB / 362.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.0153, allocations: 0 / 362.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.0153, allocations: 3.984 kB / 362.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.01595, allocations: 407.6 kB / 362.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.01604, allocations: 31.84 kB / 362.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.01607, allocations: 4 kB / 363 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.01622, allocations: 11.98 kB / 363 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.01628, allocations: 11.92 kB / 363 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.0163, allocations: 15.98 kB / 363 MB, free: 9.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.01652, allocations: 221.1 kB / 363.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01652, allocations: 0 / 363.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.01679, allocations: 44 kB / 363.2 MB, free: 9.215 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001202/0.01691, allocations: 99.19 kB / 363.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.0173, allocations: 151.8 kB / 363.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.0173, allocations: 0 / 363.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.01746, allocations: 83.59 kB / 363.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.01785, allocations: 48.41 kB / 363.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.01898, allocations: 0.5638 MB / 364.2 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.01913, allocations: 146.1 kB / 364.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.001e-05/0.01922, allocations: 21.94 kB / 364.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.01929, allocations: 20.5 kB / 364.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01929, allocations: 0 / 364.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of Templates: time 0.006218/0.02551, allocations: 2.073 MB / 366.4 MB, free: 5.973 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.520464499015361]