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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001512/0.001512, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.397/1.397, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2893/0.2893, allocations: 49.6 MB / 336.4 MB, free: 3.883 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 71.91 kB / 476.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1047, allocations: 62.43 MB / 0.5266 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004148/0.1089, allocations: 2.733 MB / 0.5293 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1103, allocations: 0.7761 MB / 0.5301 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1104, allocations: 11.94 kB / 0.5301 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1106, allocations: 63.31 kB / 0.5301 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.111, allocations: 146.8 kB / 0.5303 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1112, allocations: 107.8 kB / 0.5304 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.1118, allocations: 498.2 kB / 0.5308 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.112, allocations: 92.69 kB / 0.5309 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.1122, allocations: 203.1 kB / 0.5311 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1125, allocations: 183 kB / 0.5313 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.1125, allocations: 36 kB / 0.5313 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.1126, allocations: 32 kB / 0.5314 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.1127, allocations: 91.55 kB / 0.5315 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1129, allocations: 179 kB / 0.5316 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.1134, allocations: 410 kB / 0.532 GB, free: 8.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1134, allocations: 0 / 0.532 GB, free: 8.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1134, allocations: 0 / 0.532 GB, free: 8.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1134, allocations: 0 / 0.532 GB, free: 8.078 MB / 414.1 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.001313/0.1147, allocations: 0.6955 MB / 0.5327 GB, free: 7.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1147, allocations: 15.97 kB / 0.5327 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.1149, allocations: 56.61 kB / 0.5328 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1154, allocations: 296.6 kB / 0.533 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1154, allocations: 21.03 kB / 0.5331 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.1155, allocations: 36.33 kB / 0.5331 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.116, allocations: 297.9 kB / 0.5334 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.116, allocations: 4 kB / 0.5334 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.116, allocations: 12 kB / 0.5334 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.116, allocations: 12 kB / 0.5334 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.1165, allocations: 202.4 kB / 0.5336 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1181, allocations: 0.9173 MB / 0.5345 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1185, allocations: 238.9 kB / 0.5347 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1187, allocations: 108.8 kB / 0.5348 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1187, allocations: 4 kB / 0.5348 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1188, allocations: 34.56 kB / 0.5349 GB, free: 5.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.734e-06/0.1188, allocations: 0 / 0.5349 GB, free: 5.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001764/0.1205, allocations: 0.797 MB / 0.5356 GB, free: 4.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1206, allocations: 55.41 kB / 0.5357 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.121, allocations: 345.7 kB / 0.536 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.121, allocations: 33.7 kB / 0.5361 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1212, allocations: 212.6 kB / 0.5363 GB, free: 3.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1213, allocations: 130.9 kB / 0.5364 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1214, allocations: 74.02 kB / 0.5365 GB, free: 3.309 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1215, allocations: 350.7 kB / 0.5368 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1217, allocations: 92.72 kB / 0.5369 GB, free: 2.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1219, allocations: 145.4 kB / 0.537 GB, free: 2.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.1223, allocations: 243.6 kB / 0.5373 GB, free: 2.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.1224, allocations: 4 kB / 0.5373 GB, free: 2.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009447/0.1233, allocations: 409.7 kB / 0.5376 GB, free: 2.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1233, allocations: 4 kB / 0.5377 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1233, allocations: 7.984 kB / 0.5377 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.1239, allocations: 116.9 kB / 0.5378 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.1243, allocations: 95.88 kB / 0.5379 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1884/0.3127, allocations: 3.063 MB / 0.5409 GB, free: 21.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.313, allocations: 12.31 kB / 0.5409 GB, free: 21.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.313, allocations: 16.78 kB / 0.5409 GB, free: 21.7 MB / 414.1 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.0001408/0.3132, allocations: 158.3 kB / 0.541 GB, free: 21.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.3132, allocations: 39.97 kB / 0.5411 GB, free: 21.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.3137, allocations: 299.1 kB / 0.5414 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3137, allocations: 4.062 kB / 0.5414 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3137, allocations: 1.516 kB / 0.5414 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3137, allocations: 3.125 kB / 0.5414 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.3145, allocations: 0.6446 MB / 0.542 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3145, allocations: 0.6094 kB / 0.542 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.3149, allocations: 72.27 kB / 0.5421 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3149, allocations: 1.812 kB / 0.5421 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.315, allocations: 16.45 kB / 0.5421 GB, free: 21.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.315, allocations: 4.719 kB / 0.5421 GB, free: 21.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.315, allocations: 0 / 0.5421 GB, free: 21.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.3155, allocations: 0.4912 MB / 0.5426 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3157, allocations: 55.5 kB / 0.5426 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.3157, allocations: 11.14 kB / 0.5426 GB, free: 21.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3159, allocations: 9.375 kB / 0.5426 GB, free: 21.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.316, allocations: 21.77 kB / 0.5427 GB, free: 21.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.316, allocations: 13.41 kB / 0.5427 GB, free: 21.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3162, allocations: 246.6 kB / 0.5429 GB, free: 21.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3162, allocations: 0 / 0.5429 GB, free: 21.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3166, allocations: 90.59 kB / 0.543 GB, free: 21.05 MB / 414.1 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 8.174e-05/0.3167, allocations: 104.3 kB / 0.5431 GB, free: 20.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.3175, allocations: 420.6 kB / 0.5435 GB, free: 20.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3175, allocations: 0 / 0.5435 GB, free: 20.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3177, allocations: 121 kB / 0.5436 GB, free: 20.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3182, allocations: 71.91 kB / 0.5437 GB, free: 20.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3197, allocations: 1.081 MB / 0.5447 GB, free: 20.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3199, allocations: 219.5 kB / 0.5449 GB, free: 19.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.3201, allocations: 40.11 kB / 0.545 GB, free: 19.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.3201, allocations: 30.14 kB / 0.545 GB, free: 19.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3201, allocations: 4 kB / 0.545 GB, free: 19.96 MB / 414.1 MB Notification: Performance of Templates: time 0.009816/0.33, allocations: 5 MB / 0.5499 GB, free: 19.32 MB / 414.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.824171552434564] Failed to read output from testmodel.py, exit status != 0: 0.3381359204649925 0.349099025 0.23320126200000002 Calling exit ...