Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0009294/0.0009294, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.000905/0.000905, allocations: 165 kB / 24.56 MB, free: 12 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 0.7735/0.7735, allocations: 158.6 MB / 186.4 MB, free: 2.906 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.1765/0.1765, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.675e-05, allocations: 5.688 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002046/0.002063, allocations: 2.651 MB / 356.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.002786, allocations: 0.7331 MB / 357.2 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.002898, allocations: 7.938 kB / 357.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.003042, allocations: 51.39 kB / 357.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.003272, allocations: 131 kB / 357.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.003421, allocations: 79.81 kB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.003708, allocations: 417.8 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.003838, allocations: 57.56 kB / 357.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.004033, allocations: 235.3 kB / 358.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.004177, allocations: 127.5 kB / 358.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.00421, allocations: 24 kB / 358.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.004271, allocations: 28 kB / 358.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.004313, allocations: 67.67 kB / 358.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.004393, allocations: 119.6 kB / 358.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.004625, allocations: 227 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004628, allocations: 4 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004629, allocations: 3.938 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004633, allocations: 0 / 358.7 MB, free: 14.48 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000672/0.005305, allocations: 0.6865 MB / 359.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005339, allocations: 16.02 kB / 359.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.005442, allocations: 60.66 kB / 359.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.005697, allocations: 260.5 kB / 359.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.005711, allocations: 16.88 kB / 359.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.005747, allocations: 32.31 kB / 359.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.00601, allocations: 221.3 kB / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.006021, allocations: 192 / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.006037, allocations: 8.375 kB / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.006047, allocations: 7.938 kB / 360 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.0062, allocations: 106.8 kB / 360.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.006948, allocations: 0.8315 MB / 361 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.00712, allocations: 143.1 kB / 361.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.007201, allocations: 75.59 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.007217, allocations: 4 kB / 361.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.007234, allocations: 33.83 kB / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.007235, allocations: 4 kB / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007027/0.007938, allocations: 0.5401 MB / 361.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.007961, allocations: 55.41 kB / 361.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.008167, allocations: 338.3 kB / 362.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.00818, allocations: 29.7 kB / 362.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.008333, allocations: 227.5 kB / 362.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.008381, allocations: 103.1 kB / 362.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.008438, allocations: 63.31 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.008549, allocations: 0.5117 MB / 363.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.008607, allocations: 39.83 kB / 363.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.008685, allocations: 91.09 kB / 363.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.008833, allocations: 132.7 kB / 363.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008834, allocations: 0 / 363.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003163/0.00915, allocations: 250 kB / 363.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.009164, allocations: 8 kB / 363.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.009168, allocations: 0 / 363.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.009394, allocations: 67.69 kB / 363.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.009601, allocations: 71.89 kB / 363.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.01144, allocations: 3.731 MB / 367.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.01152, allocations: 11.94 kB / 367.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01153, allocations: 12.16 kB / 367.5 MB, free: 5.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/0.01162, allocations: 172.5 kB / 367.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01166, allocations: 47.69 kB / 367.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.01187, allocations: 206.6 kB / 367.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01187, allocations: 0 / 367.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01187, allocations: 0 / 367.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01187, allocations: 4 kB / 367.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.01233, allocations: 0.5489 MB / 368.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01234, allocations: 3.938 kB / 368.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01251, allocations: 63.97 kB / 368.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01251, allocations: 7.984 kB / 368.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01253, allocations: 4 kB / 368.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01253, allocations: 4 kB / 368.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01253, allocations: 0 / 368.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.01282, allocations: 400.4 kB / 368.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.01288, allocations: 47.73 kB / 368.9 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.0129, allocations: 8 kB / 369 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.01299, allocations: 8 kB / 369 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.01303, allocations: 20.08 kB / 369 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01305, allocations: 12 kB / 369 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.01317, allocations: 235 kB / 369.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01317, allocations: 0 / 369.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.01338, allocations: 72 kB / 369.3 MB, free: 3.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.723e-05/0.01346, allocations: 99.19 kB / 369.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.01392, allocations: 357.4 kB / 369.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01392, allocations: 0 / 369.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.014, allocations: 80 kB / 369.8 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01428, allocations: 76.92 kB / 369.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.01542, allocations: 0.7952 MB / 370.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.524e-05/0.01548, allocations: 100.9 kB / 370.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.01555, allocations: 34.95 kB / 370.8 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.01561, allocations: 24.5 kB / 370.8 MB, free: 1.641 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01561, allocations: 4 kB / 370.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of Templates: time 0.005486/0.0211, allocations: 3.802 MB / 374.6 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.808972842991352]