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.0006565/0.0006565, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009448/0.001601, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006661/0.0006661, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008818/0.001548, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8965/0.8965, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08686/0.9834, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.09316/0.09316, allocations: 19.78 MB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01305/0.1062, allocations: 7.561 MB / 271.5 MB, free: 3.359 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.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.076e-05, allocations: 2.312 kB / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.1448/0.1448, allocations: 3.141 MB / 275.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1463, allocations: 0.8475 MB / 276.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1464, allocations: 11.22 kB / 276.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1466, allocations: 60.72 kB / 276.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1469, allocations: 170.8 kB / 277 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1471, allocations: 116.4 kB / 277.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.1476, allocations: 0.5399 MB / 277.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1479, allocations: 104.2 kB / 277.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.1485, allocations: 385.9 kB / 278.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1487, allocations: 166.1 kB / 278.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.1488, allocations: 34.31 kB / 278.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1489, allocations: 43.55 kB / 278.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1489, allocations: 67.75 kB / 278.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.149, allocations: 122.3 kB / 278.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1494, allocations: 288 kB / 278.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.1494, allocations: 1.469 kB / 278.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1494, allocations: 1 kB / 278.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1495, allocations: 0 / 278.9 MB, free: 0.7695 MB / 266.7 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.0009194/0.1504, allocations: 0.8011 MB / 279.7 MB, free: 320 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1504, allocations: 8.719 kB / 279.7 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.1506, allocations: 141.9 kB / 279.8 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1509, allocations: 266.5 kB / 280.1 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1509, allocations: 26.56 kB / 280.1 MB, free: 0 / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.151, allocations: 40.58 kB / 280.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1514, allocations: 253.2 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1514, allocations: 6.031 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1514, allocations: 15.31 kB / 280.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1514, allocations: 13.47 kB / 280.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1516, allocations: 98.64 kB / 280.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.1525, allocations: 0.7522 MB / 281.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1528, allocations: 171.3 kB / 281.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.1528, allocations: 57.3 kB / 281.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1529, allocations: 6.578 kB / 281.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1529, allocations: 42.28 kB / 281.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.1529, allocations: 0 / 281.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009998/0.1539, allocations: 0.5979 MB / 282.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1539, allocations: 55.31 kB / 282.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1542, allocations: 330.7 kB / 282.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1542, allocations: 30.83 kB / 282.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.1543, allocations: 187 kB / 282.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.1543, allocations: 136.9 kB / 282.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.201e-05/0.1544, allocations: 74.75 kB / 282.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1545, allocations: 354.4 kB / 283.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.1546, allocations: 34.88 kB / 283.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.1547, allocations: 92.73 kB / 283.4 MB, free: 14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1548, allocations: 162 kB / 283.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1548, allocations: 0 / 283.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002218/0.155, allocations: 200.6 kB / 283.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1551, allocations: 4.75 kB / 283.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1551, allocations: 7.125 kB / 283.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1551, allocations: 2.25 kB / 283.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.1557, allocations: 214.6 kB / 284 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006844/0.1564, allocations: 1.246 MB / 285.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1565, allocations: 14.17 kB / 285.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1565, allocations: 13.58 kB / 285.3 MB, free: 12.6 MB / 282.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 (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.0001559/0.1566, allocations: 128 kB / 285.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.1567, allocations: 38.28 kB / 285.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1569, allocations: 194.5 kB / 285.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1569, allocations: 4.281 kB / 285.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1569, allocations: 0 / 285.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1569, allocations: 7.297 kB / 285.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1574, allocations: 443.9 kB / 286.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1574, allocations: 0 / 286.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.1577, allocations: 100.7 kB / 286.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.1578, allocations: 42.94 kB / 286.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1578, allocations: 8.781 kB / 286.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1578, allocations: 7.938 kB / 286.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1578, allocations: 1.438 kB / 286.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1578, allocations: 0 / 286.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1581, allocations: 334.3 kB / 286.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1581, allocations: 7.906 kB / 286.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.1582, allocations: 11.81 kB / 286.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1582, allocations: 23.58 kB / 286.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.1582, allocations: 4.781 kB / 286.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1584, allocations: 145.5 kB / 286.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 286.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.1586, allocations: 86.41 kB / 286.8 MB, free: 11.86 MB / 282.7 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 9.713e-05/0.1587, allocations: 82.39 kB / 286.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.1589, allocations: 192.4 kB / 287.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.159, allocations: 9.375 kB / 287.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1591, allocations: 110.9 kB / 287.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.1596, allocations: 0.6659 MB / 287.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.1637, allocations: 0.8701 MB / 288.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.982e-05/0.1638, allocations: 115.1 kB / 288.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.164, allocations: 49.05 kB / 288.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.1642, allocations: 125.2 kB / 289 MB, free: 10.41 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1642, allocations: 0 / 289 MB, free: 10.41 MB / 282.7 MB Notification: Performance of Templates: time 0.009092/0.1733, allocations: 5.472 MB / 294.5 MB, free: 7.539 MB / 282.7 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7571053421124816]