Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0007804/0.0007804, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001873, 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.0006905/0.0006905, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001601, 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.8496/0.8496, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07576/0.9253, allocations: 53.67 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.08523/0.08523, allocations: 19.79 MB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0109/0.09613, allocations: 7.553 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 272.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.098e-05, allocations: 2.312 kB / 272.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.113/0.113, allocations: 2.355 MB / 275.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008778/0.1139, allocations: 0.6508 MB / 275.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.114, allocations: 3.406 kB / 275.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.5e-05/0.1141, allocations: 30.3 kB / 275.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1143, allocations: 90.5 kB / 275.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1144, allocations: 64.3 kB / 276 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1146, allocations: 282.8 kB / 276.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1148, allocations: 48.23 kB / 276.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.115, allocations: 205.2 kB / 276.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1152, allocations: 89.12 kB / 276.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.1152, allocations: 22 kB / 276.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.1153, allocations: 21.5 kB / 276.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.1153, allocations: 31.94 kB / 276.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1153, allocations: 66.28 kB / 276.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1155, allocations: 146.6 kB / 276.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.1155, allocations: 2.75 kB / 276.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1155, allocations: 3.938 kB / 276.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1156, allocations: 0 / 276.9 MB, free: 1.336 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.0005128/0.1161, allocations: 0.5024 MB / 277.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.1161, allocations: 9.531 kB / 277.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.1162, allocations: 109.8 kB / 277.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1164, allocations: 193.7 kB / 277.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1164, allocations: 14.34 kB / 277.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1164, allocations: 22.25 kB / 277.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1166, allocations: 145.2 kB / 277.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1166, allocations: 2.375 kB / 277.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1166, allocations: 5.922 kB / 277.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1166, allocations: 9.344 kB / 277.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.769e-05/0.1167, allocations: 53.16 kB / 277.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.1171, allocations: 412.9 kB / 278.3 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1172, allocations: 83.75 kB / 278.4 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.1172, allocations: 41.17 kB / 278.5 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1172, allocations: 4.031 kB / 278.5 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.1173, allocations: 37.34 kB / 278.5 MB, free: 348 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.1173, allocations: 1.281 kB / 278.5 MB, free: 348 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004353/0.1177, allocations: 321.2 kB / 278.8 MB, free: 176 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.1177, allocations: 58.84 kB / 278.9 MB, free: 108 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1178, allocations: 222.5 kB / 279.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1179, allocations: 26.89 kB / 279.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.1179, allocations: 134.2 kB / 279.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.118, allocations: 73.36 kB / 279.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.118, allocations: 43.38 kB / 279.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.1181, allocations: 334.9 kB / 279.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.1181, allocations: 16.56 kB / 279.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.1181, allocations: 43.11 kB / 279.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.1182, allocations: 77.55 kB / 279.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1182, allocations: 0 / 279.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001171/0.1183, allocations: 111.8 kB / 279.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1183, allocations: 7.469 kB / 279.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1183, allocations: 5.281 kB / 280 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1184, allocations: 2.156 kB / 280 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1186, allocations: 91.61 kB / 280 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005606/0.1192, allocations: 1.238 MB / 281.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.1193, allocations: 8.562 kB / 281.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1193, allocations: 10.06 kB / 281.3 MB, free: 14.16 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.591e-05/0.1193, allocations: 121.5 kB / 281.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1194, allocations: 16.36 kB / 281.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1195, allocations: 121.5 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1195, allocations: 3.547 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1195, allocations: 0 / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1195, allocations: 0.75 kB / 281.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1198, allocations: 300.9 kB / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1198, allocations: 1.797 kB / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1199, allocations: 56.31 kB / 281.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.12, allocations: 28.53 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.12, allocations: 1.859 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.12, allocations: 2.188 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.12, allocations: 0 / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.12, allocations: 1 kB / 281.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1202, allocations: 239 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1202, allocations: 4.562 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.1202, allocations: 7.859 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.1203, allocations: 14.45 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1203, allocations: 6.281 kB / 282.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.1203, allocations: 72.92 kB / 282.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1203, allocations: 0 / 282.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.1205, allocations: 47.56 kB / 282.3 MB, free: 13.64 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.844e-05/0.1206, allocations: 84.16 kB / 282.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1207, allocations: 109.4 kB / 282.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.1208, allocations: 4.703 kB / 282.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.1208, allocations: 62.2 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.0002773/0.1211, allocations: 337.1 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.002887/0.124, allocations: 0.4982 MB / 283.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.124, allocations: 84.73 kB / 283.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.1241, allocations: 28.23 kB / 283.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1242, allocations: 90.55 kB / 283.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1242, allocations: 1.781 kB / 283.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of Templates: time 0.004742/0.129, allocations: 2.909 MB / 286.5 MB, free: 12.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5208970960229635]