Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.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.000927/0.000927, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0008871/0.0008871, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.1229/0.1229, allocations: 19.74 MB / 281.5 MB, free: 9.281 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.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.062e-05, allocations: 2.312 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3132/0.3132, allocations: 176.1 MB / 0.5216 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.3163, allocations: 2.193 MB / 0.5237 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.3167, allocations: 15.88 kB / 0.5237 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3175, allocations: 373.4 kB / 0.5241 GB, free: 12.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3187, allocations: 0.8901 MB / 0.525 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3205, allocations: 1.114 MB / 0.526 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.3223, allocations: 1.921 MB / 0.5279 GB, free: 8.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.323, allocations: 0.6193 MB / 0.5285 GB, free: 7.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3244, allocations: 1.091 MB / 0.5296 GB, free: 6.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/0.3251, allocations: 0.7677 MB / 0.5303 GB, free: 5.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.3252, allocations: 88 kB / 0.5304 GB, free: 5.664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3263, allocations: 0.6465 MB / 0.5311 GB, free: 5.016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.3268, allocations: 0.8221 MB / 0.5319 GB, free: 4.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.3273, allocations: 0.6037 MB / 0.5324 GB, free: 3.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.3294, allocations: 1.912 MB / 0.5343 GB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3294, allocations: 0 / 0.5343 GB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3294, allocations: 0 / 0.5343 GB, free: 1.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.3294, allocations: 0 / 0.5343 GB, free: 1.668 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002491/0.3319, allocations: 2.515 MB / 0.5368 GB, free: 15.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.332, allocations: 16.03 kB / 0.5368 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.3327, allocations: 426 kB / 0.5372 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3338, allocations: 1.081 MB / 0.5382 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.3339, allocations: 121.3 kB / 0.5384 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.334, allocations: 108 kB / 0.5385 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3351, allocations: 1.54 MB / 0.54 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3352, allocations: 0 / 0.54 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.3352, allocations: 40 kB / 0.54 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.3353, allocations: 41.98 kB / 0.54 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.3358, allocations: 399.5 kB / 0.5404 GB, free: 11.03 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.3402, allocations: 4.596 MB / 0.5449 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.3406, allocations: 240.6 kB / 0.5451 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3408, allocations: 95.33 kB / 0.5452 GB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3408, allocations: 4 kB / 0.5452 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3408, allocations: 53.38 kB / 0.5453 GB, free: 5.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.745e-06/0.3408, allocations: 0 / 0.5453 GB, free: 5.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.001665/0.3425, allocations: 1.432 MB / 0.5467 GB, free: 4.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3425, allocations: 85.23 kB / 0.5468 GB, free: 4.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.3445, allocations: 2.072 MB / 0.5488 GB, free: 2.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.3445, allocations: 37.7 kB / 0.5488 GB, free: 2.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.3451, allocations: 1.119 MB / 0.5499 GB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.3452, allocations: 142.8 kB / 0.5501 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3453, allocations: 131.9 kB / 0.5502 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3454, allocations: 0.5004 MB / 0.5507 GB, free: 228 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3456, allocations: 85.25 kB / 0.5508 GB, free: 144 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3459, allocations: 351.2 kB / 0.5511 GB, free: 15.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.3463, allocations: 483.2 kB / 0.5516 GB, free: 15.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3463, allocations: 4 kB / 0.5516 GB, free: 15.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000729/0.347, allocations: 0.6215 MB / 0.5522 GB, free: 14.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3471, allocations: 12.03 kB / 0.5522 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3471, allocations: 4 kB / 0.5522 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3471, allocations: 15.88 kB / 0.5522 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.3477, allocations: 227.7 kB / 0.5524 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005738/0.3483, allocations: 1.798 MB / 0.5542 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.3486, allocations: 43.97 kB / 0.5542 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.3487, allocations: 32 kB / 0.5542 GB, free: 12.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.349, allocations: 204.4 kB / 0.5544 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.3492, allocations: 206.7 kB / 0.5546 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.3498, allocations: 384.5 kB / 0.555 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3498, allocations: 4 kB / 0.555 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3498, allocations: 0 / 0.555 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3498, allocations: 0 / 0.555 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3515, allocations: 1.694 MB / 0.5567 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3515, allocations: 1.062 kB / 0.5567 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3519, allocations: 131.5 kB / 0.5568 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3519, allocations: 4 kB / 0.5568 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.352, allocations: 15.92 kB / 0.5568 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005009/0.3525, allocations: 1.794 MB / 0.5586 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3525, allocations: 3.938 kB / 0.5586 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.353, allocations: 0.6483 MB / 0.5592 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.3534, allocations: 278.7 kB / 0.5595 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.3535, allocations: 8 kB / 0.5595 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.3538, allocations: 39.91 kB / 0.5595 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3539, allocations: 23.95 kB / 0.5595 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.3539, allocations: 27.97 kB / 0.5595 GB, free: 6.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.355, allocations: 1.231 MB / 0.5608 GB, free: 5.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.355, allocations: 0 / 0.5608 GB, free: 5.438 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.3557, allocations: 323.8 kB / 0.5611 GB, free: 5.121 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.3569, allocations: 0.5469 MB / 0.5616 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.3576, allocations: 324.5 kB / 0.5619 GB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3576, allocations: 8.672 kB / 0.5619 GB, free: 4.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.3578, allocations: 131.5 kB / 0.562 GB, free: 4.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.3587, allocations: 320.1 kB / 0.5623 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.362, allocations: 2.968 MB / 0.5652 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3623, allocations: 407.1 kB / 0.5656 GB, free: 488 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.3627, allocations: 197.2 kB / 0.5658 GB, free: 288 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.3629, allocations: 84.5 kB / 0.5659 GB, free: 204 kB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3629, allocations: 0 / 0.5659 GB, free: 204 kB / 442.7 MB Notification: Performance of Templates: time 0.1715/0.5343, allocations: 20.05 MB / 0.5855 GB, free: 66.08 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8377326980698854]