Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009392/0.0009392, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009216/0.0009216, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9476/0.9476, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.09906/0.09906, allocations: 19.75 MB / 281.6 MB, free: 9.074 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 358.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.699e-05, allocations: 6.25 kB / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00277/0.002797, allocations: 2.647 MB / 361.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.003784, allocations: 0.7282 MB / 361.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.003914, allocations: 7.938 kB / 361.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.00404, allocations: 43.52 kB / 361.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.004272, allocations: 134.9 kB / 362 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.004434, allocations: 79.88 kB / 362.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.004746, allocations: 417.8 kB / 362.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.004884, allocations: 61.69 kB / 362.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.005144, allocations: 239.3 kB / 362.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.005287, allocations: 123.6 kB / 362.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.005321, allocations: 24 kB / 362.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.397e-05/0.005385, allocations: 32 kB / 362.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.005424, allocations: 63.69 kB / 363 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.005504, allocations: 119.6 kB / 363.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.005754, allocations: 231 kB / 363.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.005757, allocations: 0 / 363.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005758, allocations: 0 / 363.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.005763, allocations: 0 / 363.3 MB, free: 1.383 MB / 282.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.0006694/0.006432, allocations: 0.698 MB / 364 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006467, allocations: 8.031 kB / 364 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.006573, allocations: 60.7 kB / 364.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.006799, allocations: 256.5 kB / 364.4 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.006813, allocations: 16.88 kB / 364.4 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.006844, allocations: 28.38 kB / 364.4 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.00705, allocations: 209.3 kB / 364.6 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.007061, allocations: 192 / 364.6 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.007076, allocations: 12.38 kB / 364.6 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.007083, allocations: 7.938 kB / 364.6 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.007197, allocations: 85.41 kB / 364.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.007868, allocations: 0.789 MB / 365.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.008006, allocations: 137.8 kB / 365.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.008059, allocations: 55.66 kB / 365.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.008078, allocations: 7.984 kB / 365.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.008098, allocations: 41.33 kB / 365.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.0081, allocations: 0 / 365.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005691/0.008669, allocations: 453.2 kB / 366.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.008698, allocations: 59.39 kB / 366.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.008884, allocations: 330.2 kB / 366.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.008899, allocations: 33.7 kB / 366.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.009006, allocations: 231.5 kB / 366.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.009059, allocations: 107 kB / 366.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.009114, allocations: 59.3 kB / 367 MB, free: 13.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.009255, allocations: 0.5195 MB / 367.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.009291, allocations: 23.98 kB / 367.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.009356, allocations: 84.47 kB / 367.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.009469, allocations: 120.6 kB / 367.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009471, allocations: 0 / 367.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002674/0.009739, allocations: 230.8 kB / 367.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009752, allocations: 8 kB / 368 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009757, allocations: 0 / 368 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.009954, allocations: 67.67 kB / 368 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.01014, allocations: 79.89 kB / 368.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.01181, allocations: 3.674 MB / 371.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.01189, allocations: 11.98 kB / 371.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.0119, allocations: 8 kB / 371.8 MB, free: 8.422 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 0.000123/0.01203, allocations: 172.6 kB / 372 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.01207, allocations: 40 kB / 372 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.01222, allocations: 185.6 kB / 372.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01223, allocations: 7.984 kB / 372.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.01223, allocations: 7.938 kB / 372.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01223, allocations: 3.938 kB / 372.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.01265, allocations: 0.4905 MB / 372.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01265, allocations: 0 / 372.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.01287, allocations: 63.91 kB / 372.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01288, allocations: 0 / 372.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01289, allocations: 15.94 kB / 372.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01289, allocations: 0 / 372.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01289, allocations: 0 / 372.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.01312, allocations: 380.5 kB / 373.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.01318, allocations: 43.73 kB / 373.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.0132, allocations: 11.94 kB / 373.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.01328, allocations: 8 kB / 373.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.01331, allocations: 27.94 kB / 373.2 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.01332, allocations: 0 / 373.2 MB, free: 6.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.01342, allocations: 226.9 kB / 373.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01342, allocations: 4 kB / 373.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.01363, allocations: 72 kB / 373.5 MB, free: 6.613 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 8.29e-05/0.01371, allocations: 99.19 kB / 373.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.01409, allocations: 350.1 kB / 374 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0141, allocations: 4.125 kB / 374 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.01416, allocations: 83.48 kB / 374 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01443, allocations: 55 kB / 374.1 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.01562, allocations: 0.7793 MB / 374.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.01568, allocations: 100.9 kB / 375 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.01575, allocations: 30.95 kB / 375 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.01587, allocations: 122.2 kB / 375.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01587, allocations: 4 kB / 375.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006067/0.02194, allocations: 3.883 MB / 379 MB, free: 1.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6137719093821943]