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.00135/0.00135, allocations: 82.5 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001418/0.001418, allocations: 167.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.288/1.288, allocations: 158.6 MB / 185.7 MB, free: 6.41 MB / 174.1 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.2648/0.2648, allocations: 36.35 MB / 274.3 MB, free: 0.6172 MB / 254.1 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.222e-06/1.222e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.475e-05, allocations: 6.219 kB / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003208/0.003233, allocations: 2.072 MB / 416.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004326, allocations: 0.6045 MB / 417.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004427, allocations: 7.938 kB / 417.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.004549, allocations: 27.66 kB / 417.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.00478, allocations: 83.34 kB / 417.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.004939, allocations: 55.86 kB / 417.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.005257, allocations: 254.7 kB / 417.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.005388, allocations: 32.56 kB / 418 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.005611, allocations: 139.6 kB / 418.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.005763, allocations: 79.72 kB / 418.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.005802, allocations: 20 kB / 418.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.005867, allocations: 16 kB / 418.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.005917, allocations: 43.77 kB / 418.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.006015, allocations: 71.83 kB / 418.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.006293, allocations: 195.2 kB / 418.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006295, allocations: 4 kB / 418.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006296, allocations: 0 / 418.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.0063, allocations: 0 / 418.5 MB, free: 7.91 MB / 350.1 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.0008594/0.00716, allocations: 476.9 kB / 419 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.007189, allocations: 8.031 kB / 419 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.007287, allocations: 32.75 kB / 419 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.007626, allocations: 188.9 kB / 419.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.00764, allocations: 12.38 kB / 419.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.007682, allocations: 24.28 kB / 419.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.007994, allocations: 147.9 kB / 419.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.008009, allocations: 12.17 kB / 419.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.008026, allocations: 8.312 kB / 419.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.008035, allocations: 7.938 kB / 419.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.008292, allocations: 91.94 kB / 419.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.009134, allocations: 0.4923 MB / 420 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.009404, allocations: 122.5 kB / 420.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.00955, allocations: 72.77 kB / 420.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.009564, allocations: 4 kB / 420.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.009594, allocations: 30.56 kB / 420.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.009596, allocations: 0 / 420.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001102/0.0107, allocations: 492.4 kB / 420.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.01074, allocations: 59.33 kB / 420.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.01099, allocations: 229.8 kB / 421 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.01102, allocations: 29.7 kB / 421 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01113, allocations: 140.4 kB / 421.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.01118, allocations: 63.44 kB / 421.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.01126, allocations: 45.7 kB / 421.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.01143, allocations: 330.8 kB / 421.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01156, allocations: 47.97 kB / 421.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01171, allocations: 86.2 kB / 421.7 MB, free: 4.5 MB / 350.1 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.001182/0.01289, allocations: 350.2 kB / 422.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01289, allocations: 0 / 422.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003768/0.01327, allocations: 185.4 kB / 422.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01329, allocations: 4 kB / 422.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01329, allocations: 4 kB / 422.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01331, allocations: 0 / 422.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.01358, allocations: 67.83 kB / 422.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01359, allocations: 8.031 kB / 422.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01372, allocations: 11.95 kB / 422.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01373, allocations: 4 kB / 422.3 MB, free: 3.863 MB / 350.1 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.0001344/0.01387, allocations: 133.8 kB / 422.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01391, allocations: 19.95 kB / 422.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.01397, allocations: 30.11 kB / 422.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01398, allocations: 4 kB / 422.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01398, allocations: 7.875 kB / 422.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01399, allocations: 3.984 kB / 422.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.0147, allocations: 449.9 kB / 423 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01471, allocations: 0 / 423 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.01498, allocations: 47.97 kB / 423 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01499, allocations: 3.938 kB / 423 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.015, allocations: 4 kB / 423 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.015, allocations: 0 / 423 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01501, allocations: 7.984 kB / 423 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.01557, allocations: 337.8 kB / 423.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.01564, allocations: 35.78 kB / 423.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.01568, allocations: 8 kB / 423.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.01582, allocations: 0 / 423.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.01587, allocations: 19.97 kB / 423.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01588, allocations: 0 / 423.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.01605, allocations: 169.2 kB / 423.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01605, allocations: 0 / 423.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00028/0.01633, allocations: 40 kB / 423.6 MB, free: 2.512 MB / 350.1 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 0.0001021/0.01643, allocations: 99.19 kB / 423.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.01678, allocations: 123.9 kB / 423.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01678, allocations: 0 / 423.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.01693, allocations: 67.91 kB / 423.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.01729, allocations: 41.44 kB / 423.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.01823, allocations: 498.6 kB / 424.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01835, allocations: 133.9 kB / 424.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.01842, allocations: 17.62 kB / 424.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.01849, allocations: 20.5 kB / 424.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01849, allocations: 0 / 424.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005521/0.02401, allocations: 2.046 MB / 426.6 MB, free: 15.43 MB / 366.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.325261138379574] Failed to read output from testmodel.py, exit status != 0: 0.032750487327575684 0.047026004 0.037762029 Calling exit ...