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.001094/0.001094, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9531/0.9531, allocations: 177.2 MB / 200 MB, free: 5.531 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.001346/0.001346, allocations: 171.8 kB / 256.6 MB, free: 12.99 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.2823/0.2823, allocations: 80.24 MB / 393.4 MB, free: 2.152 MB / 314.7 MB " [Timeout remaining time 179] 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.252e-06/1.252e-06, allocations: 0 / 489.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.599e-05, allocations: 3.938 kB / 489.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005442/0.005468, allocations: 6.357 MB / 496.2 MB, free: 5.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.009118, allocations: 2.035 MB / 498.2 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006355/0.009754, allocations: 15.94 kB / 498.2 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.0104, allocations: 241.9 kB / 498.4 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.01214, allocations: 0.8502 MB / 499.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.01327, allocations: 0.6813 MB / 500 MB, free: 1.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.01491, allocations: 1.635 MB / 0.4898 GB, free: 15.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.01536, allocations: 225.2 kB / 0.4901 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.01667, allocations: 0.9401 MB / 0.491 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.01774, allocations: 0.6503 MB / 0.4916 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.01797, allocations: 125.8 kB / 0.4917 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.01848, allocations: 275.8 kB / 0.492 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.01869, allocations: 338.5 kB / 0.4923 GB, free: 13.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.01909, allocations: 462.5 kB / 0.4928 GB, free: 12.74 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.02055, allocations: 1.261 MB / 0.494 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.02056, allocations: 0 / 0.494 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.02056, allocations: 0.5312 kB / 0.494 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.633e-05/0.0206, allocations: 0 / 0.494 GB, free: 11.47 MB / 426.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.005088/0.02568, allocations: 2.989 MB / 0.4969 GB, free: 8.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.02573, allocations: 8.031 kB / 0.4969 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.0285, allocations: 0.9457 MB / 0.4978 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.0299, allocations: 0.8182 MB / 0.4986 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.03009, allocations: 277.8 kB / 0.4989 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.03021, allocations: 91.94 kB / 0.499 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.03134, allocations: 0.7968 MB / 0.4998 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.03135, allocations: 0 / 0.4998 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.03142, allocations: 36 kB / 0.4998 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.03144, allocations: 23.94 kB / 0.4998 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.03231, allocations: 0.5091 MB / 0.5003 GB, free: 4.844 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.003571/0.03588, allocations: 2.619 MB / 0.5029 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.0369, allocations: 0.6566 MB / 0.5035 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.0374, allocations: 387.8 kB / 0.5039 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-05/0.03748, allocations: 17 kB / 0.5039 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007036/0.03818, allocations: 0.5611 MB / 0.5045 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.286e-06/0.03819, allocations: 0 / 0.5045 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.01142/0.04961, allocations: 4.874 MB / 0.5092 GB, free: 11.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.04968, allocations: 119.8 kB / 0.5093 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009573/0.05063, allocations: 0.9434 MB / 0.5103 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.05075, allocations: 49.69 kB / 0.5103 GB, free: 10.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.05108, allocations: 0.5627 MB / 0.5109 GB, free: 9.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.05138, allocations: 388.7 kB / 0.5112 GB, free: 9.477 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.05171, allocations: 249.2 kB / 0.5115 GB, free: 9.227 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.05185, allocations: 0.5277 MB / 0.512 GB, free: 8.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.05272, allocations: 403.2 kB / 0.5124 GB, free: 8.285 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.05336, allocations: 0.5716 MB / 0.5129 GB, free: 7.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.05515, allocations: 1.454 MB / 0.5143 GB, free: 6.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.05516, allocations: 0 / 0.5143 GB, free: 6.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005922/0.06108, allocations: 3.147 MB / 0.5174 GB, free: 2.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.06113, allocations: 63.39 kB / 0.5175 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.06114, allocations: 11.98 kB / 0.5175 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/0.06671, allocations: 1.915 MB / 0.5194 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.06752, allocations: 243.6 kB / 0.5196 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/0.07578, allocations: 4.937 MB / 0.5244 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.07672, allocations: 159.2 kB / 0.5246 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.0768, allocations: 43.98 kB / 0.5246 GB, free: 11.44 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.0003965/0.0772, allocations: 261.2 kB / 0.5249 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.07744, allocations: 167.1 kB / 0.525 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.08343, allocations: 2.806 MB / 0.5278 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.08345, allocations: 12 kB / 0.5278 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.08345, allocations: 0 / 0.5278 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.08347, allocations: 3.984 kB / 0.5278 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/0.09084, allocations: 3.928 MB / 0.5316 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.09085, allocations: 3.984 kB / 0.5316 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.09131, allocations: 99.89 kB / 0.5317 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/0.0967, allocations: 1.911 MB / 0.5336 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.09682, allocations: 23.98 kB / 0.5336 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007791/0.1046, allocations: 6.658 MB / 0.5401 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1046, allocations: 7.984 kB / 0.5401 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006329/0.1109, allocations: 3.276 MB / 0.5433 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.1112, allocations: 150.9 kB / 0.5434 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.1114, allocations: 23.98 kB / 0.5435 GB, free: 7.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.1119, allocations: 79.92 kB / 0.5435 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004532/0.1123, allocations: 212.5 kB / 0.5437 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.1124, allocations: 28 kB / 0.5438 GB, free: 7.371 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005144/0.1129, allocations: 0.6051 MB / 0.5444 GB, free: 6.758 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1129, allocations: 3.938 kB / 0.5444 GB, free: 6.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009829/0.1139, allocations: 483.6 kB / 0.5448 GB, free: 6.281 MB / 474.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.0002628/0.1142, allocations: 139.2 kB / 0.545 GB, free: 6.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.1172, allocations: 1.909 MB / 0.5468 GB, free: 4.172 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1172, allocations: 0 / 0.5468 GB, free: 4.172 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.1195, allocations: 1.491 MB / 0.5483 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.1201, allocations: 134.8 kB / 0.5484 GB, free: 2.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.1231, allocations: 2.142 MB / 0.5505 GB, free: 308 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1233, allocations: 253.5 kB / 0.5507 GB, free: 28 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.1236, allocations: 99.8 kB / 0.5508 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1238, allocations: 72.48 kB / 0.5509 GB, free: 15.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1238, allocations: 0 / 0.5509 GB, free: 15.86 MB / 490.7 MB Notification: Performance of Templates: time 0.03256/0.1564, allocations: 29.82 MB / 0.58 GB, free: 2.078 MB / 0.4948 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.003046344965696]