Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001193/0.001193, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.003118, 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.001169/0.001169, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002769, 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.9128/0.9128, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08487/0.9976, 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.1112/0.1112, allocations: 19.78 MB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01172/0.123, allocations: 7.561 MB / 271.5 MB, free: 3.348 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.883e-05, allocations: 5.688 kB / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.1292/0.1292, allocations: 2.692 MB / 275.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1304, allocations: 0.7635 MB / 276.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1306, allocations: 8.094 kB / 276.3 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1307, allocations: 45.88 kB / 276.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.131, allocations: 133.1 kB / 276.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1312, allocations: 82.41 kB / 276.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.1316, allocations: 413.4 kB / 276.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1317, allocations: 57.23 kB / 277 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.1322, allocations: 290.7 kB / 277.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1324, allocations: 123 kB / 277.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.1324, allocations: 24.97 kB / 277.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.1325, allocations: 28.5 kB / 277.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.1325, allocations: 50.41 kB / 277.5 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.1326, allocations: 91.12 kB / 277.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1329, allocations: 218.9 kB / 277.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.133, allocations: 2 kB / 277.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.133, allocations: 0.6562 kB / 277.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.133, allocations: 0.6875 kB / 277.8 MB, free: 1.16 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007366/0.1337, allocations: 0.6411 MB / 278.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1337, allocations: 10.94 kB / 278.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1339, allocations: 118.9 kB / 278.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1341, allocations: 225.1 kB / 278.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1341, allocations: 21.91 kB / 278.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1342, allocations: 28.36 kB / 278.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1344, allocations: 206.8 kB / 279 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1344, allocations: 1.438 kB / 279 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1344, allocations: 10.03 kB / 279 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1344, allocations: 9.719 kB / 279.1 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1346, allocations: 80.94 kB / 279.1 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1351, allocations: 0.5467 MB / 279.7 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1353, allocations: 115.2 kB / 279.8 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1353, allocations: 53.19 kB / 279.8 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1354, allocations: 3.938 kB / 279.8 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1354, allocations: 37.23 kB / 279.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.1354, allocations: 0 / 279.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006452/0.136, allocations: 429.7 kB / 280.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1361, allocations: 59.56 kB / 280.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1363, allocations: 271 kB / 280.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1363, allocations: 30.52 kB / 280.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1363, allocations: 150.8 kB / 280.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.1364, allocations: 105.5 kB / 280.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1365, allocations: 54.45 kB / 281 MB, free: 15.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1366, allocations: 359.2 kB / 281.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.1366, allocations: 26.69 kB / 281.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.1367, allocations: 65.91 kB / 281.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1368, allocations: 117.3 kB / 281.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1368, allocations: 0 / 281.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002549/0.137, allocations: 186.7 kB / 281.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.137, allocations: 9.656 kB / 281.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.137, allocations: 2.016 kB / 281.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.1373, allocations: 57.38 kB / 281.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1375, allocations: 94.34 kB / 281.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1388, allocations: 2.521 MB / 284.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.1389, allocations: 15.67 kB / 284.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1389, allocations: 4.531 kB / 284.4 MB, free: 12.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.698e-05/0.139, allocations: 127 kB / 284.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1391, allocations: 27.11 kB / 284.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1392, allocations: 164.9 kB / 284.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1392, allocations: 3.25 kB / 284.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1392, allocations: 0 / 284.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1392, allocations: 6.656 kB / 284.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.1396, allocations: 363.3 kB / 285.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1396, allocations: 0 / 285.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1398, allocations: 89.84 kB / 285.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1399, allocations: 32.92 kB / 285.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1399, allocations: 5.828 kB / 285.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1399, allocations: 9.891 kB / 285.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1399, allocations: 1.219 kB / 285.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1399, allocations: 0 / 285.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1401, allocations: 285.7 kB / 285.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1402, allocations: 10.86 kB / 285.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1402, allocations: 6.312 kB / 285.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1403, allocations: 20.86 kB / 285.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1403, allocations: 6.5 kB / 285.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1404, allocations: 105.1 kB / 285.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1404, allocations: 4 kB / 285.6 MB, free: 11.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000212/0.1406, allocations: 71.47 kB / 285.7 MB, free: 11.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.915e-05/0.1407, allocations: 80.94 kB / 285.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1411, allocations: 292 kB / 286.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.1411, allocations: 8.688 kB / 286.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.1412, allocations: 84.17 kB / 286.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1416, allocations: 482.8 kB / 286.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1452, allocations: 0.6567 MB / 287.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.1453, allocations: 102.4 kB / 287.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.1454, allocations: 33.12 kB / 287.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1455, allocations: 106 kB / 287.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1455, allocations: 4 kB / 287.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of Templates: time 0.007377/0.1529, allocations: 4.152 MB / 291.7 MB, free: 9.219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6147728031501174]