Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0006715/0.0006715, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008647/0.001536, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006786/0.0006786, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008302/0.001509, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9103/0.9103, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07803/0.9883, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.08365/0.08365, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01083/0.09449, allocations: 7.557 MB / 271.3 MB, free: 3.477 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.7e-05, allocations: 6.109 kB / 272.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00291/0.002927, allocations: 2.153 MB / 274.7 MB, free: 48 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1063/0.1092, allocations: 0.5859 MB / 275.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.1093, allocations: 7.375 kB / 275.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.327e-05/0.1093, allocations: 21.94 kB / 275.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1095, allocations: 71.38 kB / 275.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.1096, allocations: 49.39 kB / 275.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1098, allocations: 216.1 kB / 275.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.1099, allocations: 27.94 kB / 275.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1101, allocations: 160 kB / 275.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1102, allocations: 66.06 kB / 275.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1102, allocations: 14.06 kB / 275.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.968e-05/0.1103, allocations: 14.62 kB / 275.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.1103, allocations: 24.56 kB / 276 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.1103, allocations: 44.28 kB / 276 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1105, allocations: 119.8 kB / 276.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.1105, allocations: 1.094 kB / 276.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1105, allocations: 0.5312 kB / 276.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1105, allocations: 0.6875 kB / 276.1 MB, free: 1.391 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004552/0.111, allocations: 435.6 kB / 276.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.111, allocations: 10.08 kB / 276.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.1111, allocations: 101.4 kB / 276.7 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1112, allocations: 173.2 kB / 276.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1113, allocations: 10.06 kB / 276.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1113, allocations: 16.77 kB / 276.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1114, allocations: 123.5 kB / 277 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1114, allocations: 1.25 kB / 277 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1114, allocations: 6.844 kB / 277 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1114, allocations: 6.344 kB / 277 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.1115, allocations: 37.91 kB / 277 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1118, allocations: 341.7 kB / 277.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1119, allocations: 71.02 kB / 277.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.112, allocations: 24.34 kB / 277.4 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.112, allocations: 3.219 kB / 277.5 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.112, allocations: 32.55 kB / 277.5 MB, free: 460 kB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.112, allocations: 4.875 kB / 277.5 MB, free: 456 kB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003517/0.1123, allocations: 263.4 kB / 277.7 MB, free: 288 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.1124, allocations: 58.66 kB / 277.8 MB, free: 220 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1125, allocations: 193.1 kB / 278 MB, free: 104 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.1125, allocations: 30.14 kB / 278 MB, free: 72 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1125, allocations: 117.9 kB / 278.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1126, allocations: 45.78 kB / 278.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1126, allocations: 31.05 kB / 278.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1127, allocations: 338.6 kB / 278.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.1128, allocations: 11.22 kB / 278.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1128, allocations: 38.81 kB / 278.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.1129, allocations: 64.06 kB / 278.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1129, allocations: 0 / 278.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.936e-05/0.113, allocations: 89.2 kB / 278.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.113, allocations: 8.75 kB / 278.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.113, allocations: 2.062 kB / 278.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.113, allocations: 1.125 kB / 278.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1131, allocations: 43.8 kB / 278.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.1131, allocations: 2.25 kB / 278.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.1132, allocations: 10.86 kB / 278.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1132, allocations: 5.438 kB / 278.8 MB, free: 15.51 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 (16): * Single equations (assignments): 16 * 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 5.532e-05/0.1132, allocations: 117.6 kB / 278.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1132, allocations: 14.36 kB / 278.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.1133, allocations: 25.39 kB / 279 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1133, allocations: 1.188 kB / 279 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1133, allocations: 0.7969 kB / 279 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1133, allocations: 1.969 kB / 279 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1135, allocations: 266.2 kB / 279.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1135, allocations: 1.031 kB / 279.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.1136, allocations: 41.55 kB / 279.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1137, allocations: 17.67 kB / 279.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1137, allocations: 1.219 kB / 279.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1137, allocations: 4.938 kB / 279.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1137, allocations: 2.453 kB / 279.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1137, allocations: 0 / 279.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1138, allocations: 191.9 kB / 279.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1138, allocations: 4.984 kB / 279.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.1139, allocations: 6.75 kB / 279.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.1139, allocations: 14.27 kB / 279.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1139, allocations: 5.312 kB / 279.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.114, allocations: 62.66 kB / 279.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.114, allocations: 0 / 279.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.1141, allocations: 29.44 kB / 279.6 MB, free: 15.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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.459e-05/0.1142, allocations: 73.89 kB / 279.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.1142, allocations: 59.62 kB / 279.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1143, allocations: 3.438 kB / 279.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.1143, allocations: 32.2 kB / 279.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.1145, allocations: 50.02 kB / 279.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.1169, allocations: 403.9 kB / 280.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.1169, allocations: 74.59 kB / 280.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.117, allocations: 18.58 kB / 280.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.117, allocations: 72.47 kB / 280.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.117, allocations: 5.5 kB / 280.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of Templates: time 0.003579/0.1206, allocations: 1.786 MB / 282.2 MB, free: 14.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4525060299783945]