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.001082/0.001082, allocations: 78.66 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.001129/0.001129, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9174/0.9174, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1879/0.1879, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.433e-06/1.433e-06, allocations: 0 / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.174e-05, allocations: 5.688 kB / 354.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.001806/0.001828, allocations: 2.179 MB / 356.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.002466, allocations: 0.6086 MB / 357 MB, free: 360 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.002548, allocations: 7.938 kB / 357 MB, free: 352 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.032e-05/0.002638, allocations: 35.59 kB / 357.1 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.002775, allocations: 75.41 kB / 357.2 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.65e-05/0.002872, allocations: 47.92 kB / 357.2 MB, free: 192 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.003047, allocations: 258.6 kB / 357.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.003145, allocations: 48.41 kB / 357.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.003284, allocations: 135.7 kB / 357.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.003391, allocations: 75.72 kB / 357.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.003413, allocations: 12 kB / 357.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.003462, allocations: 24 kB / 357.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.003491, allocations: 43.77 kB / 357.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.003541, allocations: 71.77 kB / 357.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.003925, allocations: 147.4 kB / 358 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003927, allocations: 0 / 358 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.003927, allocations: 0 / 358 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.00393, allocations: 4 kB / 358 MB, free: 15.38 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.0004621/0.004393, allocations: 0.5617 MB / 358.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.004419, allocations: 8.031 kB / 358.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.004488, allocations: 44.72 kB / 358.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.004644, allocations: 203.6 kB / 358.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004654, allocations: 8.375 kB / 358.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.004676, allocations: 20.33 kB / 358.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.004811, allocations: 138.2 kB / 359 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004819, allocations: 192 / 359 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004829, allocations: 4.375 kB / 359 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004834, allocations: 11.94 kB / 359 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.004899, allocations: 51.89 kB / 359 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.005332, allocations: 0.534 MB / 359.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.005431, allocations: 86.98 kB / 359.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.00547, allocations: 43.69 kB / 359.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.005478, allocations: 4 kB / 359.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.005495, allocations: 37.39 kB / 359.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.52e-07/0.005496, allocations: 4 kB / 359.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004186/0.005914, allocations: 345.2 kB / 360.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.005935, allocations: 51.41 kB / 360.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.006083, allocations: 284.1 kB / 360.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006095, allocations: 29.7 kB / 360.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.006168, allocations: 183.2 kB / 360.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.006207, allocations: 71.41 kB / 360.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.006251, allocations: 43.36 kB / 360.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.006362, allocations: 0.5001 MB / 361.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.006386, allocations: 15.98 kB / 361.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.00643, allocations: 66.88 kB / 361.3 MB, free: 11.82 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.0002336/0.006663, allocations: 166.8 kB / 361.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006664, allocations: 0 / 361.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001248/0.006789, allocations: 141.4 kB / 361.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.0068, allocations: 8 kB / 361.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.006804, allocations: 0 / 361.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.006812, allocations: 3.938 kB / 361.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.006937, allocations: 59.94 kB / 361.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006943, allocations: 11.92 kB / 361.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.006996, allocations: 8 kB / 361.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007002, allocations: 4 kB / 361.7 MB, free: 11.41 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.224e-05/0.007074, allocations: 167.4 kB / 361.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.007103, allocations: 27.86 kB / 361.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.007135, allocations: 26.12 kB / 361.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007138, allocations: 7.938 kB / 361.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.007145, allocations: 0 / 361.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.007149, allocations: 11.92 kB / 361.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.007487, allocations: 405.8 kB / 362.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.00749, allocations: 3.984 kB / 362.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.007618, allocations: 51.92 kB / 362.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.007619, allocations: 0 / 362.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.007627, allocations: 8 kB / 362.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.00763, allocations: 7.922 kB / 362.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007631, allocations: 0 / 362.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.00782, allocations: 295.7 kB / 362.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.007861, allocations: 35.78 kB / 362.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.007877, allocations: 7.938 kB / 362.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.007938, allocations: 7.984 kB / 362.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.007963, allocations: 11.98 kB / 362.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007967, allocations: 0 / 362.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.393e-05/0.008041, allocations: 189.1 kB / 362.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008041, allocations: 0 / 362.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008212, allocations: 40 kB / 363 MB, free: 10.07 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 5.601e-05/0.008268, allocations: 95.25 kB / 363.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.008384, allocations: 91.55 kB / 363.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008385, allocations: 0 / 363.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.008428, allocations: 50.27 kB / 363.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.008637, allocations: 41.44 kB / 363.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.009402, allocations: 0.5015 MB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.009443, allocations: 79.97 kB / 363.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.009494, allocations: 21.64 kB / 363.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.009584, allocations: 102.1 kB / 364 MB, free: 9.031 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009585, allocations: 0 / 364 MB, free: 9.031 MB / 298.7 MB Notification: Performance of Templates: time 0.003564/0.01315, allocations: 2.219 MB / 366.2 MB, free: 6.828 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.8120759408921003]