Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009599/0.0009599, allocations: 83.58 kB / 21.19 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.001333/0.001333, allocations: 165 kB / 24.56 MB, free: 16 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.792/0.792, allocations: 158.6 MB / 186.4 MB, free: 2.555 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.1661/0.1661, allocations: 36.34 MB / 275.1 MB, free: 10.73 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 353.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.469e-05, allocations: 2.312 kB / 353.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002224/0.002238, allocations: 2.936 MB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000852/0.00309, allocations: 0.7917 MB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.003229, allocations: 11.94 kB / 357.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.00337, allocations: 59.38 kB / 357.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.00369, allocations: 150.7 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.003872, allocations: 107.8 kB / 357.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.004209, allocations: 0.5059 MB / 358.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.004376, allocations: 84.69 kB / 358.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.004594, allocations: 287.2 kB / 358.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.004761, allocations: 159.4 kB / 358.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.004802, allocations: 32 kB / 358.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.004874, allocations: 43.98 kB / 358.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.004922, allocations: 87.59 kB / 359 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.005017, allocations: 139.5 kB / 359.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.005291, allocations: 294.7 kB / 359.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005293, allocations: 0 / 359.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005293, allocations: 0 / 359.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005298, allocations: 4 kB / 359.5 MB, free: 13.75 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008016/0.006099, allocations: 0.7915 MB / 360.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.006131, allocations: 12.03 kB / 360.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.006245, allocations: 80.59 kB / 360.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.006539, allocations: 294.7 kB / 360.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.006557, allocations: 25.03 kB / 360.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.006604, allocations: 32.38 kB / 360.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.006902, allocations: 271.6 kB / 360.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.006916, allocations: 4.188 kB / 360.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.006938, allocations: 15.94 kB / 361 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.006948, allocations: 8 kB / 361 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.007138, allocations: 127.8 kB / 361.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.008127, allocations: 1.043 MB / 362.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.008355, allocations: 187.4 kB / 362.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.008451, allocations: 82.64 kB / 362.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.008475, allocations: 7.938 kB / 362.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.008497, allocations: 45.33 kB / 362.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.222e-06/0.008498, allocations: 0 / 362.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009738/0.009472, allocations: 0.6554 MB / 363.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.009498, allocations: 55.41 kB / 363.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.009745, allocations: 382.7 kB / 363.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.00976, allocations: 29.7 kB / 363.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.009869, allocations: 259.3 kB / 363.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.009929, allocations: 130.9 kB / 363.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.009998, allocations: 71.73 kB / 364 MB, free: 8.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01012, allocations: 0.5157 MB / 364.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.01019, allocations: 52.7 kB / 364.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.0103, allocations: 119.6 kB / 364.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.01049, allocations: 181.9 kB / 364.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01049, allocations: 0 / 364.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000486/0.01097, allocations: 356.4 kB / 365.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01099, allocations: 8 kB / 365.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01099, allocations: 0 / 365.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.01141, allocations: 139.6 kB / 365.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.01165, allocations: 91.89 kB / 365.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.01365, allocations: 3.958 MB / 369.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01376, allocations: 15.97 kB / 369.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01377, allocations: 12 kB / 369.4 MB, free: 3.188 MB / 298.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.0001052/0.01388, allocations: 180.5 kB / 369.6 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.01393, allocations: 55.64 kB / 369.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.01418, allocations: 241.9 kB / 369.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01418, allocations: 4 kB / 369.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01419, allocations: 0 / 369.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01419, allocations: 4 kB / 369.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.01475, allocations: 0.6188 MB / 370.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01476, allocations: 4 kB / 370.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.01496, allocations: 83.89 kB / 370.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01496, allocations: 0 / 370.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01498, allocations: 8 kB / 370.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01498, allocations: 0 / 370.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01498, allocations: 0 / 370.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.01533, allocations: 461 kB / 371.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.01541, allocations: 51.69 kB / 371.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01543, allocations: 8 kB / 371.1 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.01553, allocations: 15.98 kB / 371.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01557, allocations: 19.97 kB / 371.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.01558, allocations: 19.91 kB / 371.2 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.01573, allocations: 259.1 kB / 371.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01573, allocations: 3.938 kB / 371.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.01596, allocations: 88 kB / 371.5 MB, free: 1.016 MB / 298.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.151e-05/0.01603, allocations: 98.62 kB / 371.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.01656, allocations: 441 kB / 372.1 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01656, allocations: 0 / 372.1 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01666, allocations: 103.5 kB / 372.2 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01696, allocations: 80.14 kB / 372.2 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.01823, allocations: 0.9236 MB / 373.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.052e-05/0.01829, allocations: 109.3 kB / 373.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.01838, allocations: 46.94 kB / 373.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.01845, allocations: 32.5 kB / 373.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01845, allocations: 0 / 373.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.006019/0.02447, allocations: 4.609 MB / 378 MB, free: 10.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.932174308691174]