Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001323/0.001323, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001522/0.001522, allocations: 165 kB / 24.56 MB, free: 12 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 0.8462/0.8462, allocations: 158.6 MB / 186.4 MB, free: 2.91 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.1757/0.1757, allocations: 36.35 MB / 275.1 MB, free: 10.65 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.209e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.001891/0.001913, allocations: 2.192 MB / 356 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.002583, allocations: 0.6164 MB / 356.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.002674, allocations: 7.938 kB / 356.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.002789, allocations: 31.66 kB / 356.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.002956, allocations: 75.34 kB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.003073, allocations: 47.92 kB / 356.8 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.003237, allocations: 262.7 kB / 357 MB, free: 192 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003351, allocations: 36.42 kB / 357.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.003476, allocations: 147.6 kB / 357.2 MB, free: 8 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.003614, allocations: 79.72 kB / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.00364, allocations: 16 kB / 357.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.003692, allocations: 16 kB / 357.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.003724, allocations: 43.83 kB / 357.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.003777, allocations: 67.77 kB / 357.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.003965, allocations: 151.3 kB / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003967, allocations: 0 / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003968, allocations: 0 / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003972, allocations: 0 / 357.6 MB, free: 15.64 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005525/0.004525, allocations: 0.5579 MB / 358.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004565, allocations: 8.031 kB / 358.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.004663, allocations: 40.78 kB / 358.2 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.004867, allocations: 203.6 kB / 358.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004878, allocations: 12.38 kB / 358.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.004907, allocations: 24.33 kB / 358.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.005098, allocations: 146.2 kB / 358.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.00511, allocations: 4.188 kB / 358.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.005123, allocations: 4.375 kB / 358.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.005132, allocations: 7.938 kB / 358.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.005231, allocations: 55.89 kB / 358.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.005792, allocations: 0.5724 MB / 359.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.005934, allocations: 99.03 kB / 359.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.005991, allocations: 43.67 kB / 359.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006002, allocations: 4 kB / 359.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.006023, allocations: 33.39 kB / 359.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.006024, allocations: 0 / 359.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005952/0.006619, allocations: 416.8 kB / 359.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.006646, allocations: 55.34 kB / 359.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.006813, allocations: 276.3 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006826, allocations: 29.7 kB / 360.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.006903, allocations: 187.2 kB / 360.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.006937, allocations: 67.44 kB / 360.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.006984, allocations: 47.31 kB / 360.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.007106, allocations: 0.5001 MB / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.00715, allocations: 27.98 kB / 360.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.007207, allocations: 62.89 kB / 361 MB, free: 11.94 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.007555, allocations: 182.9 kB / 361.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007556, allocations: 0 / 361.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001641/0.00772, allocations: 149.4 kB / 361.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.007735, allocations: 10.97 kB / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.007739, allocations: 0 / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007752, allocations: 0 / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.007893, allocations: 63.84 kB / 361.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.007901, allocations: 7.984 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.007958, allocations: 4 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.007967, allocations: 8 kB / 361.4 MB, free: 11.51 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 7.971e-05/0.008047, allocations: 168.5 kB / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.008078, allocations: 27.86 kB / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.008113, allocations: 26.11 kB / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.008115, allocations: 4 kB / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008119, allocations: 3.938 kB / 361.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008122, allocations: 0 / 361.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.008506, allocations: 453.2 kB / 362.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008509, allocations: 4 kB / 362.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.008651, allocations: 55.91 kB / 362.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.008655, allocations: 3.938 kB / 362.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.008665, allocations: 4 kB / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008667, allocations: 4 kB / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008668, allocations: 0 / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.00891, allocations: 311.6 kB / 362.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.008955, allocations: 35.77 kB / 362.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.008976, allocations: 11.94 kB / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.009038, allocations: 0 / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.009078, allocations: 19.97 kB / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.009083, allocations: 0 / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.413e-05/0.009177, allocations: 193.1 kB / 362.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009177, allocations: 4 kB / 362.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.009351, allocations: 40 kB / 362.8 MB, free: 10.09 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 (18): * Single equations (assignments): 18 * 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.76e-05/0.009429, allocations: 99.23 kB / 362.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.009592, allocations: 91.58 kB / 363 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009594, allocations: 0 / 363 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.00965, allocations: 53.95 kB / 363 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.009906, allocations: 49.36 kB / 363.1 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.01084, allocations: 0.5094 MB / 363.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.01088, allocations: 83.97 kB / 363.6 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.01094, allocations: 17.62 kB / 363.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.01099, allocations: 20.5 kB / 363.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01099, allocations: 0 / 363.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of Templates: time 0.003897/0.01488, allocations: 2.158 MB / 365.8 MB, free: 6.969 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7052025087177753]