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.001037/0.001037, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.9045/0.9045, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001163/0.001163, allocations: 164.2 kB / 256 MB, free: 13.32 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.2627/0.2627, allocations: 80.25 MB / 392.6 MB, free: 2.449 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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.5548 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.251e-05, allocations: 6.109 kB / 0.5548 GB, free: 12.31 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004588/0.0046, allocations: 5.878 MB / 0.5605 GB, free: 6.402 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.007325, allocations: 1.997 MB / 0.5625 GB, free: 4.402 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.007654, allocations: 15.94 kB / 0.5625 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.008151, allocations: 241.9 kB / 0.5627 GB, free: 4.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.009281, allocations: 0.8234 MB / 0.5635 GB, free: 3.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.01007, allocations: 0.6921 MB / 0.5642 GB, free: 2.637 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009396/0.01101, allocations: 1.642 MB / 0.5658 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.01128, allocations: 225.2 kB / 0.566 GB, free: 0.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1743/0.1856, allocations: 0.9277 MB / 0.5669 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008242/0.1864, allocations: 0.643 MB / 0.5675 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.1866, allocations: 124.5 kB / 0.5677 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.187, allocations: 276.9 kB / 0.5679 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1872, allocations: 336.2 kB / 0.5682 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.1876, allocations: 459.3 kB / 0.5687 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.189, allocations: 1.775 MB / 0.5704 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.189, allocations: 0 / 0.5704 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.189, allocations: 0 / 0.5704 GB, free: 15.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.189, allocations: 1.094 kB / 0.5704 GB, free: 15.66 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.004909/0.1939, allocations: 2.877 MB / 0.5732 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.194, allocations: 10.52 kB / 0.5732 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.1941, allocations: 128.5 kB / 0.5734 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.1968, allocations: 0.8034 MB / 0.5741 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1978, allocations: 0.8369 MB / 0.575 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.1979, allocations: 282.2 kB / 0.5752 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1981, allocations: 85.25 kB / 0.5753 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.1996, allocations: 1.198 MB / 0.5765 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1996, allocations: 0 / 0.5765 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.1997, allocations: 32.75 kB / 0.5765 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1997, allocations: 20.14 kB / 0.5765 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.2011, allocations: 1.096 MB / 0.5776 GB, free: 13.36 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.003929/0.2051, allocations: 2.891 MB / 0.5804 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.2066, allocations: 1.038 MB / 0.5814 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009491/0.2075, allocations: 0.734 MB / 0.5822 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.2076, allocations: 17.06 kB / 0.5822 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2088, allocations: 0.9132 MB / 0.5831 GB, free: 10.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 2.224e-06/0.2088, allocations: 1.375 kB / 0.5831 GB, free: 10.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.01398/0.2228, allocations: 6.818 MB / 0.5897 GB, free: 8.902 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2228, allocations: 119.9 kB / 0.5898 GB, free: 8.773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.2238, allocations: 1.034 MB / 0.5908 GB, free: 8.191 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.2239, allocations: 50.94 kB / 0.5909 GB, free: 8.141 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.2241, allocations: 0.5073 MB / 0.5914 GB, free: 7.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.2243, allocations: 387.9 kB / 0.5918 GB, free: 7.355 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.2246, allocations: 244.3 kB / 0.592 GB, free: 7.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2246, allocations: 361.3 kB / 0.5923 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2256, allocations: 0.8147 MB / 0.5931 GB, free: 6.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.2267, allocations: 0.9629 MB / 0.5941 GB, free: 5.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.2377, allocations: 5.522 MB / 0.5995 GB, free: 3.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2377, allocations: 2.656 kB / 0.5995 GB, free: 3.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007193/0.2449, allocations: 4.54 MB / 0.6039 GB, free: 52 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.2449, allocations: 59.41 kB / 0.604 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2449, allocations: 3.75 kB / 0.604 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.2486, allocations: 1.85 MB / 0.6058 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.2492, allocations: 243.8 kB / 0.606 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.2623, allocations: 9.179 MB / 0.615 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2634, allocations: 198.2 kB / 0.6152 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.2635, allocations: 47.98 kB / 0.6152 GB, free: 4.398 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 (139): * Single equations (assignments): 136 * 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.000455/0.264, allocations: 290.5 kB / 0.6155 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2641, allocations: 131.2 kB / 0.6156 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007335/0.2715, allocations: 4.183 MB / 0.6197 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.2715, allocations: 8 kB / 0.6197 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2715, allocations: 4 kB / 0.6197 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2715, allocations: 3.984 kB / 0.6197 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00839/0.2799, allocations: 5.358 MB / 0.6249 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2799, allocations: 4 kB / 0.6249 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.2802, allocations: 110.1 kB / 0.625 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/0.2835, allocations: 1.822 MB / 0.6268 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.2836, allocations: 23.98 kB / 0.6268 GB, free: 8.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.2959, allocations: 9.905 MB / 0.6365 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2959, allocations: 0 / 0.6365 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008431/0.3043, allocations: 5.151 MB / 0.6415 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.3046, allocations: 150.9 kB / 0.6417 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3047, allocations: 23.98 kB / 0.6417 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.3053, allocations: 115.9 kB / 0.6418 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.3057, allocations: 219.5 kB / 0.642 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.3057, allocations: 31.92 kB / 0.6421 GB, free: 8.668 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006855/0.3064, allocations: 0.7071 MB / 0.6428 GB, free: 7.953 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3064, allocations: 0 / 0.6428 GB, free: 7.953 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00101/0.3074, allocations: 483.7 kB / 0.6432 GB, free: 7.48 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.008708/0.3161, allocations: 5.758 MB / 0.6488 GB, free: 1.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003973/0.3201, allocations: 2.63 MB / 0.6514 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3201, allocations: 0 / 0.6514 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.3226, allocations: 1.755 MB / 0.6531 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.3232, allocations: 118.8 kB / 0.6532 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/0.3473, allocations: 16.67 MB / 0.6695 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.3477, allocations: 0.5358 MB / 0.67 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.3481, allocations: 107.9 kB / 0.6701 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.3485, allocations: 484.3 kB / 0.6706 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.3485, allocations: 0 / 0.6706 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04667/0.3952, allocations: 39.82 MB / 0.7095 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.788, allocations: 3.75 kB / 0.7095 GB, free: 3.555 MB / 0.5417 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.225854498334229] Failed to read output from testmodel.py, exit status != 0: 8.896937028504908 8.908067746 8.71733867 Calling exit ...