Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008599/0.0008599, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003427/0.003427, allocations: 159.9 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8634/0.8634, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09115/0.09115, allocations: 19.74 MB / 281.2 MB, free: 9.445 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 417.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.318e-05, allocations: 2.281 kB / 417.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002734/0.002757, allocations: 2.093 MB / 419.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.003635, allocations: 0.5931 MB / 420.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.003748, allocations: 7.281 kB / 420.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.003874, allocations: 23.19 kB / 420.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.0041, allocations: 81.81 kB / 420.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.004259, allocations: 47.52 kB / 420.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.004528, allocations: 257.4 kB / 420.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.004669, allocations: 44.42 kB / 420.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.004916, allocations: 150.9 kB / 421.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.005057, allocations: 78.02 kB / 421.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.005088, allocations: 15.53 kB / 421.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.005141, allocations: 17.94 kB / 421.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.005173, allocations: 44.05 kB / 421.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.005244, allocations: 67.47 kB / 421.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.005514, allocations: 194.4 kB / 421.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005517, allocations: 1.25 kB / 421.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005518, allocations: 0 / 421.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005523, allocations: 4 kB / 421.5 MB, free: 5.066 MB / 330.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.0006716/0.006194, allocations: 465.5 kB / 422 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.00623, allocations: 9.812 kB / 422 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.006322, allocations: 37.34 kB / 422 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.006597, allocations: 201.7 kB / 422.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.006614, allocations: 11 kB / 422.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.00665, allocations: 15.06 kB / 422.2 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.006916, allocations: 157.2 kB / 422.4 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.00693, allocations: 192 / 422.4 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.006946, allocations: 9.594 kB / 422.4 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006953, allocations: 7.406 kB / 422.4 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.007179, allocations: 97.42 kB / 422.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.00786, allocations: 498.7 kB / 423 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.008088, allocations: 121.9 kB / 423.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.008209, allocations: 71.03 kB / 423.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.008226, allocations: 0.9062 kB / 423.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.008241, allocations: 31.88 kB / 423.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.008242, allocations: 0 / 423.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007759/0.009018, allocations: 492.3 kB / 423.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.009038, allocations: 58.39 kB / 423.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.009185, allocations: 232.4 kB / 424 MB, free: 3.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.009194, allocations: 30.95 kB / 424 MB, free: 3.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.009242, allocations: 137.4 kB / 424.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.009269, allocations: 63.59 kB / 424.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.009312, allocations: 43.28 kB / 424.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.00935, allocations: 330.7 kB / 424.6 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.009422, allocations: 55.27 kB / 424.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.009501, allocations: 75.19 kB / 424.7 MB, free: 2.719 MB / 330.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.0006614/0.01016, allocations: 353.8 kB / 425 MB, free: 2.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01016, allocations: 0 / 425 MB, free: 2.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001976/0.01036, allocations: 189.5 kB / 425.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.01037, allocations: 6.062 kB / 425.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01038, allocations: 5.156 kB / 425.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01039, allocations: 1.969 kB / 425.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01052, allocations: 61.98 kB / 425.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01052, allocations: 1.922 kB / 425.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.01059, allocations: 14.58 kB / 425.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.01059, allocations: 4.781 kB / 425.3 MB, free: 2.484 MB / 330.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 6.024e-05/0.01065, allocations: 136 kB / 425.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01068, allocations: 26.27 kB / 425.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.01071, allocations: 30.45 kB / 425.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01071, allocations: 1.156 kB / 425.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01072, allocations: 6 kB / 425.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01072, allocations: 0.6562 kB / 425.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.0111, allocations: 441.5 kB / 425.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0111, allocations: 0 / 425.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.01124, allocations: 47.33 kB / 426 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01124, allocations: 8.938 kB / 426 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01125, allocations: 9.891 kB / 426 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01125, allocations: 0.9062 kB / 426 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01126, allocations: 1.781 kB / 426 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01153, allocations: 337.8 kB / 426.3 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.01158, allocations: 33.61 kB / 426.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.0116, allocations: 5.156 kB / 426.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.01166, allocations: 9.922 kB / 426.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.0117, allocations: 14.3 kB / 426.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01171, allocations: 7.984 kB / 426.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.618e-05/0.01179, allocations: 164.4 kB / 426.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 1.156 kB / 426.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.01196, allocations: 42.44 kB / 426.6 MB, free: 1.629 MB / 330.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.769e-05/0.01202, allocations: 95.55 kB / 426.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01222, allocations: 125 kB / 426.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01222, allocations: 1.094 kB / 426.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.0123, allocations: 73.66 kB / 426.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01253, allocations: 37.81 kB / 426.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.01314, allocations: 0.5123 MB / 427.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01321, allocations: 135.8 kB / 427.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.01327, allocations: 20.59 kB / 427.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01327, allocations: 0 / 427.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of Templates: time 0.003057/0.01632, allocations: 2.47 MB / 430.1 MB, free: 0.7539 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.256608637981117] Failed to read output from testmodel.py, exit status != 0: 0.02175545133650303 0.033120656000000005 0.025109816 Calling exit ...