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.0007198/0.0007198, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8313/0.8313, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.0009531/0.0009531, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2601/0.2601, allocations: 80.24 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5548 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.239e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.32 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.004687/0.0047, allocations: 6.173 MB / 0.5608 GB, free: 6.113 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.00696, allocations: 2.093 MB / 0.5629 GB, free: 4.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.007256, allocations: 19.94 kB / 0.5629 GB, free: 3.996 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.00774, allocations: 249.7 kB / 0.5631 GB, free: 3.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.008771, allocations: 0.8423 MB / 0.564 GB, free: 2.902 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.009579, allocations: 0.7701 MB / 0.5647 GB, free: 2.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009652/0.01054, allocations: 1.74 MB / 0.5664 GB, free: 404 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.01083, allocations: 272.1 kB / 0.5667 GB, free: 112 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1609/0.1717, allocations: 0.9714 MB / 0.5676 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.1723, allocations: 0.6638 MB / 0.5683 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.1725, allocations: 131.4 kB / 0.5684 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1729, allocations: 291 kB / 0.5687 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1731, allocations: 351.5 kB / 0.569 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.1734, allocations: 489.1 kB / 0.5695 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1748, allocations: 1.896 MB / 0.5713 GB, free: 15.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1748, allocations: 0 / 0.5713 GB, free: 15.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1748, allocations: 0.625 kB / 0.5713 GB, free: 15.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1748, allocations: 1.281 kB / 0.5713 GB, free: 15.3 MB / 442.7 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.004653/0.1794, allocations: 2.969 MB / 0.5742 GB, free: 14.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1795, allocations: 9.438 kB / 0.5742 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.1796, allocations: 141 kB / 0.5744 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.1821, allocations: 0.8195 MB / 0.5752 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.1831, allocations: 0.8611 MB / 0.576 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.1832, allocations: 487.8 kB / 0.5765 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1834, allocations: 93.75 kB / 0.5766 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.185, allocations: 1.315 MB / 0.5778 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.185, allocations: 2.062 kB / 0.5778 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.185, allocations: 40.69 kB / 0.5779 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.1851, allocations: 20.88 kB / 0.5779 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.1867, allocations: 1.217 MB / 0.5791 GB, free: 12.45 MB / 442.7 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.004158/0.1908, allocations: 3.29 MB / 0.5823 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1926, allocations: 1.255 MB / 0.5835 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009938/0.1936, allocations: 0.7956 MB / 0.5843 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.1937, allocations: 13.78 kB / 0.5843 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.1949, allocations: 0.9917 MB / 0.5853 GB, free: 9.629 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.444e-06/0.1949, allocations: 0 / 0.5853 GB, free: 9.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.01577/0.2107, allocations: 7.616 MB / 0.5927 GB, free: 6.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2107, allocations: 115.8 kB / 0.5928 GB, free: 6.809 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.2115, allocations: 1.052 MB / 0.5939 GB, free: 6.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.2116, allocations: 51.84 kB / 0.5939 GB, free: 6.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2118, allocations: 0.5257 MB / 0.5944 GB, free: 5.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.212, allocations: 401.1 kB / 0.5948 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.2123, allocations: 242.5 kB / 0.595 GB, free: 5.219 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.2123, allocations: 366.3 kB / 0.5954 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2133, allocations: 0.8424 MB / 0.5962 GB, free: 4.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2144, allocations: 1.001 MB / 0.5972 GB, free: 3.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.2249, allocations: 5.588 MB / 0.6026 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2249, allocations: 3.469 kB / 0.6026 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007153/0.232, allocations: 4.477 MB / 0.607 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2321, allocations: 59.39 kB / 0.6071 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2321, allocations: 4 kB / 0.6071 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.2352, allocations: 1.736 MB / 0.6088 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.2359, allocations: 280.5 kB / 0.609 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.2477, allocations: 8.757 MB / 0.6176 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/0.2486, allocations: 217.3 kB / 0.6178 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.2486, allocations: 47.98 kB / 0.6178 GB, free: 1.652 MB / 458.7 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.0004165/0.2491, allocations: 306.6 kB / 0.6181 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2492, allocations: 139.1 kB / 0.6183 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/0.2569, allocations: 4.378 MB / 0.6225 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2569, allocations: 15.94 kB / 0.6226 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2569, allocations: 0 / 0.6226 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2569, allocations: 11.97 kB / 0.6226 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009099/0.266, allocations: 5.649 MB / 0.6281 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.266, allocations: 0 / 0.6281 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.2664, allocations: 131.4 kB / 0.6282 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.2697, allocations: 1.901 MB / 0.6301 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.2697, allocations: 23.98 kB / 0.6301 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.2828, allocations: 10.28 MB / 0.6401 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2828, allocations: 0 / 0.6401 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008849/0.2917, allocations: 5.454 MB / 0.6455 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.2919, allocations: 158.8 kB / 0.6456 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.292, allocations: 23.94 kB / 0.6456 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.2926, allocations: 139.8 kB / 0.6458 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.293, allocations: 244.6 kB / 0.646 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.2931, allocations: 35.97 kB / 0.646 GB, free: 4.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007041/0.2938, allocations: 0.7045 MB / 0.6467 GB, free: 3.852 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2938, allocations: 0 / 0.6467 GB, free: 3.852 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009191/0.2947, allocations: 491.6 kB / 0.6472 GB, free: 3.371 MB / 490.7 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.009015/0.3037, allocations: 6.037 MB / 0.6531 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003875/0.3076, allocations: 2.676 MB / 0.6557 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3076, allocations: 4 kB / 0.6557 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.3102, allocations: 1.828 MB / 0.6575 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.3107, allocations: 124.2 kB / 0.6576 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/0.3328, allocations: 16.89 MB / 0.6741 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3332, allocations: 0.5647 MB / 0.6747 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002645/0.3334, allocations: 116.3 kB / 0.6748 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.3339, allocations: 0.4886 MB / 0.6752 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.3339, allocations: 4 kB / 0.6752 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.3773, allocations: 41.44 MB / 0.7157 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.799, allocations: 6.281 kB / 0.7157 GB, free: 13.14 MB / 0.5573 GB " [Timeout remaining time 651] (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: 11.252297531813383] Failed to read output from testmodel.py, exit status != 0: 8.906852532178164 8.921289522 8.743840233 Calling exit ...