Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.0008122/0.0008122, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001822, 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.0007537/0.0007537, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009954/0.001749, 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.9206/0.9206, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08083/1.001, 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.08306/0.08306, allocations: 19.79 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02473/0.1078, allocations: 7.553 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.337e-05, allocations: 2.312 kB / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.107/0.107, allocations: 2.354 MB / 275.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.1079, allocations: 0.6479 MB / 275.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.108, allocations: 7.219 kB / 275.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.1081, allocations: 31.41 kB / 275.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1083, allocations: 90.97 kB / 275.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1085, allocations: 60.39 kB / 276 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1087, allocations: 295.6 kB / 276.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1088, allocations: 50.36 kB / 276.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1091, allocations: 209.5 kB / 276.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1092, allocations: 89 kB / 276.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1093, allocations: 19.34 kB / 276.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.1094, allocations: 22.69 kB / 276.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.1094, allocations: 41.66 kB / 276.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.1094, allocations: 68.28 kB / 276.8 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1097, allocations: 161.8 kB / 276.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.1097, allocations: 0.6562 kB / 276.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1097, allocations: 0.875 kB / 276.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1097, allocations: 0 / 276.9 MB, free: 1.32 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005596/0.1102, allocations: 0.5104 MB / 277.4 MB, free: 1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1103, allocations: 9.688 kB / 277.5 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1104, allocations: 109.7 kB / 277.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1106, allocations: 199.4 kB / 277.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.1106, allocations: 67.5 kB / 277.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1107, allocations: 16.73 kB / 277.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1108, allocations: 153.9 kB / 278 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1108, allocations: 6.031 kB / 278 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1108, allocations: 8.281 kB / 278 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1109, allocations: 4.375 kB / 278 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.1109, allocations: 54.42 kB / 278.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1114, allocations: 417.4 kB / 278.5 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1116, allocations: 90.12 kB / 278.6 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.1116, allocations: 43.73 kB / 278.6 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1116, allocations: 4.859 kB / 278.6 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1116, allocations: 33.84 kB / 278.6 MB, free: 272 kB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.1116, allocations: 0 / 278.6 MB, free: 272 kB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004801/0.1121, allocations: 336.2 kB / 279 MB, free: 88 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/0.1121, allocations: 53.66 kB / 279 MB, free: 24 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1123, allocations: 229.6 kB / 279.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1123, allocations: 34.48 kB / 279.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.1124, allocations: 128 kB / 279.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1124, allocations: 70.09 kB / 279.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1125, allocations: 44.59 kB / 279.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.1125, allocations: 340.2 kB / 279.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.1126, allocations: 17.59 kB / 279.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.1126, allocations: 44.66 kB / 279.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.1127, allocations: 74.91 kB / 280 MB, free: 15.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1127, allocations: 1.062 kB / 280 MB, free: 15.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001352/0.1128, allocations: 116.8 kB / 280.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1129, allocations: 9.094 kB / 280.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1129, allocations: 0.7031 kB / 280.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1129, allocations: 2.625 kB / 280.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1132, allocations: 101.2 kB / 280.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1132, allocations: 2.438 kB / 280.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.1133, allocations: 9.5 kB / 280.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1133, allocations: 9.375 kB / 280.2 MB, free: 15.32 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: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 7.349e-05/0.1133, allocations: 120.2 kB / 280.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1134, allocations: 24.56 kB / 280.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1134, allocations: 30.47 kB / 280.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1134, allocations: 2.812 kB / 280.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1134, allocations: 0 / 280.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1134, allocations: 2.328 kB / 280.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.1138, allocations: 316.2 kB / 280.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1138, allocations: 3.938 kB / 280.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.114, allocations: 71.08 kB / 280.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.114, allocations: 26.91 kB / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.114, allocations: 1.281 kB / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.114, allocations: 5.828 kB / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.114, allocations: 1.406 kB / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.114, allocations: 0 / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1143, allocations: 234.9 kB / 281 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1143, allocations: 5.031 kB / 281.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.1143, allocations: 5.391 kB / 281.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1144, allocations: 15.08 kB / 281.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1144, allocations: 6.766 kB / 281.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.1145, allocations: 81.72 kB / 281.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1145, allocations: 0 / 281.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.1146, allocations: 46.5 kB / 281.2 MB, free: 14.83 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: 1 (BreakerCommand.y) * 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 8.483e-05/0.1147, allocations: 77.67 kB / 281.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.1148, allocations: 78.14 kB / 281.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.1148, allocations: 7.938 kB / 281.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.1149, allocations: 57.83 kB / 281.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1152, allocations: 318.2 kB / 281.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1181, allocations: 491.1 kB / 282.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.1182, allocations: 83.3 kB / 282.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.543e-05/0.1182, allocations: 22.22 kB / 282.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1183, allocations: 93.16 kB / 282.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1183, allocations: 0 / 282.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.004843/0.1232, allocations: 2.396 MB / 284.8 MB, free: 13.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5220460509881377]