Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001917/0.001917, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002283/0.002283, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.39/1.39, allocations: 207.6 MB / 235.3 MB, free: 10 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.3077/0.3077, allocations: 49.57 MB / 337.1 MB, free: 4.113 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.003091/0.003091, allocations: 75.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1269, allocations: 62.42 MB / 0.5274 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004666/0.1316, allocations: 3.159 MB / 0.5304 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1333, allocations: 0.846 MB / 0.5313 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.1335, allocations: 7.938 kB / 0.5313 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1337, allocations: 59.33 kB / 0.5313 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.1341, allocations: 162.7 kB / 0.5315 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1344, allocations: 123.8 kB / 0.5316 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.1351, allocations: 0.5139 MB / 0.5321 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.1353, allocations: 106 kB / 0.5322 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1356, allocations: 219.1 kB / 0.5324 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1359, allocations: 226.9 kB / 0.5326 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.136, allocations: 39.94 kB / 0.5327 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.1361, allocations: 40 kB / 0.5327 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.1362, allocations: 91.56 kB / 0.5328 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.1364, allocations: 234.7 kB / 0.533 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.1369, allocations: 437.9 kB / 0.5334 GB, free: 7.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.137, allocations: 0 / 0.5334 GB, free: 7.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.137, allocations: 4 kB / 0.5334 GB, free: 7.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.137, allocations: 0 / 0.5334 GB, free: 7.555 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00146/0.1384, allocations: 0.7342 MB / 0.5342 GB, free: 6.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1385, allocations: 12.03 kB / 0.5342 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1386, allocations: 56.61 kB / 0.5342 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.1391, allocations: 320.5 kB / 0.5345 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1392, allocations: 21.03 kB / 0.5345 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.1392, allocations: 44.27 kB / 0.5346 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.1398, allocations: 318.2 kB / 0.5349 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1398, allocations: 0 / 0.5349 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.1398, allocations: 16 kB / 0.5349 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1398, allocations: 8 kB / 0.5349 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.1402, allocations: 218.4 kB / 0.5351 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1421, allocations: 1.104 MB / 0.5362 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.1426, allocations: 243.6 kB / 0.5364 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.1429, allocations: 117.7 kB / 0.5365 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1429, allocations: 8.266 kB / 0.5366 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1429, allocations: 34.84 kB / 0.5366 GB, free: 4.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.1429, allocations: 0 / 0.5366 GB, free: 4.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002102/0.145, allocations: 0.8727 MB / 0.5374 GB, free: 3.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1451, allocations: 55.41 kB / 0.5375 GB, free: 3.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.1455, allocations: 377.6 kB / 0.5378 GB, free: 2.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.1455, allocations: 33.7 kB / 0.5379 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1457, allocations: 224.9 kB / 0.5381 GB, free: 2.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1458, allocations: 130.9 kB / 0.5382 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1459, allocations: 70.12 kB / 0.5383 GB, free: 2.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1461, allocations: 354.7 kB / 0.5386 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1463, allocations: 96.83 kB / 0.5387 GB, free: 1.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1465, allocations: 144.5 kB / 0.5389 GB, free: 1.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.147, allocations: 260 kB / 0.5391 GB, free: 1.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.147, allocations: 0 / 0.5391 GB, free: 1.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005755/0.1475, allocations: 349.1 kB / 0.5394 GB, free: 1.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1475, allocations: 8 kB / 0.5394 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1476, allocations: 0 / 0.5394 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1476, allocations: 4 kB / 0.5394 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.1483, allocations: 155.9 kB / 0.5396 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2279/0.3762, allocations: 1.33 MB / 0.5409 GB, free: 21.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.3766, allocations: 9.797 kB / 0.5409 GB, free: 21.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3766, allocations: 14.02 kB / 0.5409 GB, free: 21.78 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001719/0.3768, allocations: 154.9 kB / 0.5411 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.3769, allocations: 47.42 kB / 0.5411 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.3774, allocations: 315.1 kB / 0.5414 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3774, allocations: 3.781 kB / 0.5414 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3774, allocations: 0 / 0.5414 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3774, allocations: 2.703 kB / 0.5414 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3785, allocations: 0.7544 MB / 0.5422 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3785, allocations: 1.438 kB / 0.5422 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.3789, allocations: 84.27 kB / 0.5422 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.3789, allocations: 2.969 kB / 0.5422 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3789, allocations: 9.734 kB / 0.5422 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3789, allocations: 1.125 kB / 0.5423 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3789, allocations: 0.5625 kB / 0.5423 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.3796, allocations: 0.5222 MB / 0.5428 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3798, allocations: 69.27 kB / 0.5428 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3798, allocations: 6.031 kB / 0.5428 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.38, allocations: 12.58 kB / 0.5428 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.3801, allocations: 26 kB / 0.5429 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3801, allocations: 6.984 kB / 0.5429 GB, free: 21.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3804, allocations: 272.4 kB / 0.5431 GB, free: 21.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 0 / 0.5431 GB, free: 21.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.3808, allocations: 88.59 kB / 0.5432 GB, free: 21.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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 0.00011/0.3809, allocations: 107.3 kB / 0.5433 GB, free: 21.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.3816, allocations: 254 kB / 0.5436 GB, free: 21.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3816, allocations: 0 / 0.5436 GB, free: 21.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3818, allocations: 128.7 kB / 0.5437 GB, free: 20.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3823, allocations: 85.89 kB / 0.5438 GB, free: 20.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3842, allocations: 1.147 MB / 0.5449 GB, free: 20.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3844, allocations: 0.8239 MB / 0.5457 GB, free: 19.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3846, allocations: 33.8 kB / 0.5457 GB, free: 19.56 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3846, allocations: 1.219 kB / 0.5457 GB, free: 19.56 MB / 414.1 MB Notification: Performance of Templates: time 0.009504/0.3941, allocations: 5.462 MB / 0.5511 GB, free: 19 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.668207135051489] Failed to read output from testmodel.py, exit status != 0: 0.40417455695569515 0.414975676 0.275285457 Calling exit ...