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.0009809/0.0009809, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.000919/0.000919, allocations: 163.8 kB / 24.99 MB, free: 8.789 MB / 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 0.8171/0.8171, allocations: 158.6 MB / 186.8 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.1753/0.1753, allocations: 36.35 MB / 275.4 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.542e-06/1.542e-06, allocations: 0 / 353.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.276e-05, allocations: 2.312 kB / 353.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002147/0.002169, allocations: 2.305 MB / 356.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.002935, allocations: 0.6358 MB / 356.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003044, allocations: 7.938 kB / 356.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.003163, allocations: 27.66 kB / 356.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.003353, allocations: 87.2 kB / 356.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.003485, allocations: 63.92 kB / 356.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.003672, allocations: 298.5 kB / 357.2 MB, free: 348 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.003799, allocations: 45.58 kB / 357.2 MB, free: 304 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.003947, allocations: 163.5 kB / 357.4 MB, free: 140 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.004061, allocations: 87.7 kB / 357.5 MB, free: 52 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004086, allocations: 20 kB / 357.5 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.004136, allocations: 23.98 kB / 357.5 MB, free: 8 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.004195, allocations: 55.88 kB / 357.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.004262, allocations: 79.77 kB / 357.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.004499, allocations: 175.2 kB / 357.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004502, allocations: 3.984 kB / 357.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004503, allocations: 0 / 357.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004508, allocations: 0 / 357.8 MB, free: 15.7 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.0006631/0.005171, allocations: 0.5928 MB / 358.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.005204, allocations: 8.031 kB / 358.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.005318, allocations: 44.75 kB / 358.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.005566, allocations: 211.6 kB / 358.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.005639, allocations: 67.97 kB / 358.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.005673, allocations: 20.33 kB / 358.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.005901, allocations: 169.9 kB / 358.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.005913, allocations: 192 / 358.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.00593, allocations: 11.94 kB / 358.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.005939, allocations: 4 kB / 358.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.006062, allocations: 71.69 kB / 359 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.00673, allocations: 0.6112 MB / 359.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.006961, allocations: 118.8 kB / 359.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.007027, allocations: 47.67 kB / 359.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.007041, allocations: 11.92 kB / 359.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.007063, allocations: 41.33 kB / 359.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.007064, allocations: 4 kB / 359.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006911/0.007755, allocations: 416.2 kB / 360.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.007785, allocations: 51.41 kB / 360.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.007969, allocations: 280.3 kB / 360.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.007983, allocations: 29.7 kB / 360.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.008062, allocations: 195.3 kB / 360.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.008098, allocations: 71.38 kB / 360.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.008149, allocations: 51.36 kB / 360.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.008264, allocations: 0.5001 MB / 361.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.008313, allocations: 27.98 kB / 361.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.008376, allocations: 59.2 kB / 361.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.008487, allocations: 95.16 kB / 361.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008488, allocations: 0 / 361.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001713/0.008659, allocations: 157.3 kB / 361.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.008673, allocations: 11.94 kB / 361.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.008677, allocations: 0 / 361.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.008689, allocations: 0 / 361.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.008928, allocations: 71.95 kB / 361.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008934, allocations: 8.031 kB / 361.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.009002, allocations: 15.94 kB / 361.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.009011, allocations: 4 kB / 361.9 MB, free: 11.39 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 8.02e-05/0.009091, allocations: 168.5 kB / 362 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.009129, allocations: 27.8 kB / 362 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.009171, allocations: 34.09 kB / 362.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009173, allocations: 4 kB / 362.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.009177, allocations: 0 / 362.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00918, allocations: 0 / 362.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.009607, allocations: 473.2 kB / 362.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009609, allocations: 8 kB / 362.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.009814, allocations: 59.91 kB / 362.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.009818, allocations: 4 kB / 362.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.009828, allocations: 0 / 362.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.009831, allocations: 3.984 kB / 362.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.009832, allocations: 0 / 362.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.0101, allocations: 327.6 kB / 362.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.01015, allocations: 35.83 kB / 363 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01017, allocations: 0 / 363 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.01026, allocations: 12 kB / 363 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.0103, allocations: 15.97 kB / 363 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01031, allocations: 8 kB / 363 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.01041, allocations: 201.1 kB / 363.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 363.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.0106, allocations: 44 kB / 363.2 MB, free: 9.922 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 7.952e-05/0.01068, allocations: 95.19 kB / 363.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.01085, allocations: 108 kB / 363.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01085, allocations: 64 / 363.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.01091, allocations: 63.61 kB / 363.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.0112, allocations: 52.95 kB / 363.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.01221, allocations: 0.5598 MB / 364.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.076e-05/0.01226, allocations: 84.2 kB / 364.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.01232, allocations: 21.94 kB / 364.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.01237, allocations: 20.5 kB / 364.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01237, allocations: 0 / 364.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of Templates: time 0.003882/0.01625, allocations: 2.069 MB / 366.3 MB, free: 6.809 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: 2.771715770009905]