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.001364/0.001364, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.374/1.374, allocations: 177.1 MB / 199.4 MB, free: 8.43 MB / 190.1 MB " [Timeout remaining time 178] 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.001685/0.001685, allocations: 156.6 kB / 256 MB, free: 4.324 MB / 238.1 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.5941/0.5941, allocations: 80.25 MB / 392.6 MB, free: 29.73 MB / 334.1 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.894e-06/1.894e-06, allocations: 0 / 0.5553 GB, free: 14.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.055e-05, allocations: 3.594 kB / 0.5553 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006305/0.006336, allocations: 5.878 MB / 0.561 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.01083, allocations: 1.995 MB / 0.563 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.01199, allocations: 15.16 kB / 0.563 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.01301, allocations: 246 kB / 0.5632 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.01601, allocations: 0.8361 MB / 0.564 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.01774, allocations: 0.6797 MB / 0.5647 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.01986, allocations: 1.639 MB / 0.5663 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.02034, allocations: 227 kB / 0.5665 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.0216, allocations: 0.9338 MB / 0.5674 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007782/0.02238, allocations: 0.6429 MB / 0.5681 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.0226, allocations: 128.3 kB / 0.5682 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.02325, allocations: 283.4 kB / 0.5684 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.02347, allocations: 334.7 kB / 0.5688 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.0239, allocations: 460.4 kB / 0.5692 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.02578, allocations: 1.771 MB / 0.5709 GB, free: 3.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.02578, allocations: 0 / 0.5709 GB, free: 3.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02579, allocations: 0 / 0.5709 GB, free: 3.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.884e-05/0.02582, allocations: 0 / 0.5709 GB, free: 3.57 MB / 430.1 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.009358/0.03518, allocations: 2.866 MB / 0.5737 GB, free: 1.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.03522, allocations: 9.688 kB / 0.5737 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/0.04064, allocations: 0.8078 MB / 0.5745 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.04235, allocations: 0.8376 MB / 0.5754 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.04259, allocations: 278.8 kB / 0.5756 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.04277, allocations: 87.36 kB / 0.5757 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.0452, allocations: 1.203 MB / 0.5769 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.04522, allocations: 0 / 0.5769 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.04534, allocations: 35 kB / 0.5769 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.04536, allocations: 23.41 kB / 0.5769 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.04789, allocations: 1.09 MB / 0.578 GB, free: 14.89 MB / 446.1 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.00685/0.05474, allocations: 2.795 MB / 0.5807 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.05727, allocations: 1.031 MB / 0.5817 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.05889, allocations: 0.7277 MB / 0.5824 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.05899, allocations: 17 kB / 0.5825 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.06096, allocations: 0.9209 MB / 0.5834 GB, free: 9.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=102): time 2.866e-06/0.06096, allocations: 0 / 0.5834 GB, free: 9.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.02899/0.08995, allocations: 6.812 MB / 0.59 GB, free: 2.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.09004, allocations: 119.8 kB / 0.5901 GB, free: 2.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.09173, allocations: 1.022 MB / 0.5911 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.09195, allocations: 45.7 kB / 0.5912 GB, free: 1.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.09239, allocations: 0.5131 MB / 0.5917 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.09283, allocations: 384.7 kB / 0.592 GB, free: 340 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.09332, allocations: 243.5 kB / 0.5923 GB, free: 92 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.09351, allocations: 357.9 kB / 0.5926 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.09533, allocations: 0.8076 MB / 0.5934 GB, free: 14.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.09731, allocations: 0.9617 MB / 0.5943 GB, free: 13.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02417/0.1215, allocations: 5.51 MB / 0.5997 GB, free: 8.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.1215, allocations: 0 / 0.5997 GB, free: 8.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.01642/0.1379, allocations: 4.517 MB / 0.6041 GB, free: 3.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.138, allocations: 63.39 kB / 0.6042 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.138, allocations: 7.938 kB / 0.6042 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007844/0.1458, allocations: 1.843 MB / 0.606 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.1474, allocations: 243.6 kB / 0.6062 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02677/0.1742, allocations: 9.138 MB / 0.6152 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.1764, allocations: 199.1 kB / 0.6153 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.1767, allocations: 43.98 kB / 0.6154 GB, free: 8.113 MB / 478.1 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.0007493/0.1774, allocations: 291.1 kB / 0.6157 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.1779, allocations: 135.1 kB / 0.6158 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.1935, allocations: 4.178 MB / 0.6199 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.1935, allocations: 19.94 kB / 0.6199 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1935, allocations: 0 / 0.6199 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.1935, allocations: 3.984 kB / 0.6199 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.2107, allocations: 5.258 MB / 0.625 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.2107, allocations: 0 / 0.625 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.2115, allocations: 103.9 kB / 0.6251 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006921/0.2184, allocations: 1.824 MB / 0.6269 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.2185, allocations: 24 kB / 0.6269 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/0.2426, allocations: 9.844 MB / 0.6365 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2426, allocations: 0 / 0.6365 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.2603, allocations: 5.16 MB / 0.6416 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/0.2609, allocations: 147 kB / 0.6417 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.2613, allocations: 23.94 kB / 0.6417 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.263, allocations: 115.9 kB / 0.6419 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/0.2638, allocations: 220.6 kB / 0.6421 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.264, allocations: 28 kB / 0.6421 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001372/0.2654, allocations: 0.6951 MB / 0.6428 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.2654, allocations: 0 / 0.6428 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00191/0.2673, allocations: 483.6 kB / 0.6432 GB, free: 11.2 MB / 0.4981 GB 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.000411/0.2677, allocations: 143 kB / 0.6434 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008204/0.2759, allocations: 2.629 MB / 0.6459 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2759, allocations: 0 / 0.6459 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/0.2817, allocations: 1.765 MB / 0.6477 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.2831, allocations: 121 kB / 0.6478 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.288, allocations: 2.256 MB / 0.65 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.2887, allocations: 0.5397 MB / 0.6505 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004892/0.2892, allocations: 111.8 kB / 0.6506 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.2896, allocations: 76.48 kB / 0.6507 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.2896, allocations: 0 / 0.6507 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of Templates: time 0.04505/0.3346, allocations: 27.73 MB / 0.6778 GB, free: 7.699 MB / 0.5294 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: 6.478700757026672] Failed to read output from testmodel.py, exit status != 0: 0.34350524097681046 0.358380103 0.32945043100000004 Calling exit ...