Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009661/0.0009661, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001231/0.001231, allocations: 174.3 kB / 24.92 MB, free: 8.762 MB / 18.57 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.066 MB / 186.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.09914/0.09914, allocations: 19.74 MB / 281.6 MB, free: 9 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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.848e-05, allocations: 2.969 kB / 305.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002906/0.002935, allocations: 2.109 MB / 307.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004043, allocations: 0.5936 MB / 307.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004154, allocations: 3.938 kB / 307.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004282, allocations: 29.22 kB / 307.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.004495, allocations: 75.73 kB / 308 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.004646, allocations: 40.34 kB / 308 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004873, allocations: 217 kB / 308.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004989, allocations: 33.83 kB / 308.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.00524, allocations: 121.4 kB / 308.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.005355, allocations: 64.36 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.005378, allocations: 12 kB / 308.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.005424, allocations: 16 kB / 308.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.005452, allocations: 42.14 kB / 308.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.005501, allocations: 55.23 kB / 308.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.005688, allocations: 126.2 kB / 308.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00569, allocations: 0 / 308.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005691, allocations: 0 / 308.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005695, allocations: 0 / 308.7 MB, free: 10.5 MB / 282.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.0004598/0.006155, allocations: 400.2 kB / 309.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.006185, allocations: 12.03 kB / 309.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.006262, allocations: 26.22 kB / 309.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.006429, allocations: 172.2 kB / 309.3 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.006439, allocations: 8.375 kB / 309.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.006462, allocations: 12.98 kB / 309.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.006599, allocations: 116.7 kB / 309.4 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.006607, allocations: 192 / 309.4 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006618, allocations: 9.031 kB / 309.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.006624, allocations: 7.922 kB / 309.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.006689, allocations: 43.11 kB / 309.5 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.007075, allocations: 340.1 kB / 309.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.007207, allocations: 65.97 kB / 309.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.007235, allocations: 24.22 kB / 309.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.007243, allocations: 224 / 309.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.007262, allocations: 42.5 kB / 309.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.007263, allocations: 0 / 309.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004229/0.007686, allocations: 273.6 kB / 310.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.007715, allocations: 52.44 kB / 310.2 MB, free: 8.895 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.007835, allocations: 192.1 kB / 310.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.007846, allocations: 26.31 kB / 310.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.007899, allocations: 118.4 kB / 310.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007924, allocations: 51.05 kB / 310.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.007959, allocations: 28.02 kB / 310.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.00804, allocations: 336.7 kB / 311 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.008059, allocations: 13.45 kB / 311 MB, free: 8.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.008091, allocations: 34.56 kB / 311 MB, free: 8.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.008154, allocations: 63.03 kB / 311.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008155, allocations: 0 / 311.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001029/0.008258, allocations: 85.55 kB / 311.2 MB, free: 7.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.00827, allocations: 4 kB / 311.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008276, allocations: 0.6094 kB / 311.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.008286, allocations: 4 kB / 311.2 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.008368, allocations: 36.08 kB / 311.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.008373, allocations: 8.141 kB / 311.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.008416, allocations: 7.938 kB / 311.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.008421, allocations: 0 / 311.2 MB, free: 7.906 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 6.394e-05/0.008485, allocations: 117.8 kB / 311.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.008508, allocations: 15.98 kB / 311.4 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.008538, allocations: 17.47 kB / 311.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008542, allocations: 7.984 kB / 311.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008543, allocations: 0 / 311.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008546, allocations: 0 / 311.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.008808, allocations: 263.1 kB / 311.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.008811, allocations: 8 kB / 311.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.008888, allocations: 27.98 kB / 311.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00889, allocations: 0 / 311.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008898, allocations: 8 kB / 311.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0089, allocations: 0 / 311.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008902, allocations: 3.938 kB / 311.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.009047, allocations: 188.2 kB / 311.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.009082, allocations: 27.83 kB / 311.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.009097, allocations: 4 kB / 311.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.009146, allocations: 7.938 kB / 311.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.00917, allocations: 11.92 kB / 311.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.009174, allocations: 4 kB / 311.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.596e-05/0.00922, allocations: 61.95 kB / 312 MB, free: 7.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00922, allocations: 0 / 312 MB, free: 7.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.009366, allocations: 32 kB / 312 MB, free: 7.062 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 7.67e-05/0.009442, allocations: 68.42 kB / 312.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.009529, allocations: 61.89 kB / 312.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.009532, allocations: 0 / 312.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.009563, allocations: 34.22 kB / 312.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009764, allocations: 49.45 kB / 312.2 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.01051, allocations: 421.2 kB / 312.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.01055, allocations: 75.83 kB / 312.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.0106, allocations: 13.48 kB / 312.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.01068, allocations: 71.36 kB / 312.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01068, allocations: 0 / 312.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Templates: time 0.003456/0.01414, allocations: 1.695 MB / 314.5 MB, free: 4.574 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.691420421935618]