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.001358/0.001358, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001482/0.001482, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.8161/0.8161, allocations: 158.6 MB / 186.8 MB, free: 2.93 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.1723/0.1723, allocations: 36.34 MB / 275.4 MB, free: 10.72 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 2.234e-06/2.234e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.897e-05, allocations: 2.312 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003106/0.003135, allocations: 2.184 MB / 356 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.004084, allocations: 0.6242 MB / 356.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004209, allocations: 3.938 kB / 356.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.00435, allocations: 23.73 kB / 356.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.004583, allocations: 83.27 kB / 356.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.004749, allocations: 51.92 kB / 356.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.005008, allocations: 254.8 kB / 357 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.005157, allocations: 40.42 kB / 357 MB, free: 496 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.005363, allocations: 147.5 kB / 357.2 MB, free: 348 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.005501, allocations: 75.72 kB / 357.2 MB, free: 272 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.005532, allocations: 16 kB / 357.3 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.005591, allocations: 20 kB / 357.3 MB, free: 236 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.005626, allocations: 39.83 kB / 357.3 MB, free: 196 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.005696, allocations: 71.77 kB / 357.4 MB, free: 124 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005952, allocations: 143.4 kB / 357.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.005955, allocations: 0 / 357.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005955, allocations: 4 kB / 357.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005961, allocations: 0 / 357.5 MB, free: 15.98 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.0007663/0.006727, allocations: 0.5579 MB / 358.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006766, allocations: 11.97 kB / 358.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.006891, allocations: 36.8 kB / 358.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.007168, allocations: 207.7 kB / 358.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.007187, allocations: 12.38 kB / 358.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.007225, allocations: 24.27 kB / 358.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.007486, allocations: 150.2 kB / 358.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.007499, allocations: 192 / 358.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.007515, allocations: 4.375 kB / 358.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.007527, allocations: 7.938 kB / 358.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.007674, allocations: 59.95 kB / 358.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.008484, allocations: 0.5685 MB / 359.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.008695, allocations: 95.09 kB / 359.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.008795, allocations: 51.55 kB / 359.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.008807, allocations: 0 / 359.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.008833, allocations: 41.39 kB / 359.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.008835, allocations: 0 / 359.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000855/0.00969, allocations: 397.3 kB / 359.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.009733, allocations: 59.34 kB / 359.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.009971, allocations: 272.3 kB / 360.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.009988, allocations: 37.7 kB / 360.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.01009, allocations: 183.2 kB / 360.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.01014, allocations: 63.44 kB / 360.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.0102, allocations: 47.31 kB / 360.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01036, allocations: 0.5001 MB / 360.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.01043, allocations: 27.97 kB / 360.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.01052, allocations: 66.84 kB / 361 MB, free: 12.28 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.0004955/0.01102, allocations: 178.9 kB / 361.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01102, allocations: 4 kB / 361.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002527/0.01127, allocations: 161.3 kB / 361.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.01129, allocations: 4 kB / 361.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01129, allocations: 0 / 361.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01131, allocations: 4 kB / 361.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.01153, allocations: 55.91 kB / 361.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01153, allocations: 0 / 361.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.01163, allocations: 11.98 kB / 361.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01164, allocations: 4.031 kB / 361.4 MB, free: 11.84 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 0.0001104/0.01175, allocations: 175.3 kB / 361.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.01181, allocations: 27.86 kB / 361.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.01186, allocations: 26.11 kB / 361.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01186, allocations: 0 / 361.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01187, allocations: 3.938 kB / 361.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01187, allocations: 4 kB / 361.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.01246, allocations: 457.2 kB / 362.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01246, allocations: 3.984 kB / 362.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.01271, allocations: 43.98 kB / 362.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.01272, allocations: 11.88 kB / 362.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01274, allocations: 4 kB / 362.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01274, allocations: 7.922 kB / 362.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01274, allocations: 0 / 362.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.01311, allocations: 307.7 kB / 362.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.01318, allocations: 31.78 kB / 362.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01322, allocations: 4 kB / 362.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01336, allocations: 11.98 kB / 362.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.01341, allocations: 7.984 kB / 362.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01342, allocations: 8 kB / 362.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.01357, allocations: 197.1 kB / 362.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01357, allocations: 0 / 362.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.01387, allocations: 40 kB / 362.7 MB, free: 10.43 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 9.028e-05/0.01396, allocations: 95.19 kB / 362.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.01421, allocations: 95.56 kB / 362.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01421, allocations: 4 kB / 362.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.0143, allocations: 50.27 kB / 363 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01469, allocations: 59.92 kB / 363 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.01603, allocations: 0.5016 MB / 363.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.45e-05/0.01609, allocations: 79.97 kB / 363.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.393e-05/0.01617, allocations: 21.64 kB / 363.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.01624, allocations: 16.5 kB / 363.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of SimCode: time 1.041e-06/0.01624, allocations: 8 kB / 363.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of Templates: time 0.005294/0.02154, allocations: 2.072 MB / 365.7 MB, free: 7.391 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.7987197239417583]