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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.434/1.434, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001489/0.001489, allocations: 206.1 kB / 309.2 MB, free: 3.074 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.5928/0.5928, allocations: 107.2 MB / 472.8 MB, free: 29.71 MB / 350.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: "" <> 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.002533/0.002533, allocations: 83.7 kB / 0.633 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.13, allocations: 80.15 MB / 0.7113 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008589/0.1386, allocations: 6.193 MB / 0.7174 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.1434, allocations: 2.074 MB / 0.7194 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1446, allocations: 15.94 kB / 0.7194 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1457, allocations: 265.8 kB / 0.7197 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1484, allocations: 0.8212 MB / 0.7205 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.1504, allocations: 0.7457 MB / 0.7212 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.1535, allocations: 1.76 MB / 0.7229 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.1541, allocations: 272 kB / 0.7232 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.1554, allocations: 0.7275 MB / 0.7239 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1564, allocations: 0.7775 MB / 0.7246 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.1566, allocations: 132 kB / 0.7248 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005638/0.1572, allocations: 279.8 kB / 0.725 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.1575, allocations: 346.6 kB / 0.7254 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.1581, allocations: 0.5827 MB / 0.7259 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.1602, allocations: 1.86 MB / 0.7277 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1602, allocations: 0 / 0.7277 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1602, allocations: 7.938 kB / 0.7278 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.1602, allocations: 0 / 0.7278 GB, free: 6.781 MB / 0.4981 GB 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.009257/0.1695, allocations: 2.987 MB / 0.7307 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1695, allocations: 8.031 kB / 0.7307 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.1697, allocations: 147.4 kB / 0.7308 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.175, allocations: 0.8147 MB / 0.7316 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1767, allocations: 0.8777 MB / 0.7325 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.1772, allocations: 485.8 kB / 0.7329 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.1774, allocations: 95.89 kB / 0.733 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.1802, allocations: 1.312 MB / 0.7343 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1803, allocations: 0 / 0.7343 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1804, allocations: 36 kB / 0.7343 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.1804, allocations: 20 kB / 0.7344 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.1833, allocations: 1.224 MB / 0.7356 GB, free: 14.56 MB / 0.5137 GB 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.007464/0.1908, allocations: 3.288 MB / 0.7388 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.1941, allocations: 1.252 MB / 0.74 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.196, allocations: 0.7957 MB / 0.7408 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1961, allocations: 20.92 kB / 0.7408 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.1983, allocations: 0.9834 MB / 0.7418 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=108): time 3.095e-06/0.1983, allocations: 0 / 0.7418 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.03415/0.2324, allocations: 7.624 MB / 0.7492 GB, free: 456 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.2326, allocations: 111.8 kB / 0.7493 GB, free: 316 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.2344, allocations: 1.045 MB / 0.7503 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.2347, allocations: 41.7 kB / 0.7504 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.2352, allocations: 0.5331 MB / 0.7509 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.2356, allocations: 408.6 kB / 0.7513 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.2361, allocations: 247.5 kB / 0.7515 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2363, allocations: 358 kB / 0.7519 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.2382, allocations: 0.8349 MB / 0.7527 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.2403, allocations: 0.9985 MB / 0.7536 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02345/0.2638, allocations: 5.594 MB / 0.7591 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2638, allocations: 0 / 0.7591 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01486/0.2786, allocations: 4.491 MB / 0.7635 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.2787, allocations: 59.41 kB / 0.7635 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2787, allocations: 0 / 0.7635 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006443/0.2852, allocations: 1.742 MB / 0.7652 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.2868, allocations: 279.6 kB / 0.7655 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/0.3093, allocations: 8.752 MB / 0.7741 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.3111, allocations: 215.1 kB / 0.7743 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.3113, allocations: 51.98 kB / 0.7743 GB, free: 6.324 MB / 0.545 GB 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.0006171/0.3119, allocations: 303.7 kB / 0.7746 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.3121, allocations: 139.1 kB / 0.7747 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.3281, allocations: 4.387 MB / 0.779 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.3281, allocations: 12 kB / 0.779 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3282, allocations: 0 / 0.779 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/0.3282, allocations: 7.922 kB / 0.779 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.3463, allocations: 5.659 MB / 0.7846 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.3464, allocations: 0 / 0.7846 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.3471, allocations: 131.8 kB / 0.7847 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006906/0.3541, allocations: 1.891 MB / 0.7865 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.3542, allocations: 24 kB / 0.7866 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02571/0.3799, allocations: 10.29 MB / 0.7966 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3799, allocations: 0 / 0.7966 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.3982, allocations: 5.452 MB / 0.8019 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.3986, allocations: 158.8 kB / 0.8021 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.3988, allocations: 20 kB / 0.8021 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.4002, allocations: 139.8 kB / 0.8022 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007372/0.4009, allocations: 248.7 kB / 0.8025 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/0.401, allocations: 31.98 kB / 0.8025 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001143/0.4022, allocations: 0.7044 MB / 0.8032 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4022, allocations: 0 / 0.8032 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001402/0.4036, allocations: 491.6 kB / 0.8037 GB, free: 7.844 MB / 0.5762 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.0187/0.4223, allocations: 6.03 MB / 0.8096 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2784/0.7006, allocations: 2.686 MB / 0.8122 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7006, allocations: 0 / 0.8122 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005472/0.7061, allocations: 1.839 MB / 0.814 GB, free: 94.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.7071, allocations: 123.8 kB / 0.8141 GB, free: 94.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04213/0.7493, allocations: 17.01 MB / 0.8307 GB, free: 89.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.7499, allocations: 0.5675 MB / 0.8312 GB, free: 89.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006439/0.7505, allocations: 116.5 kB / 0.8314 GB, free: 89.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/0.7511, allocations: 0.4946 MB / 0.8318 GB, free: 88.66 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.7511, allocations: 0 / 0.8318 GB, free: 88.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/0.8203, allocations: 41.21 MB / 0.8721 GB, free: 52.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.78, allocations: 6.984 kB / 0.8721 GB, free: 52.32 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.63271598611027] Failed to read output from testmodel.py, exit status != 0: 14.926464101765305 14.943499625 14.77994936 Calling exit ...