Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001367/0.001367, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001448/0.001448, allocations: 168.1 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1392/0.1392, allocations: 19.74 MB / 280.4 MB, free: 12.92 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 417 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.101e-05, allocations: 6.219 kB / 417 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003357/0.003378, allocations: 2.165 MB / 419.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004529, allocations: 0.6271 MB / 419.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004638, allocations: 4 kB / 419.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004771, allocations: 35.53 kB / 419.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.005003, allocations: 83.33 kB / 420 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.005168, allocations: 67.84 kB / 420 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.005519, allocations: 282.6 kB / 420.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005661, allocations: 55.83 kB / 420.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.005939, allocations: 163.5 kB / 420.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.006107, allocations: 83.7 kB / 420.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.006146, allocations: 20 kB / 420.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.006215, allocations: 23.94 kB / 420.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.006265, allocations: 43.77 kB / 420.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.006378, allocations: 79.77 kB / 420.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.006693, allocations: 223.2 kB / 421 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006695, allocations: 0 / 421 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006695, allocations: 0 / 421 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.0067, allocations: 0 / 421 MB, free: 12.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008875/0.007587, allocations: 492.6 kB / 421.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.007617, allocations: 16.03 kB / 421.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.007716, allocations: 32.75 kB / 421.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.008036, allocations: 208.7 kB / 421.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.008056, allocations: 12.38 kB / 421.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.008097, allocations: 20.38 kB / 421.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.008442, allocations: 175.4 kB / 421.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.008456, allocations: 4.188 kB / 421.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.008475, allocations: 8.359 kB / 421.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.008485, allocations: 7.938 kB / 421.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.008771, allocations: 116.5 kB / 422 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/0.009684, allocations: 0.5119 MB / 422.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.009954, allocations: 130.4 kB / 422.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.01012, allocations: 76.8 kB / 422.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.01014, allocations: 4 kB / 422.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.01017, allocations: 34.56 kB / 422.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.01017, allocations: 0 / 422.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001112/0.01128, allocations: 495 kB / 423.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.01133, allocations: 51.41 kB / 423.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.01159, allocations: 233.9 kB / 423.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.01162, allocations: 33.7 kB / 423.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01172, allocations: 144.6 kB / 423.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.0118, allocations: 71.38 kB / 423.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.01187, allocations: 45.7 kB / 423.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.01203, allocations: 326.8 kB / 424.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01216, allocations: 51.97 kB / 424.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01232, allocations: 76.72 kB / 424.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.0126, allocations: 132.5 kB / 424.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0126, allocations: 4 kB / 424.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003897/0.01299, allocations: 201.2 kB / 424.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01301, allocations: 4 kB / 424.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01301, allocations: 4 kB / 424.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01302, allocations: 0 / 424.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.01342, allocations: 63.95 kB / 424.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.01464, allocations: 1.311 MB / 426 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.01478, allocations: 15.97 kB / 426 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.0148, allocations: 4 kB / 426 MB, free: 7.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.01492, allocations: 129.8 kB / 426.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.01498, allocations: 27.84 kB / 426.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.01537, allocations: 191.8 kB / 426.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.01538, allocations: 7.984 kB / 426.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01538, allocations: 0 / 426.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01538, allocations: 0 / 426.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.01611, allocations: 452.9 kB / 426.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01611, allocations: 0 / 426.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.01635, allocations: 47.91 kB / 426.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01636, allocations: 3.938 kB / 426.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01637, allocations: 8 kB / 426.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01637, allocations: 4 kB / 426.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01637, allocations: 0 / 426.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.01692, allocations: 347.1 kB / 427.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.017, allocations: 31.83 kB / 427.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.01703, allocations: 4 kB / 427.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.01718, allocations: 7.984 kB / 427.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.01723, allocations: 15.92 kB / 427.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.01725, allocations: 7.984 kB / 427.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.01742, allocations: 173.2 kB / 427.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01742, allocations: 0 / 427.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.01771, allocations: 47.98 kB / 427.5 MB, free: 5.68 MB / 350.1 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: 0 () * 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.0001082/0.01782, allocations: 99.19 kB / 427.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.01834, allocations: 166.5 kB / 427.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01835, allocations: 0 / 427.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.01851, allocations: 71.86 kB / 427.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.01888, allocations: 43.95 kB / 427.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.01994, allocations: 0.5586 MB / 428.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02008, allocations: 147.1 kB / 428.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.02018, allocations: 25.62 kB / 428.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.02025, allocations: 28.42 kB / 428.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02025, allocations: 4 kB / 428.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Templates: time 0.006285/0.02653, allocations: 2.415 MB / 431 MB, free: 2.102 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.299813441932201] Failed to read output from testmodel.py, exit status != 0: 0.034968432039022446 0.049300409 0.039587662 Calling exit ...