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.001941/0.001941, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.534/1.534, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001669/0.001669, allocations: 215 kB / 309.2 MB, free: 3.172 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.6486/0.6486, allocations: 107.2 MB / 472.8 MB, free: 29.96 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.00254/0.00254, allocations: 82.67 kB / 0.633 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1359, allocations: 80.15 MB / 0.7113 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.01059/0.1465, allocations: 6.204 MB / 0.7174 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.1517, allocations: 2.074 MB / 0.7194 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.1529, allocations: 15.94 kB / 0.7194 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.154, allocations: 265.8 kB / 0.7197 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.1572, allocations: 0.8155 MB / 0.7205 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.1594, allocations: 0.7511 MB / 0.7212 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.1622, allocations: 1.756 MB / 0.7229 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/0.1629, allocations: 260.1 kB / 0.7232 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.1644, allocations: 0.7392 MB / 0.7239 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.1659, allocations: 0.7735 MB / 0.7246 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.1663, allocations: 132 kB / 0.7248 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.1672, allocations: 283.8 kB / 0.725 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005007/0.1677, allocations: 346.6 kB / 0.7254 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.1686, allocations: 0.5826 MB / 0.7259 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.1714, allocations: 1.859 MB / 0.7277 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1714, allocations: 0 / 0.7277 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1714, allocations: 0 / 0.7277 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.994e-05/0.1715, allocations: 0 / 0.7277 GB, free: 6.766 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.01161/0.1831, allocations: 2.987 MB / 0.7307 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1831, allocations: 8.031 kB / 0.7307 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004125/0.1836, allocations: 143.4 kB / 0.7308 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/0.1895, allocations: 0.8224 MB / 0.7316 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.1918, allocations: 0.8661 MB / 0.7325 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005597/0.1924, allocations: 489.8 kB / 0.7329 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.1927, allocations: 95.89 kB / 0.733 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/0.196, allocations: 1.32 MB / 0.7343 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1961, allocations: 3.938 kB / 0.7343 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.1962, allocations: 36 kB / 0.7343 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.1962, allocations: 20 kB / 0.7344 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.1993, allocations: 1.224 MB / 0.7356 GB, free: 14.54 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.008453/0.2078, allocations: 3.3 MB / 0.7388 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.2112, allocations: 1.245 MB / 0.74 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.2131, allocations: 0.7917 MB / 0.7408 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.2132, allocations: 24.98 kB / 0.7408 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/0.2155, allocations: 0.9795 MB / 0.7418 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=108): time 3.768e-06/0.2155, allocations: 0 / 0.7418 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.0342/0.2497, allocations: 7.62 MB / 0.7492 GB, free: 436 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2498, allocations: 115.8 kB / 0.7493 GB, free: 292 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.2518, allocations: 1.045 MB / 0.7503 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003063/0.2521, allocations: 45.7 kB / 0.7504 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.2527, allocations: 0.5292 MB / 0.7509 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/0.2534, allocations: 408.6 kB / 0.7513 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006917/0.2541, allocations: 243.5 kB / 0.7515 GB, free: 14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.2543, allocations: 357.9 kB / 0.7518 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.2563, allocations: 0.8389 MB / 0.7527 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.2585, allocations: 0.9985 MB / 0.7536 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/0.2826, allocations: 5.59 MB / 0.7591 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.2826, allocations: 0 / 0.7591 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01594/0.2985, allocations: 4.487 MB / 0.7635 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.2986, allocations: 63.41 kB / 0.7635 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2986, allocations: 0 / 0.7635 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/0.3052, allocations: 1.742 MB / 0.7652 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.3069, allocations: 283.6 kB / 0.7655 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02364/0.3305, allocations: 8.762 MB / 0.7741 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.3327, allocations: 211.1 kB / 0.7743 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.3331, allocations: 47.98 kB / 0.7743 GB, free: 6.301 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.001234/0.3343, allocations: 305.4 kB / 0.7746 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006134/0.3349, allocations: 139.1 kB / 0.7747 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/0.3514, allocations: 4.387 MB / 0.779 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.3514, allocations: 12 kB / 0.779 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3514, allocations: 0 / 0.779 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/0.3514, allocations: 7.922 kB / 0.779 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.3707, allocations: 5.651 MB / 0.7846 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.3707, allocations: 4.031 kB / 0.7846 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.3715, allocations: 127.8 kB / 0.7847 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007154/0.3787, allocations: 1.899 MB / 0.7865 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.3789, allocations: 24 kB / 0.7866 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02683/0.4058, allocations: 10.3 MB / 0.7966 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4058, allocations: 0 / 0.7966 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/0.4245, allocations: 5.46 MB / 0.802 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.425, allocations: 146.9 kB / 0.8021 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004855/0.4255, allocations: 27.94 kB / 0.8021 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.4271, allocations: 135.8 kB / 0.8023 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008583/0.428, allocations: 252.5 kB / 0.8025 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.4281, allocations: 28 kB / 0.8025 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001489/0.4296, allocations: 0.7006 MB / 0.8032 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4296, allocations: 0 / 0.8032 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00206/0.4317, allocations: 491.6 kB / 0.8037 GB, free: 7.816 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.01911/0.4508, allocations: 6.034 MB / 0.8096 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.3231/0.7739, allocations: 2.681 MB / 0.8122 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.774, allocations: 0.5625 kB / 0.8122 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005971/0.7799, allocations: 1.837 MB / 0.814 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.7812, allocations: 123.8 kB / 0.8141 GB, free: 94.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04458/0.8258, allocations: 16.99 MB / 0.8307 GB, free: 89.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.8266, allocations: 0.5641 MB / 0.8312 GB, free: 89.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007402/0.8274, allocations: 118.4 kB / 0.8314 GB, free: 89.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.828, allocations: 0.4897 MB / 0.8318 GB, free: 88.74 MB / 0.5762 GB Notification: Performance of SimCode: time 1.724e-06/0.828, allocations: 3.938 kB / 0.8318 GB, free: 88.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07186/0.8999, allocations: 41.21 MB / 0.8721 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.47, allocations: 2.188 kB / 0.8721 GB, free: 52.46 MB / 0.5762 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: 20.133943734224886] Failed to read output from testmodel.py, exit status != 0: 15.61474296497181 15.627519596 15.452610781 Calling exit ...