Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.0007501/0.0007501, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8505/0.8505, allocations: 177.2 MB / 200.2 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.001011/0.001011, allocations: 159.3 kB / 256.7 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2601/0.2601, allocations: 80.25 MB / 393.4 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.367e-05, allocations: 2.281 kB / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006257/0.00628, allocations: 5.869 MB / 0.5617 GB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.009263, allocations: 2.005 MB / 0.5637 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.009634, allocations: 8 kB / 0.5637 GB, free: 3.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.01026, allocations: 245.8 kB / 0.5639 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01188, allocations: 0.8314 MB / 0.5648 GB, free: 2.828 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01297, allocations: 0.6873 MB / 0.5654 GB, free: 2.148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01424, allocations: 1.635 MB / 0.567 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.01461, allocations: 237.1 kB / 0.5672 GB, free: 264 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2193/0.2339, allocations: 0.9199 MB / 0.5681 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.2347, allocations: 0.6468 MB / 0.5688 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.2348, allocations: 125.2 kB / 0.5689 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.2353, allocations: 275 kB / 0.5692 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.2355, allocations: 331.2 kB / 0.5695 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.2359, allocations: 466.9 kB / 0.5699 GB, free: 16.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2375, allocations: 1.771 MB / 0.5717 GB, free: 15.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2375, allocations: 0 / 0.5717 GB, free: 15.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2375, allocations: 3.906 kB / 0.5717 GB, free: 15.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.2375, allocations: 1.062 kB / 0.5717 GB, free: 15.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004848/0.2424, allocations: 2.876 MB / 0.5745 GB, free: 15.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2424, allocations: 10.34 kB / 0.5745 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.245, allocations: 0.8018 MB / 0.5753 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.246, allocations: 0.831 MB / 0.5761 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.2462, allocations: 280.1 kB / 0.5763 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2463, allocations: 90 kB / 0.5764 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.2479, allocations: 1.199 MB / 0.5776 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2479, allocations: 0 / 0.5776 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.248, allocations: 35.89 kB / 0.5776 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.248, allocations: 19.81 kB / 0.5776 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.2496, allocations: 1.096 MB / 0.5787 GB, free: 13.59 MB / 442.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.003993/0.2535, allocations: 2.79 MB / 0.5814 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2552, allocations: 1.034 MB / 0.5825 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/0.2561, allocations: 0.7293 MB / 0.5832 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.2562, allocations: 19.14 kB / 0.5832 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.2574, allocations: 0.9133 MB / 0.5841 GB, free: 11.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 2.345e-06/0.2574, allocations: 1.281 kB / 0.5841 GB, free: 11.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.01635/0.2737, allocations: 6.821 MB / 0.5907 GB, free: 9.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.2738, allocations: 118.7 kB / 0.5908 GB, free: 9.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.2749, allocations: 1.028 MB / 0.5919 GB, free: 8.449 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.275, allocations: 42.36 kB / 0.5919 GB, free: 8.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.2752, allocations: 0.5141 MB / 0.5924 GB, free: 7.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2754, allocations: 388.5 kB / 0.5928 GB, free: 7.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.2758, allocations: 240.5 kB / 0.593 GB, free: 7.477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.2758, allocations: 357.9 kB / 0.5933 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.2769, allocations: 0.8133 MB / 0.5941 GB, free: 6.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.278, allocations: 0.9557 MB / 0.5951 GB, free: 6.105 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.2888, allocations: 5.514 MB / 0.6004 GB, free: 3.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2888, allocations: 2.188 kB / 0.6005 GB, free: 3.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.007184/0.296, allocations: 4.514 MB / 0.6049 GB, free: 160 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.296, allocations: 59.41 kB / 0.6049 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.296, allocations: 4 kB / 0.6049 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003596/0.2996, allocations: 1.836 MB / 0.6067 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.3003, allocations: 250.3 kB / 0.607 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.3134, allocations: 9.133 MB / 0.6159 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3146, allocations: 195.1 kB / 0.6161 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.3147, allocations: 51.92 kB / 0.6161 GB, free: 4.562 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006073/0.3153, allocations: 283.1 kB / 0.6164 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3155, allocations: 134.7 kB / 0.6165 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/0.3228, allocations: 4.178 MB / 0.6206 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3228, allocations: 8 kB / 0.6206 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3228, allocations: 7.938 kB / 0.6206 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3228, allocations: 3.984 kB / 0.6206 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008639/0.3314, allocations: 5.268 MB / 0.6257 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3315, allocations: 0 / 0.6257 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3318, allocations: 102.8 kB / 0.6258 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003277/0.3351, allocations: 1.817 MB / 0.6276 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.3352, allocations: 23.98 kB / 0.6276 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.3479, allocations: 9.852 MB / 0.6373 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3479, allocations: 4.234 kB / 0.6373 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008759/0.3566, allocations: 5.149 MB / 0.6423 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.3571, allocations: 154.8 kB / 0.6424 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3572, allocations: 23.98 kB / 0.6425 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.3578, allocations: 111.9 kB / 0.6426 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/0.3583, allocations: 224.5 kB / 0.6428 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.3583, allocations: 27.98 kB / 0.6428 GB, free: 9.023 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007231/0.359, allocations: 0.6951 MB / 0.6435 GB, free: 8.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.359, allocations: 0 / 0.6435 GB, free: 8.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001135/0.3602, allocations: 487.6 kB / 0.644 GB, free: 7.844 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002732/0.3605, allocations: 144 kB / 0.6441 GB, free: 7.703 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.3645, allocations: 2.626 MB / 0.6467 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3645, allocations: 0.5625 kB / 0.6467 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.3671, allocations: 1.751 MB / 0.6484 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.3677, allocations: 128.3 kB / 0.6485 GB, free: 3.141 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.3707, allocations: 2.306 MB / 0.6507 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3711, allocations: 0.5358 MB / 0.6513 GB, free: 236 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.3713, allocations: 84.48 kB / 0.6513 GB, free: 152 kB / 490.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3713, allocations: 0 / 0.6513 GB, free: 152 kB / 490.7 MB Notification: Performance of Templates: time 0.02132/0.3926, allocations: 24.94 MB / 0.6757 GB, free: 7.223 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850173395127058] Failed to read output from testmodel.py, exit status != 0: 0.39945995062589645 0.40784261200000005 0.168594292 Calling exit ...