Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009378/0.0009378, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.00216, 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.00096/0.00096, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002251, 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.9251/0.9251, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07711/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1085/0.1085, allocations: 19.79 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009142/0.1176, allocations: 7.557 MB / 271.5 MB, free: 3.344 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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.785e-05, allocations: 2.312 kB / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.1197/0.1198, allocations: 3.139 MB / 276 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1213, allocations: 0.8564 MB / 276.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1215, allocations: 10.81 kB / 276.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1216, allocations: 61.41 kB / 276.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1219, allocations: 162.3 kB / 277 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1222, allocations: 121.7 kB / 277.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.1226, allocations: 0.5356 MB / 277.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1228, allocations: 103.2 kB / 277.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.1232, allocations: 390.8 kB / 278.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1235, allocations: 161.6 kB / 278.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.1235, allocations: 35.47 kB / 278.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.1236, allocations: 42.56 kB / 278.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1237, allocations: 67.62 kB / 278.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1238, allocations: 123.7 kB / 278.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1242, allocations: 291.9 kB / 278.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.1242, allocations: 2.25 kB / 278.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1242, allocations: 0 / 278.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1242, allocations: 0 / 278.9 MB, free: 0.8477 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.0009019/0.1251, allocations: 0.7984 MB / 279.7 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.1251, allocations: 8.938 kB / 279.7 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1252, allocations: 140.7 kB / 279.8 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1255, allocations: 266.6 kB / 280.1 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1256, allocations: 27.31 kB / 280.1 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1256, allocations: 41.23 kB / 280.2 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.1259, allocations: 261.3 kB / 280.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.126, allocations: 3.219 kB / 280.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.126, allocations: 10.44 kB / 280.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.126, allocations: 12.91 kB / 280.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1262, allocations: 103.8 kB / 280.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009927/0.1272, allocations: 0.7501 MB / 281.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1274, allocations: 161.2 kB / 281.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.1275, allocations: 65.38 kB / 281.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1275, allocations: 5.906 kB / 281.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1275, allocations: 43.09 kB / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1275, allocations: 0 / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001019/0.1285, allocations: 0.5944 MB / 282.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1286, allocations: 55.92 kB / 282.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1288, allocations: 331.2 kB / 282.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1288, allocations: 34.86 kB / 282.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1289, allocations: 182.2 kB / 282.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.129, allocations: 136.4 kB / 282.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.1291, allocations: 76.69 kB / 282.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1292, allocations: 357.5 kB / 283.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.1293, allocations: 34.81 kB / 283.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.1294, allocations: 92.23 kB / 283.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1295, allocations: 162.6 kB / 283.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1295, allocations: 1.125 kB / 283.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002394/0.1298, allocations: 199.7 kB / 283.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1298, allocations: 4.844 kB / 283.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1298, allocations: 5.062 kB / 283.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1298, allocations: 4.234 kB / 283.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.1304, allocations: 212 kB / 284 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006743/0.1311, allocations: 1.236 MB / 285.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1312, allocations: 18.89 kB / 285.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1312, allocations: 13.84 kB / 285.3 MB, free: 12.64 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 9.304e-05/0.1313, allocations: 126.3 kB / 285.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.1314, allocations: 40.03 kB / 285.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.1316, allocations: 189.9 kB / 285.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1316, allocations: 8.969 kB / 285.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1316, allocations: 0.6094 kB / 285.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1316, allocations: 5.578 kB / 285.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.1321, allocations: 446.8 kB / 286.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1321, allocations: 0 / 286.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.1324, allocations: 105 kB / 286.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.1325, allocations: 41.97 kB / 286.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1325, allocations: 6.938 kB / 286.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1325, allocations: 9.281 kB / 286.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1325, allocations: 2.625 kB / 286.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1325, allocations: 1.344 kB / 286.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1328, allocations: 330 kB / 286.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1328, allocations: 10.44 kB / 286.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.1329, allocations: 11.44 kB / 286.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.133, allocations: 20.09 kB / 286.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.133, allocations: 8.156 kB / 286.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1331, allocations: 138.2 kB / 286.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1331, allocations: 4 kB / 286.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.1333, allocations: 86.41 kB / 286.8 MB, free: 11.9 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 0.0001003/0.1334, allocations: 81.47 kB / 286.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1337, allocations: 191.4 kB / 287.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/0.1337, allocations: 7.016 kB / 287.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1338, allocations: 110.2 kB / 287.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.1344, allocations: 0.6636 MB / 287.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.1384, allocations: 0.8674 MB / 288.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.471e-05/0.1385, allocations: 115.2 kB / 288.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1387, allocations: 50.83 kB / 288.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.1389, allocations: 129.6 kB / 289 MB, free: 10.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1389, allocations: 0 / 289 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Templates: time 0.008495/0.1474, allocations: 5.475 MB / 294.5 MB, free: 7.535 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.59194393735379]