Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001401/0.001401, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.001511/0.001511, allocations: 163.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.44/1.44, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.141/0.141, allocations: 19.74 MB / 280.4 MB, free: 12.9 MB / 270.1 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 4 kB / 417 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.391e-05, allocations: 2.281 kB / 417 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003508/0.003532, allocations: 2.192 MB / 419.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.00469, allocations: 0.6116 MB / 419.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004808, allocations: 7.938 kB / 419.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.004936, allocations: 35.59 kB / 419.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.005188, allocations: 91.2 kB / 420 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.005366, allocations: 59.91 kB / 420 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.00573, allocations: 302.5 kB / 420.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005888, allocations: 53.59 kB / 420.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.006182, allocations: 163.6 kB / 420.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.006361, allocations: 87.7 kB / 420.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.006401, allocations: 20 kB / 420.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.861e-05/0.00647, allocations: 20 kB / 420.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.006522, allocations: 47.77 kB / 420.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.006627, allocations: 83.75 kB / 420.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.006948, allocations: 235.2 kB / 421 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00695, allocations: 3.938 kB / 421 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006951, allocations: 0 / 421 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.006962, allocations: 0 / 421 MB, free: 12.51 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009677/0.007929, allocations: 0.4927 MB / 421.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.007963, allocations: 12.03 kB / 421.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.008074, allocations: 32.75 kB / 421.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.008433, allocations: 212.7 kB / 421.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.008511, allocations: 63.97 kB / 421.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.008551, allocations: 20.38 kB / 421.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.008929, allocations: 183.6 kB / 422 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.008944, allocations: 4.125 kB / 422 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.008965, allocations: 7.938 kB / 422 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.008971, allocations: 4 kB / 422 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.009308, allocations: 131.6 kB / 422.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.01026, allocations: 0.5197 MB / 422.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.01065, allocations: 142.5 kB / 422.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.01083, allocations: 76.83 kB / 422.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.01085, allocations: 0 / 422.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.01088, allocations: 50.42 kB / 423 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.01088, allocations: 0 / 423 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001198/0.01208, allocations: 0.5075 MB / 423.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.01213, allocations: 59.34 kB / 423.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.01239, allocations: 237.9 kB / 423.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01241, allocations: 25.7 kB / 423.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01252, allocations: 148.6 kB / 423.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.01258, allocations: 75.38 kB / 424 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.01266, allocations: 41.7 kB / 424 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.01281, allocations: 334.8 kB / 424.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.01297, allocations: 55.97 kB / 424.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01314, allocations: 77.67 kB / 424.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.01346, allocations: 144.7 kB / 424.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01346, allocations: 0 / 424.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004335/0.01389, allocations: 220.1 kB / 424.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01391, allocations: 5.875 kB / 424.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01391, allocations: 0 / 424.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01393, allocations: 4 kB / 424.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.0144, allocations: 79.92 kB / 424.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0144, allocations: 0 / 424.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.01455, allocations: 8 kB / 424.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01456, allocations: 8 kB / 425 MB, free: 8.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001303/0.01469, allocations: 133.8 kB / 425.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.01475, allocations: 23.8 kB / 425.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.01481, allocations: 34.06 kB / 425.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.01481, allocations: 3.984 kB / 425.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01482, allocations: 4 kB / 425.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01482, allocations: 4 kB / 425.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.0156, allocations: 465.9 kB / 425.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0156, allocations: 0 / 425.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.01603, allocations: 63.91 kB / 425.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01604, allocations: 4 kB / 425.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01605, allocations: 4 kB / 425.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01605, allocations: 4 kB / 425.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01605, allocations: 0 / 425.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.01668, allocations: 359.1 kB / 426 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.01676, allocations: 35.83 kB / 426.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01679, allocations: 0 / 426.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.01696, allocations: 11.98 kB / 426.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.01702, allocations: 11.97 kB / 426.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01703, allocations: 8 kB / 426.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.0172, allocations: 173.2 kB / 426.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0172, allocations: 3.938 kB / 426.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.0175, allocations: 48 kB / 426.3 MB, free: 6.926 MB / 350.1 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: 1 (BreakerCommand.y) * 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.0001074/0.01761, allocations: 99.19 kB / 426.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.01799, allocations: 135 kB / 426.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01799, allocations: 0 / 426.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01816, allocations: 79.91 kB / 426.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.01856, allocations: 48.02 kB / 426.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.01966, allocations: 0.5415 MB / 427.2 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.01983, allocations: 146.1 kB / 427.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.543e-05/0.01991, allocations: 13.95 kB / 427.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.02, allocations: 28.44 kB / 427.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.02, allocations: 0 / 427.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006108/0.02611, allocations: 2.042 MB / 429.4 MB, free: 3.773 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.29943872988224] Failed to read output from testmodel.py, exit status != 0: 0.03469692915678024 0.049696543 0.039596649000000005 Calling exit ...