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.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.001833/0.001833, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.559/1.559, allocations: 230.6 MB / 249.8 MB, free: 9.211 MB / 206.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.001779/0.001779, allocations: 204.1 kB / 306 MB, free: 4.285 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.4913/0.4913, allocations: 79.71 MB / 441.8 MB, free: 15.93 MB / 318.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.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.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 87.88 kB / 0.5878 GB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1509, allocations: 73.24 MB / 0.6593 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008621/0.1595, allocations: 7.036 MB / 0.6662 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.165, allocations: 2.168 MB / 0.6683 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1661, allocations: 15.94 kB / 0.6683 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.167, allocations: 257.8 kB / 0.6686 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.1693, allocations: 0.8507 MB / 0.6694 GB, free: 13.64 MB / 478.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.001849/0.1712, allocations: 0.7397 MB / 0.6701 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.1735, allocations: 1.74 MB / 0.6718 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.174, allocations: 275.7 kB / 0.6721 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1751, allocations: 0.7353 MB / 0.6728 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1762, allocations: 0.8516 MB / 0.6737 GB, free: 9.273 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.1764, allocations: 132 kB / 0.6738 GB, free: 9.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.177, allocations: 283.9 kB / 0.6741 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.1773, allocations: 354.5 kB / 0.6744 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000695/0.178, allocations: 0.7224 MB / 0.6751 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1803, allocations: 1.852 MB / 0.6769 GB, free: 5.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1803, allocations: 3.984 kB / 0.6769 GB, free: 5.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1803, allocations: 3.938 kB / 0.6769 GB, free: 5.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.1803, allocations: 0 / 0.6769 GB, free: 5.926 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.009879/0.1902, allocations: 2.897 MB / 0.6797 GB, free: 2.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1902, allocations: 8.031 kB / 0.6798 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.1905, allocations: 147.4 kB / 0.6799 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.196, allocations: 0.8224 MB / 0.6807 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.198, allocations: 0.9344 MB / 0.6816 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/0.1984, allocations: 335.6 kB / 0.6819 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.1986, allocations: 91.94 kB / 0.682 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.2016, allocations: 1.283 MB / 0.6833 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2017, allocations: 4 kB / 0.6833 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.2018, allocations: 36 kB / 0.6833 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.2018, allocations: 24 kB / 0.6833 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.2048, allocations: 1.202 MB / 0.6845 GB, free: 13.95 MB / 494.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.008199/0.213, allocations: 4.172 MB / 0.6886 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.2169, allocations: 1.68 MB / 0.6902 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.2189, allocations: 0.7781 MB / 0.691 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.219, allocations: 17 kB / 0.691 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.2213, allocations: 0.9637 MB / 0.6919 GB, free: 6.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.476e-06/0.2213, allocations: 0 / 0.6919 GB, free: 6.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3225/0.5438, allocations: 7.848 MB / 0.6996 GB, free: 35.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.5439, allocations: 115 kB / 0.6997 GB, free: 35.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.5459, allocations: 1.039 MB / 0.7007 GB, free: 35.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.5462, allocations: 47.17 kB / 0.7008 GB, free: 35.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.5466, allocations: 0.533 MB / 0.7013 GB, free: 35.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.5471, allocations: 408.1 kB / 0.7017 GB, free: 35.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/0.5477, allocations: 248.9 kB / 0.7019 GB, free: 35.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5478, allocations: 360.2 kB / 0.7023 GB, free: 35.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.5498, allocations: 0.7861 MB / 0.703 GB, free: 35.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.552, allocations: 0.9467 MB / 0.704 GB, free: 34.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02532/0.5774, allocations: 5.586 MB / 0.7094 GB, free: 33.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5774, allocations: 0 / 0.7094 GB, free: 33.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0163/0.5937, allocations: 4.438 MB / 0.7137 GB, free: 32.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.5937, allocations: 59.5 kB / 0.7138 GB, free: 32.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5937, allocations: 5.562 kB / 0.7138 GB, free: 32.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006283/0.6, allocations: 1.739 MB / 0.7155 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.6017, allocations: 275.5 kB / 0.7158 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.6225, allocations: 9.055 MB / 0.7246 GB, free: 27.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.6245, allocations: 212.3 kB / 0.7248 GB, free: 27.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.6246, allocations: 50.09 kB / 0.7249 GB, free: 27.12 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.0005977/0.6252, allocations: 310.5 kB / 0.7252 GB, free: 26.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.6255, allocations: 145.2 kB / 0.7253 GB, free: 26.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.6401, allocations: 4.354 MB / 0.7295 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6402, allocations: 17.97 kB / 0.7296 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6402, allocations: 0 / 0.7296 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.6402, allocations: 7.922 kB / 0.7296 GB, free: 24.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.6562, allocations: 6.226 MB / 0.7357 GB, free: 20.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.6562, allocations: 0 / 0.7357 GB, free: 20.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.657, allocations: 127.8 kB / 0.7358 GB, free: 20.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006153/0.6631, allocations: 1.901 MB / 0.7376 GB, free: 18.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.6633, allocations: 27.98 kB / 0.7377 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/0.6846, allocations: 10.73 MB / 0.7481 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6846, allocations: 3.984 kB / 0.7481 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/0.7004, allocations: 5.398 MB / 0.7534 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.7009, allocations: 232.9 kB / 0.7536 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.7011, allocations: 20.88 kB / 0.7536 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.7025, allocations: 139.8 kB / 0.7538 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007566/0.7033, allocations: 232.7 kB / 0.754 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.7034, allocations: 28 kB / 0.754 GB, free: 1.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009442/0.7043, allocations: 0.7084 MB / 0.7547 GB, free: 348 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7043, allocations: 4 kB / 0.7547 GB, free: 344 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.00177/0.7061, allocations: 481.6 kB / 0.7552 GB, free: 15.88 MB / 0.4981 GB 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.01883/0.7249, allocations: 5.973 MB / 0.761 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008233/0.7331, allocations: 2.613 MB / 0.7636 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.7331, allocations: 0 / 0.7636 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005936/0.7391, allocations: 1.812 MB / 0.7653 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.7402, allocations: 129.7 kB / 0.7655 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04604/0.7862, allocations: 16.78 MB / 0.7818 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009472/0.7872, allocations: 1.153 MB / 0.783 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006227/0.7878, allocations: 116.3 kB / 0.7831 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/0.7886, allocations: 0.4915 MB / 0.7836 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.7886, allocations: 0 / 0.7836 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08919/0.8778, allocations: 39.33 MB / 0.822 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.5, allocations: 16.45 kB / 0.822 GB, free: 11.31 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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: 19.255250214991975] Failed to read output from testmodel.py, exit status != 0: 15.618977303995052 15.634074852 15.450619507 Calling exit ...