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.001368/0.001368, allocations: 104.4 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.49/1.49, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.001642/0.001642, allocations: 218.4 kB / 306 MB, free: 4.277 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.4823/0.4823, allocations: 79.7 MB / 441.8 MB, free: 15.95 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.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: 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.002406/0.002406, allocations: 87.88 kB / 0.5878 GB, free: 1.391 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1663, allocations: 73.25 MB / 0.6593 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.00853/0.1748, allocations: 6.665 MB / 0.6659 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1796, allocations: 2.079 MB / 0.6679 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008397/0.1805, allocations: 12 kB / 0.6679 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.1813, allocations: 241.9 kB / 0.6681 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.1838, allocations: 0.8456 MB / 0.669 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1854, allocations: 0.6664 MB / 0.6696 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.1878, allocations: 1.651 MB / 0.6712 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.1883, allocations: 228.8 kB / 0.6714 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.1894, allocations: 0.6964 MB / 0.6721 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.1904, allocations: 0.8245 MB / 0.6729 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.1906, allocations: 124 kB / 0.673 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.1913, allocations: 287.9 kB / 0.6733 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.1916, allocations: 334.6 kB / 0.6736 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006927/0.1923, allocations: 0.668 MB / 0.6743 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.1945, allocations: 1.727 MB / 0.676 GB, free: 6.938 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1945, allocations: 0 / 0.676 GB, free: 6.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1945, allocations: 0 / 0.676 GB, free: 6.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.1946, allocations: 3.938 kB / 0.676 GB, free: 6.934 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.01033/0.2049, allocations: 2.819 MB / 0.6787 GB, free: 4.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2049, allocations: 8.031 kB / 0.6787 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.2051, allocations: 134.9 kB / 0.6789 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.2106, allocations: 0.8069 MB / 0.6797 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.2126, allocations: 0.9025 MB / 0.6805 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.2129, allocations: 252.2 kB / 0.6808 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.2131, allocations: 88 kB / 0.6809 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.2157, allocations: 1.168 MB / 0.682 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.2157, allocations: 3.984 kB / 0.682 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2158, allocations: 39.94 kB / 0.682 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.2159, allocations: 20 kB / 0.6821 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.2184, allocations: 1.066 MB / 0.6831 GB, free: 15.45 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.00715/0.2255, allocations: 3.684 MB / 0.6867 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.2283, allocations: 1.458 MB / 0.6881 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.23, allocations: 0.7072 MB / 0.6888 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.2301, allocations: 24.92 kB / 0.6888 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.2321, allocations: 0.8945 MB / 0.6897 GB, free: 8.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=102): time 2.725e-06/0.2321, allocations: 0 / 0.6897 GB, free: 8.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=102): time 0.02956/0.2617, allocations: 6.922 MB / 0.6965 GB, free: 1.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.2618, allocations: 115.8 kB / 0.6966 GB, free: 1.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.2636, allocations: 1.035 MB / 0.6976 GB, free: 228 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.2639, allocations: 41.7 kB / 0.6976 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2958/0.5597, allocations: 0.5081 MB / 0.6981 GB, free: 35.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005726/0.5602, allocations: 388.5 kB / 0.6985 GB, free: 35.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005408/0.5608, allocations: 246.4 kB / 0.6987 GB, free: 35.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.5609, allocations: 359.8 kB / 0.6991 GB, free: 34.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.5625, allocations: 0.7591 MB / 0.6998 GB, free: 34.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.5644, allocations: 0.9073 MB / 0.7007 GB, free: 34.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/0.5883, allocations: 5.52 MB / 0.7061 GB, free: 34.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5883, allocations: 2.719 kB / 0.7061 GB, free: 34.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01621/0.6045, allocations: 4.491 MB / 0.7105 GB, free: 33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.6046, allocations: 64.67 kB / 0.7105 GB, free: 32.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6046, allocations: 2.531 kB / 0.7105 GB, free: 32.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007644/0.6122, allocations: 1.85 MB / 0.7124 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.6138, allocations: 247.1 kB / 0.7126 GB, free: 32.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/0.6367, allocations: 9.487 MB / 0.7219 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.6387, allocations: 195 kB / 0.722 GB, free: 28.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.6388, allocations: 51.77 kB / 0.7221 GB, free: 28.04 MB / 494.1 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.0005592/0.6394, allocations: 287.7 kB / 0.7224 GB, free: 27.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.6396, allocations: 135.3 kB / 0.7225 GB, free: 27.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.6532, allocations: 4.156 MB / 0.7265 GB, free: 26.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6532, allocations: 11.81 kB / 0.7266 GB, free: 26.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.6532, allocations: 0 / 0.7266 GB, free: 26.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.6532, allocations: 11.14 kB / 0.7266 GB, free: 26.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.6683, allocations: 5.929 MB / 0.7324 GB, free: 22.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.6683, allocations: 0 / 0.7324 GB, free: 22.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/0.6691, allocations: 111.8 kB / 0.7325 GB, free: 22.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/0.675, allocations: 1.831 MB / 0.7343 GB, free: 21.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.6752, allocations: 23.98 kB / 0.7343 GB, free: 21.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.6948, allocations: 10.33 MB / 0.7444 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6948, allocations: 0 / 0.7444 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.7095, allocations: 5.102 MB / 0.7494 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.7099, allocations: 227.4 kB / 0.7496 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.7101, allocations: 20 kB / 0.7496 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.7113, allocations: 115.9 kB / 0.7497 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/0.712, allocations: 212.7 kB / 0.7499 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/0.7121, allocations: 26.91 kB / 0.7499 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009576/0.7131, allocations: 0.7109 MB / 0.7506 GB, free: 4.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7131, allocations: 0 / 0.7506 GB, free: 4.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001473/0.7145, allocations: 485.2 kB / 0.7511 GB, free: 4.094 MB / 494.1 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.01537/0.7299, allocations: 5.697 MB / 0.7566 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008453/0.7383, allocations: 2.556 MB / 0.7591 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7384, allocations: 4.562 kB / 0.7591 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/0.7441, allocations: 1.737 MB / 0.7608 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7456, allocations: 113.6 kB / 0.761 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/0.7939, allocations: 16.57 MB / 0.7771 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.795, allocations: 1.128 MB / 0.7782 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006176/0.7956, allocations: 111.9 kB / 0.7783 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/0.7964, allocations: 475.3 kB / 0.7788 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of SimCode: time 1.372e-06/0.7964, allocations: 0 / 0.7788 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09108/0.8874, allocations: 37.74 MB / 0.8156 GB, free: 1.844 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.33, allocations: 6.453 kB / 0.8156 GB, free: 1.84 MB / 0.545 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 19.249098084997968] Failed to read output from testmodel.py, exit status != 0: 15.445822234003572 15.460459497 15.262852467 Calling exit ...