Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001011/0.001011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002355, 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.001075/0.001075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002402, 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.8756/0.8756, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07526/0.9509, allocations: 53.66 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.08228/0.08228, allocations: 19.74 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01031/0.09259, allocations: 7.55 MB / 271.3 MB, free: 3.488 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.18e-05, allocations: 5.688 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.1112/0.1112, allocations: 3.134 MB / 275.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1126, allocations: 0.8478 MB / 276.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1128, allocations: 11.59 kB / 276.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.113, allocations: 61.59 kB / 276.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1133, allocations: 168.3 kB / 276.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1135, allocations: 117.1 kB / 276.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.114, allocations: 0.5373 MB / 277.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1142, allocations: 106.6 kB / 277.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004671/0.1146, allocations: 379.8 kB / 277.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1149, allocations: 169.4 kB / 278.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.1149, allocations: 35.94 kB / 278.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.115, allocations: 39.69 kB / 278.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.1151, allocations: 68.38 kB / 278.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1152, allocations: 125.8 kB / 278.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1156, allocations: 293.8 kB / 278.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.1156, allocations: 0 / 278.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1156, allocations: 1.688 kB / 278.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.1156, allocations: 1.094 kB / 278.6 MB, free: 0.8945 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009782/0.1166, allocations: 0.7979 MB / 279.4 MB, free: 448 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1166, allocations: 9.812 kB / 279.4 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1168, allocations: 140.6 kB / 279.6 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1171, allocations: 266.7 kB / 279.8 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1171, allocations: 26.47 kB / 279.9 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.1171, allocations: 41.56 kB / 279.9 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1174, allocations: 256.7 kB / 280.2 MB, free: 16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1174, allocations: 2 kB / 280.2 MB, free: 16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1175, allocations: 18.78 kB / 280.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1175, allocations: 11.75 kB / 280.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1176, allocations: 100.1 kB / 280.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1187, allocations: 0.7455 MB / 281 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.119, allocations: 168.8 kB / 281.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.1191, allocations: 66 kB / 281.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1191, allocations: 6.062 kB / 281.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1191, allocations: 36.91 kB / 281.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.1191, allocations: 0 / 281.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001083/0.1202, allocations: 0.5849 MB / 281.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1202, allocations: 55.41 kB / 281.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1205, allocations: 339.4 kB / 282.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1205, allocations: 31.14 kB / 282.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.1206, allocations: 182.7 kB / 282.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.1207, allocations: 135.9 kB / 282.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.1208, allocations: 76.44 kB / 282.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1209, allocations: 353.8 kB / 283 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.1209, allocations: 37.95 kB / 283.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.121, allocations: 88.77 kB / 283.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1212, allocations: 159.9 kB / 283.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1212, allocations: 1.25 kB / 283.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002524/0.1215, allocations: 204.4 kB / 283.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1215, allocations: 5 kB / 283.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1215, allocations: 2.344 kB / 283.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1215, allocations: 2.219 kB / 283.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.1222, allocations: 218.2 kB / 283.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006806/0.1229, allocations: 1.242 MB / 285 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.123, allocations: 18.42 kB / 285 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.123, allocations: 6.297 kB / 285 MB, free: 12.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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 9.761e-05/0.1231, allocations: 127.7 kB / 285.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1232, allocations: 35.62 kB / 285.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1234, allocations: 193.6 kB / 285.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1234, allocations: 3.75 kB / 285.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1234, allocations: 6.234 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1234, allocations: 5.344 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.124, allocations: 439.5 kB / 285.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.124, allocations: 1.438 kB / 285.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.1243, allocations: 103.9 kB / 285.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.1244, allocations: 38.61 kB / 285.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1244, allocations: 5.906 kB / 285.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1244, allocations: 11.84 kB / 286 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1244, allocations: 8.781 kB / 286 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1244, allocations: 0.9062 kB / 286 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1248, allocations: 330.6 kB / 286.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1248, allocations: 6.938 kB / 286.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.125, allocations: 11.61 kB / 286.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.125, allocations: 23.58 kB / 286.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.125, allocations: 5.375 kB / 286.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1252, allocations: 140.9 kB / 286.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1252, allocations: 0 / 286.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000283/0.1254, allocations: 86.62 kB / 286.6 MB, free: 12.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.452e-05/0.1255, allocations: 86.19 kB / 286.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1258, allocations: 187.5 kB / 286.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.1259, allocations: 10.34 kB / 286.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.126, allocations: 91.33 kB / 286.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1263, allocations: 128 kB / 287.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.1379, allocations: 0.8534 MB / 287.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.138, allocations: 115.2 kB / 288 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.1382, allocations: 49.92 kB / 288.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.1384, allocations: 130.5 kB / 288.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1384, allocations: 0 / 288.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01449/0.1529, allocations: 5.16 MB / 293.4 MB, free: 8.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6255587143823504]