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.001411/0.001411, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001702/0.001702, allocations: 165.3 kB / 24.27 MB, free: 148 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.378/1.378, allocations: 158.6 MB / 186.1 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2922/0.2922, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.322e-06/1.322e-06, allocations: 3.938 kB / 353.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.1e-05, allocations: 6.312 kB / 353.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003596/0.003617, allocations: 2.165 MB / 355.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004814, allocations: 0.6203 MB / 355.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004917, allocations: 3.938 kB / 355.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.005052, allocations: 31.66 kB / 355.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.005305, allocations: 91.2 kB / 356 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.005479, allocations: 63.84 kB / 356 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.005863, allocations: 294.6 kB / 356.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.006015, allocations: 57.56 kB / 356.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.006273, allocations: 159.6 kB / 356.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.006452, allocations: 87.7 kB / 356.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.006492, allocations: 16 kB / 356.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.006566, allocations: 20 kB / 356.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.006634, allocations: 55.75 kB / 356.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.006741, allocations: 75.77 kB / 356.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.007085, allocations: 235.1 kB / 357 MB, free: 4.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.007087, allocations: 0 / 357 MB, free: 4.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007087, allocations: 0 / 357 MB, free: 4.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.007094, allocations: 7.984 kB / 357 MB, free: 4.492 MB / 330.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.001011/0.008105, allocations: 0.4966 MB / 357.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.008139, allocations: 8.031 kB / 357.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.008277, allocations: 44.75 kB / 357.6 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.008654, allocations: 220.8 kB / 357.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.00874, allocations: 67.95 kB / 357.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.008788, allocations: 20.38 kB / 357.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.009169, allocations: 175.8 kB / 358 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.009182, allocations: 192 / 358 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.009205, allocations: 11.94 kB / 358.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.009212, allocations: 4 kB / 358.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.009545, allocations: 119.7 kB / 358.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01056, allocations: 0.5313 MB / 358.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.01096, allocations: 150.5 kB / 358.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.01114, allocations: 68.83 kB / 358.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.01116, allocations: 4 kB / 358.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.0112, allocations: 42.5 kB / 359 MB, free: 2.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.0112, allocations: 0 / 359 MB, free: 2.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.00126/0.01246, allocations: 0.5115 MB / 359.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.0125, allocations: 55.41 kB / 359.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.0128, allocations: 241.8 kB / 359.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.01283, allocations: 33.7 kB / 359.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01296, allocations: 152.6 kB / 359.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.01303, allocations: 67.38 kB / 360 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.01311, allocations: 45.7 kB / 360.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.01331, allocations: 334.8 kB / 360.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.01348, allocations: 51.97 kB / 360.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.01365, allocations: 81.67 kB / 360.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.01398, allocations: 149.4 kB / 360.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01398, allocations: 4 kB / 360.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004595/0.01444, allocations: 221.2 kB / 360.9 MB, free: 400 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01445, allocations: 8 kB / 360.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01446, allocations: 0 / 360.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01447, allocations: 0 / 360.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.01492, allocations: 71.95 kB / 361 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01493, allocations: 8.031 kB / 361 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01507, allocations: 11.98 kB / 361 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01508, allocations: 11.94 kB / 361 MB, free: 288 kB / 330.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.0001366/0.01522, allocations: 125.8 kB / 361.1 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.0153, allocations: 35.8 kB / 361.1 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.01536, allocations: 26.11 kB / 361.2 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.01536, allocations: 4 kB / 361.2 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.01537, allocations: 0 / 361.2 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01537, allocations: 0 / 361.2 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.01622, allocations: 478.1 kB / 361.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01622, allocations: 0 / 361.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.01661, allocations: 63.95 kB / 361.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01662, allocations: 0 / 361.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01663, allocations: 7.938 kB / 361.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01664, allocations: 4 kB / 361.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01664, allocations: 0 / 361.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.01729, allocations: 359.1 kB / 362.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.01738, allocations: 31.88 kB / 362.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.01741, allocations: 8 kB / 362.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.01758, allocations: 8 kB / 362.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.01763, allocations: 11.97 kB / 362.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01765, allocations: 4 kB / 362.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.01784, allocations: 173.2 kB / 362.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01784, allocations: 0 / 362.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.01815, allocations: 48 kB / 362.3 MB, free: 14.86 MB / 346.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.0001133/0.01826, allocations: 99.17 kB / 362.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.01863, allocations: 139.8 kB / 362.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01863, allocations: 0 / 362.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.0188, allocations: 75.84 kB / 362.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.01921, allocations: 52.34 kB / 362.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02033, allocations: 0.5667 MB / 363.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.02049, allocations: 142.1 kB / 363.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.02058, allocations: 25.92 kB / 363.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.02065, allocations: 20.5 kB / 363.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.02065, allocations: 0 / 363.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of Templates: time 0.005814/0.02647, allocations: 2.054 MB / 365.5 MB, free: 11.65 MB / 346.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.49783581297379]