Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0006918/0.0006918, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009312/0.001623, 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.0006927/0.0006927, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001623, 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.8952/0.8952, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09123/0.9865, allocations: 53.65 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.09082/0.09082, allocations: 19.79 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01135/0.1022, 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.105e-05, allocations: 5.828 kB / 272.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.1212/0.1212, allocations: 2.346 MB / 275.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.1222, allocations: 0.6569 MB / 275.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1223, allocations: 2.594 kB / 275.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1224, allocations: 33.2 kB / 275.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1226, allocations: 87.59 kB / 275.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.1227, allocations: 64.33 kB / 276 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.123, allocations: 283.3 kB / 276.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1232, allocations: 48.72 kB / 276.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.1235, allocations: 205.7 kB / 276.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1236, allocations: 90.83 kB / 276.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1236, allocations: 18.12 kB / 276.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.1237, allocations: 23.17 kB / 276.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.1237, allocations: 31.34 kB / 276.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1238, allocations: 67.25 kB / 276.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.124, allocations: 153 kB / 276.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.124, allocations: 0 / 276.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.124, allocations: 2.375 kB / 276.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.124, allocations: 0 / 276.9 MB, free: 1.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005394/0.1245, allocations: 0.498 MB / 277.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1246, allocations: 8.562 kB / 277.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.1247, allocations: 113.7 kB / 277.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1248, allocations: 188.7 kB / 277.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1248, allocations: 18.5 kB / 277.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1249, allocations: 19.97 kB / 277.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.125, allocations: 147.2 kB / 277.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.125, allocations: 192 / 277.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.125, allocations: 8.594 kB / 277.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.125, allocations: 10.31 kB / 277.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.1251, allocations: 52.86 kB / 277.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.1255, allocations: 412.3 kB / 278.3 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.1256, allocations: 79.41 kB / 278.4 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.1257, allocations: 44.78 kB / 278.5 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1257, allocations: 2.5 kB / 278.5 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.1257, allocations: 37.11 kB / 278.5 MB, free: 352 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.72e-07/0.1257, allocations: 0 / 278.5 MB, free: 352 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004246/0.1261, allocations: 321.4 kB / 278.8 MB, free: 180 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.1261, allocations: 58.22 kB / 278.9 MB, free: 112 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1263, allocations: 223.7 kB / 279.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1263, allocations: 30.48 kB / 279.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1263, allocations: 132.7 kB / 279.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.1264, allocations: 67.31 kB / 279.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1264, allocations: 42.94 kB / 279.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.1265, allocations: 334.7 kB / 279.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.1265, allocations: 19.11 kB / 279.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.1266, allocations: 44.27 kB / 279.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.1266, allocations: 74.77 kB / 279.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1266, allocations: 0 / 279.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001187/0.1268, allocations: 113.4 kB / 279.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1268, allocations: 4.531 kB / 279.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1268, allocations: 8.688 kB / 279.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1268, allocations: 1.703 kB / 280 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.1271, allocations: 92.77 kB / 280 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005762/0.1276, allocations: 1.238 MB / 281.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1277, allocations: 4.031 kB / 281.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1277, allocations: 9.094 kB / 281.3 MB, free: 14.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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 6.071e-05/0.1278, allocations: 126.5 kB / 281.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1278, allocations: 16.5 kB / 281.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1279, allocations: 120.1 kB / 281.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1279, allocations: 2.281 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1279, allocations: 4 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1279, allocations: 1.5 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.1282, allocations: 308 kB / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1282, allocations: 0 / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1283, allocations: 53.23 kB / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1284, allocations: 26.52 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1284, allocations: 1.25 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1284, allocations: 5.625 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1284, allocations: 1.156 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1284, allocations: 0 / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.1285, allocations: 235.9 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1285, allocations: 5.25 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.1286, allocations: 7.641 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1286, allocations: 11.3 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1286, allocations: 12.09 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.1287, allocations: 72.61 kB / 282.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1287, allocations: 1.062 kB / 282.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.1289, allocations: 42.41 kB / 282.3 MB, free: 13.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 6.969e-05/0.1289, allocations: 82.2 kB / 282.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1291, allocations: 109 kB / 282.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.1291, allocations: 9.078 kB / 282.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.1292, allocations: 62.64 kB / 282.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1295, allocations: 334.4 kB / 282.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.1322, allocations: 0.4985 MB / 283.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.1323, allocations: 84.95 kB / 283.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.1323, allocations: 27.55 kB / 283.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1325, allocations: 91.34 kB / 283.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1325, allocations: 0 / 283.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of Templates: time 0.004711/0.1372, allocations: 2.923 MB / 286.5 MB, free: 12.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4635233832523227]