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.0008222/0.0008222, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00349/0.00349, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8178/0.8178, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.1607/0.1607, allocations: 36.35 MB / 275.1 MB, free: 10.9 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 2.013e-06/2.013e-06, allocations: 0 / 415.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.517e-05, allocations: 2.281 kB / 415.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002368/0.002393, allocations: 2.173 MB / 417.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.003346, allocations: 0.6317 MB / 418.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.003464, allocations: 7.938 kB / 418.4 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003585, allocations: 31.66 kB / 418.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.003806, allocations: 87.2 kB / 418.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.003972, allocations: 59.92 kB / 418.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.004231, allocations: 302.5 kB / 418.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.004382, allocations: 53.56 kB / 418.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.004595, allocations: 159.6 kB / 419.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.004727, allocations: 87.7 kB / 419.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.004758, allocations: 16 kB / 419.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.004813, allocations: 24 kB / 419.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.004851, allocations: 55.73 kB / 419.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.004916, allocations: 79.77 kB / 419.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.005169, allocations: 231.2 kB / 419.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005172, allocations: 0 / 419.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.005173, allocations: 4 kB / 419.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005178, allocations: 0 / 419.6 MB, free: 1.594 MB / 346.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.000664/0.005842, allocations: 0.489 MB / 420 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.005883, allocations: 11.97 kB / 420.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.005978, allocations: 32.75 kB / 420.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.006264, allocations: 212.8 kB / 420.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.006329, allocations: 63.97 kB / 420.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.006361, allocations: 20.38 kB / 420.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.006603, allocations: 175.9 kB / 420.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.006616, allocations: 4.188 kB / 420.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006632, allocations: 7.938 kB / 420.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006638, allocations: 4 kB / 420.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.006825, allocations: 127.6 kB / 420.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.007491, allocations: 0.5275 MB / 421.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.007763, allocations: 142.4 kB / 421.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.008137, allocations: 80.8 kB / 421.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.008152, allocations: 4 kB / 421.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.008172, allocations: 42.5 kB / 421.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.008174, allocations: 0 / 421.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007642/0.008938, allocations: 0.5008 MB / 422 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.008967, allocations: 51.41 kB / 422 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.009137, allocations: 245.8 kB / 422.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.009151, allocations: 29.7 kB / 422.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.009226, allocations: 156.5 kB / 422.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.009268, allocations: 67.44 kB / 422.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.009317, allocations: 45.64 kB / 422.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.009405, allocations: 330.8 kB / 422.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.00949, allocations: 59.95 kB / 422.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-05/0.009579, allocations: 81.56 kB / 423 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.009756, allocations: 153.3 kB / 423.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.009757, allocations: 0 / 423.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000234/0.009991, allocations: 205.2 kB / 423.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01, allocations: 11.94 kB / 423.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01001, allocations: 0 / 423.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01002, allocations: 0 / 423.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.01024, allocations: 87.92 kB / 423.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01025, allocations: 4 kB / 423.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.01032, allocations: 11.98 kB / 423.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01033, allocations: 4 kB / 423.5 MB, free: 13.41 MB / 362.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 9.032e-05/0.01042, allocations: 129.8 kB / 423.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.01045, allocations: 23.8 kB / 423.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.01049, allocations: 34.11 kB / 423.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.0105, allocations: 7.922 kB / 423.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.0105, allocations: 0 / 423.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01051, allocations: 4 kB / 423.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.011, allocations: 470.1 kB / 424.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.011, allocations: 0 / 424.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.01119, allocations: 63.91 kB / 424.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.0112, allocations: 3.984 kB / 424.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01121, allocations: 4 kB / 424.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01121, allocations: 0 / 424.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01121, allocations: 0 / 424.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.01155, allocations: 351.2 kB / 424.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.0116, allocations: 39.83 kB / 424.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01162, allocations: 7.938 kB / 424.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.0117, allocations: 8 kB / 424.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.01174, allocations: 11.97 kB / 424.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01175, allocations: 11.94 kB / 424.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01186, allocations: 169.2 kB / 424.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01186, allocations: 4 kB / 424.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.01205, allocations: 48 kB / 424.9 MB, free: 11.99 MB / 362.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 9.198e-05/0.01214, allocations: 95.25 kB / 424.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.01237, allocations: 135.9 kB / 425.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01237, allocations: 0 / 425.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.01246, allocations: 67.91 kB / 425.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01274, allocations: 47.44 kB / 425.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.0135, allocations: 0.5936 MB / 425.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.408e-05/0.01358, allocations: 134.1 kB / 425.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.01364, allocations: 28.5 kB / 425.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01364, allocations: 0 / 425.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003566/0.0172, allocations: 2.745 MB / 428.7 MB, free: 8.086 MB / 362.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.321479305624962] Failed to read output from testmodel.py, exit status != 0: 0.023348534479737282 0.031791417 0.024634793000000002 Calling exit ...