Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0007772/0.0007772, 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.003195/0.003195, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8488/0.8488, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.08075/0.08075, allocations: 19.74 MB / 281.2 MB, free: 9.453 MB / 266.7 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 417.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.769e-05, allocations: 7.719 kB / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002137/0.002155, allocations: 2.751 MB / 420.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.00298, allocations: 0.7668 MB / 421.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.00311, allocations: 9.5 kB / 421.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.003234, allocations: 56.41 kB / 421.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.003473, allocations: 156.1 kB / 421.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003646, allocations: 110.6 kB / 421.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.003959, allocations: 0.503 MB / 422.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.004117, allocations: 96.06 kB / 422.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.004381, allocations: 288 kB / 422.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.004536, allocations: 156 kB / 422.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.004576, allocations: 32.25 kB / 422.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.004638, allocations: 36.95 kB / 422.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.004677, allocations: 86.42 kB / 422.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.004767, allocations: 146.8 kB / 423 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.005085, allocations: 405.5 kB / 423.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005087, allocations: 0 / 423.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005088, allocations: 1.125 kB / 423.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005094, allocations: 0 / 423.4 MB, free: 4.004 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007156/0.005809, allocations: 0.6787 MB / 424 MB, free: 3.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.005839, allocations: 10.69 kB / 424.1 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.005924, allocations: 62.45 kB / 424.1 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.006214, allocations: 295.3 kB / 424.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.006231, allocations: 30.2 kB / 424.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.006271, allocations: 34.8 kB / 424.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.006576, allocations: 301.1 kB / 424.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.00659, allocations: 192 / 424.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.006607, allocations: 15.75 kB / 424.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006614, allocations: 10.88 kB / 424.8 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.006857, allocations: 202.2 kB / 425 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.007752, allocations: 0.9297 MB / 425.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.008004, allocations: 231.5 kB / 426.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.00812, allocations: 108.4 kB / 426.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.008139, allocations: 3.469 kB / 426.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.008153, allocations: 45.33 kB / 426.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.008154, allocations: 0 / 426.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001011/0.009165, allocations: 0.7935 MB / 427.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.009186, allocations: 55.16 kB / 427.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.009427, allocations: 348.5 kB / 427.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.00944, allocations: 31.77 kB / 427.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.009517, allocations: 213.2 kB / 427.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.009563, allocations: 122.3 kB / 427.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.009624, allocations: 70.2 kB / 427.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.009663, allocations: 350.5 kB / 428.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.009765, allocations: 85.89 kB / 428.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.009886, allocations: 142.7 kB / 428.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.0101, allocations: 233.5 kB / 428.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01011, allocations: 5.062 kB / 428.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005185/0.01062, allocations: 417.7 kB / 429.1 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01064, allocations: 9.344 kB / 429.1 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01064, allocations: 1.562 kB / 429.1 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.01097, allocations: 120 kB / 429.2 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.01121, allocations: 97.59 kB / 429.3 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.01318, allocations: 3.071 MB / 432.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.01329, allocations: 15.39 kB / 432.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.0133, allocations: 13.28 kB / 432.4 MB, free: 13.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.01341, allocations: 154.2 kB / 432.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.01345, allocations: 46.56 kB / 432.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.01376, allocations: 302.2 kB / 432.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01377, allocations: 4.406 kB / 432.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01377, allocations: 3.938 kB / 432.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01377, allocations: 1.828 kB / 432.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.0144, allocations: 0.6286 MB / 433.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01441, allocations: 1.156 kB / 433.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.01461, allocations: 75.17 kB / 433.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01461, allocations: 1.125 kB / 433.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.01463, allocations: 11.39 kB / 433.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01463, allocations: 6.312 kB / 433.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01463, allocations: 0 / 433.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.01507, allocations: 0.4932 MB / 434.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.01515, allocations: 50.97 kB / 434.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.01517, allocations: 10.22 kB / 434.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.01527, allocations: 9.953 kB / 434.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.0153, allocations: 18.11 kB / 434.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01532, allocations: 15.44 kB / 434.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.01549, allocations: 246.3 kB / 434.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01549, allocations: 4.281 kB / 434.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01572, allocations: 86.91 kB / 434.6 MB, free: 12.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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.929e-05/0.0158, allocations: 109.2 kB / 434.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.01635, allocations: 402.3 kB / 435.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01635, allocations: 256 / 435.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.01647, allocations: 119.7 kB / 435.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01678, allocations: 78.88 kB / 435.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01787, allocations: 0.9538 MB / 436.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.01801, allocations: 209.4 kB / 436.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.01808, allocations: 34.95 kB / 436.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01808, allocations: 0 / 436.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of Templates: time 0.005612/0.02369, allocations: 5.945 MB / 442.4 MB, free: 8.793 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.470306809991598] Failed to read output from testmodel.py, exit status != 0: 0.028164573945105076 0.035973058 0.029429486 Calling exit ...