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.001875/0.001875, allocations: 92.31 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.002214/0.002214, allocations: 157.7 kB / 24.27 MB, free: 164 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.367/1.367, allocations: 158.6 MB / 186.1 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2982/0.2982, allocations: 36.35 MB / 274.7 MB, free: 10.7 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.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.252e-06/1.252e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.879e-05, allocations: 5.688 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002176/0.002195, allocations: 1.982 MB / 355 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.002949, allocations: 0.5775 MB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.003038, allocations: 11.94 kB / 355.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.003146, allocations: 19.73 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.003322, allocations: 71.41 kB / 355.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.003441, allocations: 35.95 kB / 355.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.003615, allocations: 218.9 kB / 355.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.003719, allocations: 32.44 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.003859, allocations: 123.6 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.003959, allocations: 63.75 kB / 356.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.003983, allocations: 12 kB / 356.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.004031, allocations: 16 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.004055, allocations: 35.84 kB / 356.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.004107, allocations: 59.83 kB / 356.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004278, allocations: 159.4 kB / 356.4 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00428, allocations: 0 / 356.4 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004281, allocations: 0 / 356.4 MB, free: 376 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004285, allocations: 0 / 356.4 MB, free: 376 kB / 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.0006455/0.00493, allocations: 433.1 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.004966, allocations: 12.03 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.005077, allocations: 32.8 kB / 356.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.005394, allocations: 186.4 kB / 357.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005408, allocations: 4.375 kB / 357.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.005448, allocations: 16.38 kB / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.005729, allocations: 137.5 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.00574, allocations: 4.188 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.005753, allocations: 384 / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.005762, allocations: 7.938 kB / 357.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.005963, allocations: 75.95 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.006762, allocations: 448.2 kB / 357.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.007063, allocations: 102.5 kB / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.007174, allocations: 44.84 kB / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.007191, allocations: 4 kB / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.007218, allocations: 30.56 kB / 357.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.007219, allocations: 0 / 357.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008843/0.008104, allocations: 377.6 kB / 358.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.008152, allocations: 59.34 kB / 358.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.008398, allocations: 203.1 kB / 358.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.008421, allocations: 25.7 kB / 358.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.008548, allocations: 144.3 kB / 358.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.008595, allocations: 43.58 kB / 358.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.008654, allocations: 29.67 kB / 358.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.008845, allocations: 330.8 kB / 359.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.008942, allocations: 35.98 kB / 359.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.009043, allocations: 50.56 kB / 359.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.009248, allocations: 104.5 kB / 359.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.009249, allocations: 0 / 359.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002985/0.009547, allocations: 141.5 kB / 359.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.009561, allocations: 4 kB / 359.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.009566, allocations: 4 kB / 359.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.009583, allocations: 0 / 359.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.00975, allocations: 35.98 kB / 359.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.009762, allocations: 7.875 kB / 359.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.009871, allocations: 11.98 kB / 359.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.009882, allocations: 4 kB / 359.5 MB, free: 13.05 MB / 298.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 0.0001184/0.01, allocations: 125.9 kB / 359.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.01005, allocations: 19.91 kB / 359.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.01011, allocations: 25.45 kB / 359.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01011, allocations: 0 / 359.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.01011, allocations: 3.938 kB / 359.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01012, allocations: 0 / 359.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.01071, allocations: 378 kB / 360.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01071, allocations: 0 / 360.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.01088, allocations: 27.98 kB / 360.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01088, allocations: 4 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.0109, allocations: 7.938 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0109, allocations: 0 / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0109, allocations: 0 / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.01132, allocations: 267.3 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.01139, allocations: 23.88 kB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.01142, allocations: 4 kB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.01155, allocations: 4 kB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01159, allocations: 7.984 kB / 360.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.0116, allocations: 4 kB / 360.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.01176, allocations: 152.6 kB / 360.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01176, allocations: 0 / 360.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01203, allocations: 32 kB / 360.6 MB, free: 11.93 MB / 298.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 0.0001089/0.01214, allocations: 95.23 kB / 360.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01238, allocations: 83.41 kB / 360.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01238, allocations: 0 / 360.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.01248, allocations: 39.92 kB / 360.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.01286, allocations: 40.05 kB / 360.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.01377, allocations: 455.8 kB / 361.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.01391, allocations: 124.8 kB / 361.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.01398, allocations: 17.47 kB / 361.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.01403, allocations: 20.5 kB / 361.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01403, allocations: 0 / 361.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.004961/0.01899, allocations: 1.578 MB / 363 MB, free: 9.461 MB / 298.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.400842388044111]