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.0008651/0.0008651, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002085, 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.0007765/0.0007765, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009831/0.00176, 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.9331/0.9331, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08311/1.016, 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.08653/0.08653, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01104/0.09757, allocations: 7.548 MB / 271.3 MB, free: 3.484 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.462e-06/1.462e-06, allocations: 0 / 272.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.156e-05, allocations: 6.312 kB / 272.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.1185/0.1185, allocations: 2.343 MB / 274.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.1194, allocations: 0.6523 MB / 275.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.1195, allocations: 2.5 kB / 275.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-05/0.1196, allocations: 38.05 kB / 275.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1198, allocations: 88.94 kB / 275.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1199, allocations: 59.16 kB / 275.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1201, allocations: 289.2 kB / 276 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1202, allocations: 47.55 kB / 276.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1205, allocations: 205.4 kB / 276.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1206, allocations: 91.94 kB / 276.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1207, allocations: 17.84 kB / 276.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.1207, allocations: 23.38 kB / 276.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.1208, allocations: 33.44 kB / 276.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.1208, allocations: 65.66 kB / 276.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.121, allocations: 153.7 kB / 276.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.121, allocations: 2.344 kB / 276.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.121, allocations: 0 / 276.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1211, allocations: 0 / 276.7 MB, free: 1.316 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.0005683/0.1216, allocations: 0.4997 MB / 277.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.1216, allocations: 8.562 kB / 277.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.1217, allocations: 108.5 kB / 277.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1219, allocations: 195.4 kB / 277.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1219, allocations: 14.47 kB / 277.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.122, allocations: 20.12 kB / 277.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1222, allocations: 148.7 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1222, allocations: 1.078 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1222, allocations: 10.41 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1222, allocations: 9.031 kB / 277.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.1223, allocations: 47.88 kB / 277.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1228, allocations: 414.7 kB / 278.1 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1229, allocations: 78.86 kB / 278.2 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.1229, allocations: 39.52 kB / 278.2 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1229, allocations: 10.64 kB / 278.2 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.123, allocations: 31.72 kB / 278.3 MB, free: 332 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.123, allocations: 0 / 278.3 MB, free: 332 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004676/0.1234, allocations: 317.5 kB / 278.6 MB, free: 160 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.1234, allocations: 57.59 kB / 278.6 MB, free: 92 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1236, allocations: 224.6 kB / 278.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1236, allocations: 27.45 kB / 278.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.1237, allocations: 135.1 kB / 279 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1237, allocations: 68.44 kB / 279.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.1237, allocations: 43.8 kB / 279.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.1238, allocations: 334.3 kB / 279.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.1238, allocations: 15.86 kB / 279.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.1239, allocations: 42.53 kB / 279.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.124, allocations: 76.23 kB / 279.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.124, allocations: 2.219 kB / 279.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001302/0.1241, allocations: 112.1 kB / 279.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1241, allocations: 5.469 kB / 279.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1241, allocations: 8.906 kB / 279.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1241, allocations: 1.844 kB / 279.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1244, allocations: 87.38 kB / 279.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006362/0.1251, allocations: 1.246 MB / 281 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.1251, allocations: 8.688 kB / 281 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1251, allocations: 2.625 kB / 281 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 7.292e-05/0.1252, allocations: 121.2 kB / 281.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1252, allocations: 16.05 kB / 281.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.1254, allocations: 121.2 kB / 281.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1254, allocations: 3.625 kB / 281.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1254, allocations: 0 / 281.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1254, allocations: 5.938 kB / 281.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.1257, allocations: 304.8 kB / 281.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1257, allocations: 1.219 kB / 281.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1259, allocations: 52.36 kB / 281.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1259, allocations: 26.28 kB / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1259, allocations: 1.969 kB / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1259, allocations: 4.312 kB / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1259, allocations: 1.828 kB / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1259, allocations: 0 / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1261, allocations: 233.2 kB / 281.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1261, allocations: 9.656 kB / 281.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1262, allocations: 6.938 kB / 281.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1262, allocations: 10.83 kB / 281.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1262, allocations: 9.75 kB / 282 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.1263, allocations: 77.42 kB / 282 MB, free: 13.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1263, allocations: 0 / 282 MB, free: 13.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.1265, allocations: 43.34 kB / 282.1 MB, free: 13.63 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 7.859e-05/0.1265, allocations: 78.39 kB / 282.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1268, allocations: 119.3 kB / 282.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.1268, allocations: 6.062 kB / 282.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.1268, allocations: 44.42 kB / 282.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.127, allocations: 62.7 kB / 282.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.13, allocations: 0.5013 MB / 282.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.1301, allocations: 87.48 kB / 283 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.657e-05/0.1302, allocations: 30.73 kB / 283 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1303, allocations: 89.05 kB / 283.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1303, allocations: 0 / 283.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of Templates: time 0.005562/0.1359, allocations: 2.801 MB / 285.9 MB, free: 12.82 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.4695945382118225]