Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 105.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 194.9 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4843/0.4843, allocations: 79.73 MB / 434.4 MB, free: 6.238 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 87.84 kB / 0.5784 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1638, allocations: 72.08 MB / 0.6488 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.01009/0.1739, allocations: 7.01 MB / 0.6556 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.1797, allocations: 2.133 MB / 0.6577 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.1812, allocations: 15.94 kB / 0.6577 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1825, allocations: 257.8 kB / 0.658 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.1858, allocations: 0.823 MB / 0.6588 GB, free: 7.527 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.188, allocations: 0.765 MB / 0.6595 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.191, allocations: 1.729 MB / 0.6612 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.1918, allocations: 283.6 kB / 0.6615 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1934, allocations: 0.7041 MB / 0.6622 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.1951, allocations: 0.8516 MB / 0.663 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005825/0.1957, allocations: 132 kB / 0.6631 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1968, allocations: 271.8 kB / 0.6634 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.1973, allocations: 346.6 kB / 0.6637 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009878/0.1983, allocations: 0.7185 MB / 0.6644 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.2008, allocations: 1.828 MB / 0.6662 GB, free: 15.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2009, allocations: 3.984 kB / 0.6662 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2009, allocations: 0 / 0.6662 GB, free: 15.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.2009, allocations: 0 / 0.6662 GB, free: 15.87 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009624/0.2105, allocations: 2.889 MB / 0.669 GB, free: 12.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2106, allocations: 12.03 kB / 0.669 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.2108, allocations: 147.4 kB / 0.6692 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.2159, allocations: 0.8068 MB / 0.67 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.2178, allocations: 0.9344 MB / 0.6709 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.2182, allocations: 327.6 kB / 0.6712 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.2184, allocations: 99.88 kB / 0.6713 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.2212, allocations: 1.283 MB / 0.6725 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.2212, allocations: 3.938 kB / 0.6725 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.2213, allocations: 43.98 kB / 0.6726 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.2213, allocations: 20 kB / 0.6726 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.2241, allocations: 1.195 MB / 0.6738 GB, free: 7.922 MB / 478.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.008169/0.2322, allocations: 4.161 MB / 0.6778 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.2359, allocations: 1.689 MB / 0.6795 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.2378, allocations: 0.7703 MB / 0.6802 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2379, allocations: 16.98 kB / 0.6803 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/0.24, allocations: 0.9622 MB / 0.6812 GB, free: 12 kB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.036e-06/0.24, allocations: 0 / 0.6812 GB, free: 12 kB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03312/0.2731, allocations: 7.863 MB / 0.6889 GB, free: 8.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.2733, allocations: 115.8 kB / 0.689 GB, free: 7.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.2752, allocations: 1.041 MB / 0.69 GB, free: 6.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002778/0.2755, allocations: 45.7 kB / 0.69 GB, free: 6.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.276, allocations: 0.533 MB / 0.6906 GB, free: 6.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.2766, allocations: 400.6 kB / 0.6909 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/0.2771, allocations: 255.5 kB / 0.6912 GB, free: 5.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.2773, allocations: 353.9 kB / 0.6915 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.2791, allocations: 0.7847 MB / 0.6923 GB, free: 4.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.2811, allocations: 0.9406 MB / 0.6932 GB, free: 3.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3154/0.5965, allocations: 5.488 MB / 0.6986 GB, free: 41.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.5965, allocations: 0 / 0.6986 GB, free: 41.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01451/0.611, allocations: 4.428 MB / 0.7029 GB, free: 41.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.611, allocations: 60.39 kB / 0.7029 GB, free: 41.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.6111, allocations: 2.156 kB / 0.703 GB, free: 41.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.6172, allocations: 1.744 MB / 0.7047 GB, free: 41.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.6188, allocations: 283.7 kB / 0.7049 GB, free: 41.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.6397, allocations: 9.051 MB / 0.7138 GB, free: 37.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.6416, allocations: 216.1 kB / 0.714 GB, free: 37.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6417, allocations: 45.84 kB / 0.714 GB, free: 37.15 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005983/0.6423, allocations: 306.4 kB / 0.7143 GB, free: 36.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.6425, allocations: 145.9 kB / 0.7144 GB, free: 36.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.6564, allocations: 4.361 MB / 0.7187 GB, free: 35.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.6565, allocations: 14.75 kB / 0.7187 GB, free: 35.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6565, allocations: 1.062 kB / 0.7187 GB, free: 35.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.6565, allocations: 8.219 kB / 0.7187 GB, free: 35.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.6721, allocations: 6.213 MB / 0.7248 GB, free: 32.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.6721, allocations: 4.969 kB / 0.7248 GB, free: 32.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.6728, allocations: 134 kB / 0.7249 GB, free: 32.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005668/0.6785, allocations: 1.898 MB / 0.7268 GB, free: 32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.6786, allocations: 27.83 kB / 0.7268 GB, free: 31.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.6994, allocations: 10.73 MB / 0.7373 GB, free: 23.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6994, allocations: 0 / 0.7373 GB, free: 23.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.7146, allocations: 5.39 MB / 0.7425 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.7152, allocations: 227.2 kB / 0.7428 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/0.7156, allocations: 33.91 kB / 0.7428 GB, free: 17.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.7171, allocations: 139.8 kB / 0.7429 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008201/0.718, allocations: 228.7 kB / 0.7431 GB, free: 17.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.7181, allocations: 36.19 kB / 0.7432 GB, free: 17.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.7193, allocations: 0.7006 MB / 0.7439 GB, free: 16.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7193, allocations: 0 / 0.7439 GB, free: 16.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002072/0.7214, allocations: 491 kB / 0.7443 GB, free: 15.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/0.7369, allocations: 5.974 MB / 0.7502 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006647/0.7435, allocations: 2.606 MB / 0.7527 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7435, allocations: 0 / 0.7527 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.7482, allocations: 1.803 MB / 0.7545 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.7497, allocations: 135 kB / 0.7546 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/0.7951, allocations: 16.86 MB / 0.7711 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.7964, allocations: 1.155 MB / 0.7722 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007185/0.7971, allocations: 120.3 kB / 0.7723 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.7981, allocations: 0.4915 MB / 0.7728 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.7981, allocations: 3.938 kB / 0.7728 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/0.913, allocations: 39.19 MB / 0.8111 GB, free: 11.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.13, allocations: 15.97 kB / 0.8111 GB, free: 11.34 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.10479008499533] Failed to read output from testmodel.py, exit status != 0: 16.250811801757663 16.274244755 16.068642552 Calling exit ...