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.001371/0.001371, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001732/0.001732, allocations: 169.8 kB / 24.82 MB, free: 8.883 MB / 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 0.9599/0.9599, allocations: 158.6 MB / 186.7 MB, free: 2.82 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.1914/0.1914, allocations: 36.34 MB / 275.4 MB, free: 14.36 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.372e-06/1.372e-06, allocations: 0 / 354.2 MB, free: 62.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.533e-05, allocations: 2.312 kB / 354.2 MB, free: 62.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002544/0.00257, allocations: 2.07 MB / 356.3 MB, free: 61.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.00346, allocations: 0.5832 MB / 356.9 MB, free: 61.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003566, allocations: 6.719 kB / 356.9 MB, free: 61.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.003687, allocations: 23.31 kB / 356.9 MB, free: 61.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.00387, allocations: 71.75 kB / 357 MB, free: 61.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.004016, allocations: 47.2 kB / 357 MB, free: 61.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.004239, allocations: 220.3 kB / 357.3 MB, free: 61.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004355, allocations: 22.27 kB / 357.3 MB, free: 61.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.004527, allocations: 123 kB / 357.4 MB, free: 60.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.004655, allocations: 66.16 kB / 357.5 MB, free: 60.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.004683, allocations: 12.66 kB / 357.5 MB, free: 60.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.004747, allocations: 18.62 kB / 357.5 MB, free: 60.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.004783, allocations: 35.53 kB / 357.5 MB, free: 60.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.004837, allocations: 52.38 kB / 357.6 MB, free: 60.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.00505, allocations: 121.3 kB / 357.7 MB, free: 60.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005053, allocations: 4 kB / 357.7 MB, free: 60.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005055, allocations: 0 / 357.7 MB, free: 60.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00506, allocations: 0 / 357.7 MB, free: 60.84 MB / 330.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.000535/0.005595, allocations: 0.5214 MB / 358.2 MB, free: 60.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.005642, allocations: 10.95 kB / 358.2 MB, free: 60.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.005741, allocations: 32.8 kB / 358.3 MB, free: 60.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005907, allocations: 186.1 kB / 358.5 MB, free: 60.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005919, allocations: 9.406 kB / 358.5 MB, free: 60.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.005947, allocations: 21.69 kB / 358.5 MB, free: 60.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.006099, allocations: 120 kB / 358.6 MB, free: 60.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006108, allocations: 1.594 kB / 358.6 MB, free: 60.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.006118, allocations: 4.375 kB / 358.6 MB, free: 60.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.006124, allocations: 7.906 kB / 358.6 MB, free: 60.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.006198, allocations: 41.2 kB / 358.7 MB, free: 60.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.006633, allocations: 0.5004 MB / 359.2 MB, free: 59.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.006794, allocations: 81.59 kB / 359.2 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.006829, allocations: 29.69 kB / 359.3 MB, free: 59.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.006838, allocations: 2.219 kB / 359.3 MB, free: 59.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.006854, allocations: 43.09 kB / 359.3 MB, free: 59.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.006855, allocations: 1.562 kB / 359.3 MB, free: 59.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004236/0.007279, allocations: 279.5 kB / 359.6 MB, free: 59.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.007298, allocations: 53.81 kB / 359.6 MB, free: 59.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.007429, allocations: 250.7 kB / 359.9 MB, free: 59.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.007436, allocations: 31.3 kB / 359.9 MB, free: 59.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.007498, allocations: 189.2 kB / 360.1 MB, free: 58.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.007526, allocations: 45.77 kB / 360.1 MB, free: 58.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.007564, allocations: 39.05 kB / 360.2 MB, free: 58.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.007628, allocations: 0.498 MB / 360.7 MB, free: 58.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.007651, allocations: 12.67 kB / 360.7 MB, free: 58.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.00769, allocations: 42.39 kB / 360.7 MB, free: 58.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.007753, allocations: 69.92 kB / 360.8 MB, free: 58.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007755, allocations: 1.812 kB / 360.8 MB, free: 58.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001195/0.007874, allocations: 109.4 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007888, allocations: 5.906 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.007894, allocations: 1.75 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007906, allocations: 1.156 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.008008, allocations: 32.38 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008013, allocations: 5.156 kB / 360.9 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.008064, allocations: 11.47 kB / 361 MB, free: 58.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.00807, allocations: 4.703 kB / 361 MB, free: 58.12 MB / 330.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 5.08e-05/0.008121, allocations: 164.2 kB / 361.1 MB, free: 57.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.008147, allocations: 22.61 kB / 361.1 MB, free: 57.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.008182, allocations: 24.06 kB / 361.2 MB, free: 57.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.008185, allocations: 1.891 kB / 361.2 MB, free: 57.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.008186, allocations: 0 / 361.2 MB, free: 57.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.008191, allocations: 5.625 kB / 361.2 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.008469, allocations: 361.1 kB / 361.5 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.00847, allocations: 0 / 361.5 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.008561, allocations: 26.17 kB / 361.6 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008563, allocations: 1.094 kB / 361.6 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.008572, allocations: 5.609 kB / 361.6 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008573, allocations: 1.094 kB / 361.6 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.008576, allocations: 4.594 kB / 361.6 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.008742, allocations: 272.3 kB / 361.8 MB, free: 57.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.008779, allocations: 21.88 kB / 361.9 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008796, allocations: 2.016 kB / 361.9 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.008851, allocations: 15.02 kB / 361.9 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.008886, allocations: 10.22 kB / 361.9 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.00889, allocations: 1.125 kB / 361.9 MB, free: 57.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.008972, allocations: 173.6 kB / 362.1 MB, free: 57.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008972, allocations: 4 kB / 362.1 MB, free: 57.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.009148, allocations: 31.31 kB / 362.1 MB, free: 57.23 MB / 330.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 6.808e-05/0.009216, allocations: 90.69 kB / 362.2 MB, free: 57.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.009337, allocations: 64.36 kB / 362.2 MB, free: 57.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009339, allocations: 0 / 362.2 MB, free: 57.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.009377, allocations: 35.14 kB / 362.3 MB, free: 57.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.009638, allocations: 34.11 kB / 362.3 MB, free: 57.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008702/0.01051, allocations: 458.5 kB / 362.8 MB, free: 56.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.01056, allocations: 80.38 kB / 362.8 MB, free: 56.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.01063, allocations: 12.95 kB / 362.8 MB, free: 56.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.01072, allocations: 93.98 kB / 362.9 MB, free: 56.65 MB / 330.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01072, allocations: 0 / 362.9 MB, free: 56.65 MB / 330.7 MB Notification: Performance of Templates: time 0.004364/0.01508, allocations: 1.717 MB / 364.7 MB, free: 56.41 MB / 330.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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9731546067632735]