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.002415/0.002415, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002746/0.002746, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2701/0.2701, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.523e-06/1.523e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.426e-05, allocations: 6.312 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002747/0.002771, allocations: 2.245 MB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003845, allocations: 0.6436 MB / 355.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.003963, allocations: 3.938 kB / 355.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.004103, allocations: 31.66 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.004336, allocations: 95.14 kB / 356.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.004492, allocations: 59.91 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.004743, allocations: 286.6 kB / 356.4 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.004891, allocations: 48.91 kB / 356.5 MB, free: 372 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.005089, allocations: 159.5 kB / 356.6 MB, free: 212 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.005248, allocations: 83.72 kB / 356.7 MB, free: 128 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.005287, allocations: 16 kB / 356.7 MB, free: 112 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.005358, allocations: 20 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.005401, allocations: 51.75 kB / 356.8 MB, free: 40 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.005551, allocations: 79.77 kB / 356.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.005941, allocations: 219.2 kB / 357.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.005945, allocations: 0 / 357.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005947, allocations: 8 kB / 357.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.005954, allocations: 0 / 357.1 MB, free: 15.74 MB / 298.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.001161/0.007115, allocations: 0.5964 MB / 357.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.007162, allocations: 8.031 kB / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.007328, allocations: 40.78 kB / 357.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.007748, allocations: 215.6 kB / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.00777, allocations: 12.38 kB / 357.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.007824, allocations: 24.36 kB / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.008235, allocations: 177.3 kB / 358.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.008252, allocations: 192 / 358.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.008274, allocations: 8.375 kB / 358.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.008285, allocations: 7.938 kB / 358.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.008597, allocations: 115.7 kB / 358.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.009788, allocations: 0.6543 MB / 358.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.01009, allocations: 138.9 kB / 359.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.01025, allocations: 67.66 kB / 359.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.01028, allocations: 4 kB / 359.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.01031, allocations: 33.39 kB / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.01031, allocations: 0 / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001269/0.01158, allocations: 496.2 kB / 359.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.01164, allocations: 55.41 kB / 359.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.01202, allocations: 308.3 kB / 360 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.01205, allocations: 33.7 kB / 360 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.01226, allocations: 203.2 kB / 360.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.01234, allocations: 75.42 kB / 360.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.01244, allocations: 55.3 kB / 360.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003002/0.01274, allocations: 0.504 MB / 360.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01286, allocations: 47.97 kB / 360.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01303, allocations: 80.16 kB / 361 MB, free: 11.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.0133, allocations: 141.1 kB / 361.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.0133, allocations: 0 / 361.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003874/0.01369, allocations: 201.5 kB / 361.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01371, allocations: 4 kB / 361.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01372, allocations: 0 / 361.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.01374, allocations: 3.984 kB / 361.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.01416, allocations: 71.89 kB / 361.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.01597, allocations: 1.877 MB / 363.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.0161, allocations: 8 kB / 363.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01612, allocations: 4 kB / 363.3 MB, free: 9.141 MB / 298.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 0.0001879/0.01631, allocations: 188.6 kB / 363.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.01636, allocations: 31.86 kB / 363.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.01674, allocations: 179.7 kB / 363.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01675, allocations: 0 / 363.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01675, allocations: 0 / 363.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01675, allocations: 0 / 363.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.01767, allocations: 0.5168 MB / 364.2 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01767, allocations: 0 / 364.2 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.01791, allocations: 39.98 kB / 364.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01791, allocations: 0 / 364.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.01793, allocations: 12 kB / 364.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01794, allocations: 3.938 kB / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01794, allocations: 0 / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.01852, allocations: 387.9 kB / 364.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.01861, allocations: 39.83 kB / 364.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.01864, allocations: 3.938 kB / 364.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.01879, allocations: 8 kB / 364.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.01886, allocations: 15.91 kB / 364.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01888, allocations: 8 kB / 364.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.01912, allocations: 221.1 kB / 364.9 MB, free: 7.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01912, allocations: 0 / 364.9 MB, free: 7.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.01943, allocations: 48 kB / 365 MB, free: 7.379 MB / 298.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 0.0001642/0.01959, allocations: 95.19 kB / 365.1 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.02018, allocations: 175.8 kB / 365.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02018, allocations: 4.062 kB / 365.2 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.02034, allocations: 75.59 kB / 365.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.02078, allocations: 44.34 kB / 365.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02211, allocations: 0.5936 MB / 365.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.02226, allocations: 143.1 kB / 366.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.829e-05/0.02236, allocations: 29.61 kB / 366.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.02243, allocations: 20.5 kB / 366.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02243, allocations: 4 kB / 366.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of Templates: time 0.006808/0.02924, allocations: 2.448 MB / 368.6 MB, free: 3.707 MB / 298.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: 4.6284914939897135]