Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001926/0.001926, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001602/0.001602, allocations: 169.3 kB / 24.27 MB, free: 144 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 1.333/1.333, allocations: 158.6 MB / 186.1 MB, free: 2.891 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.3161/0.3161, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.211e-05, allocations: 5.688 kB / 353 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002316/0.002338, allocations: 2.157 MB / 355.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.003194, allocations: 0.628 MB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003299, allocations: 4 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003418, allocations: 27.66 kB / 355.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.003623, allocations: 99.14 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.003759, allocations: 55.86 kB / 356 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.003976, allocations: 282.6 kB / 356.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.004097, allocations: 44.89 kB / 356.3 MB, free: 476 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.004263, allocations: 159.5 kB / 356.5 MB, free: 316 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004382, allocations: 83.66 kB / 356.6 MB, free: 232 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.004413, allocations: 16 kB / 356.6 MB, free: 216 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.00447, allocations: 28 kB / 356.6 MB, free: 188 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.004499, allocations: 47.77 kB / 356.7 MB, free: 140 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.004564, allocations: 79.75 kB / 356.7 MB, free: 60 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.004904, allocations: 219.4 kB / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004906, allocations: 3.938 kB / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004907, allocations: 0 / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004912, allocations: 0 / 357 MB, free: 15.84 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009572/0.005869, allocations: 0.4891 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.005912, allocations: 12.02 kB / 357.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.006038, allocations: 40.8 kB / 357.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.006409, allocations: 208.7 kB / 357.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.006434, allocations: 16.38 kB / 357.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.006481, allocations: 20.36 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.006852, allocations: 171.6 kB / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.006865, allocations: 8.188 kB / 357.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.006884, allocations: 4.375 kB / 357.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.006896, allocations: 11.92 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.007196, allocations: 115.8 kB / 358 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.008183, allocations: 0.5193 MB / 358.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.008476, allocations: 138.4 kB / 358.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.008634, allocations: 64.83 kB / 358.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.008659, allocations: 7.984 kB / 358.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.008697, allocations: 38.55 kB / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.008699, allocations: 0 / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001198/0.009897, allocations: 495.8 kB / 359.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.009942, allocations: 55.41 kB / 359.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.01022, allocations: 233.9 kB / 359.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.01025, allocations: 33.7 kB / 359.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01038, allocations: 144.5 kB / 359.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.01045, allocations: 63.44 kB / 359.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.01053, allocations: 45.7 kB / 359.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.01073, allocations: 330.8 kB / 360.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.01088, allocations: 51.97 kB / 360.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01103, allocations: 74.5 kB / 360.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.01133, allocations: 139.1 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01133, allocations: 0 / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004292/0.01176, allocations: 209.5 kB / 360.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01177, allocations: 8 kB / 360.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.01178, allocations: 7.984 kB / 360.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.0118, allocations: 0 / 360.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.0122, allocations: 67.98 kB / 360.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.01355, allocations: 1.311 MB / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.0137, allocations: 11.98 kB / 362 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01372, allocations: 4 kB / 362.1 MB, free: 10.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.01386, allocations: 134 kB / 362.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.01393, allocations: 31.86 kB / 362.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.01435, allocations: 183.6 kB / 362.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01435, allocations: 4 kB / 362.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.01436, allocations: 0 / 362.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01436, allocations: 3.984 kB / 362.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/0.01514, allocations: 454 kB / 362.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01515, allocations: 0 / 362.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.01539, allocations: 47.98 kB / 362.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01539, allocations: 0 / 362.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.0154, allocations: 0 / 362.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.01541, allocations: 4 kB / 362.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.01541, allocations: 3.984 kB / 362.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.01601, allocations: 351.5 kB / 363.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.01609, allocations: 35.86 kB / 363.3 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.01612, allocations: 4 kB / 363.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.01628, allocations: 12 kB / 363.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01634, allocations: 19.84 kB / 363.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01635, allocations: 4 kB / 363.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.01655, allocations: 173.2 kB / 363.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01655, allocations: 0 / 363.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.01685, allocations: 44 kB / 363.5 MB, free: 8.879 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.0001259/0.01698, allocations: 103.3 kB / 363.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.01753, allocations: 176.2 kB / 363.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01754, allocations: 0 / 363.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.0177, allocations: 63.91 kB / 363.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.01809, allocations: 41.67 kB / 363.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.01981, allocations: 0.572 MB / 364.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.02005, allocations: 147.1 kB / 364.6 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.02021, allocations: 25.64 kB / 364.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.02032, allocations: 20.5 kB / 364.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02032, allocations: 0 / 364.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of Templates: time 0.007716/0.02803, allocations: 2.453 MB / 367.1 MB, free: 5.254 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.448954568011686]