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.001701/0.001701, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.513/1.513, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001528/0.001528, allocations: 218.2 kB / 310 MB, free: 3.133 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.484/0.484, allocations: 79.74 MB / 446.2 MB, free: 38.85 MB / 350.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="cs",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="cs",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.002524/0.002524, allocations: 79.31 kB / 0.5937 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1035, allocations: 73.29 MB / 0.6653 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008256/0.1118, allocations: 7.065 MB / 0.6722 GB, free: 11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.1168, allocations: 2.171 MB / 0.6743 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1178, allocations: 19.88 kB / 0.6743 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.1186, allocations: 265.8 kB / 0.6746 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.121, allocations: 0.8464 MB / 0.6754 GB, free: 7.77 MB / 462.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.001753/0.1228, allocations: 0.7533 MB / 0.6761 GB, free: 7.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1251, allocations: 1.756 MB / 0.6778 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.1256, allocations: 292.1 kB / 0.6781 GB, free: 4.949 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1267, allocations: 0.7353 MB / 0.6788 GB, free: 4.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.1278, allocations: 0.8478 MB / 0.6797 GB, free: 3.359 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.128, allocations: 135.9 kB / 0.6798 GB, free: 3.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.1286, allocations: 291.8 kB / 0.6801 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.129, allocations: 350.6 kB / 0.6804 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.1297, allocations: 0.7107 MB / 0.6811 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.132, allocations: 1.852 MB / 0.6829 GB, free: 24 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.132, allocations: 0 / 0.6829 GB, free: 24 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.132, allocations: 0 / 0.6829 GB, free: 24 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.132, allocations: 4 kB / 0.6829 GB, free: 20 kB / 462.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.01004/0.142, allocations: 2.98 MB / 0.6858 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1421, allocations: 12.03 kB / 0.6858 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.207e-05/0.1421, allocations: 25.98 kB / 0.6859 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.1423, allocations: 151.3 kB / 0.686 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/0.148, allocations: 0.8185 MB / 0.6868 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.1501, allocations: 0.8622 MB / 0.6877 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/0.1506, allocations: 485.8 kB / 0.6881 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.1508, allocations: 103.9 kB / 0.6882 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.1538, allocations: 1.291 MB / 0.6895 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1538, allocations: 0 / 0.6895 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.154, allocations: 36 kB / 0.6895 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.154, allocations: 24 kB / 0.6895 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.1571, allocations: 1.198 MB / 0.6907 GB, free: 7.84 MB / 478.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.1653, allocations: 4.107 MB / 0.6947 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.1688, allocations: 1.238 MB / 0.6959 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.1708, allocations: 0.7744 MB / 0.6967 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1709, allocations: 16.98 kB / 0.6967 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/0.1732, allocations: 0.9621 MB / 0.6976 GB, free: 0.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.935e-06/0.1732, allocations: 0 / 0.6976 GB, free: 0.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03718/0.2104, allocations: 7.702 MB / 0.7052 GB, free: 8.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2105, allocations: 123.8 kB / 0.7053 GB, free: 8.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.2123, allocations: 1.033 MB / 0.7063 GB, free: 7.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002762/0.2125, allocations: 49.7 kB / 0.7063 GB, free: 7.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.213, allocations: 0.5292 MB / 0.7068 GB, free: 7.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/0.2136, allocations: 416.4 kB / 0.7072 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.2141, allocations: 239.5 kB / 0.7075 GB, free: 6.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2143, allocations: 365.9 kB / 0.7078 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.2164, allocations: 0.7847 MB / 0.7086 GB, free: 5.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.2186, allocations: 0.9444 MB / 0.7095 GB, free: 4.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02537/0.244, allocations: 5.594 MB / 0.715 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.244, allocations: 4 kB / 0.715 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.016/0.26, allocations: 4.425 MB / 0.7193 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/0.2601, allocations: 59.41 kB / 0.7194 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2601, allocations: 4.312 kB / 0.7194 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/0.2669, allocations: 1.738 MB / 0.7211 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.2686, allocations: 287.6 kB / 0.7213 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/0.2927, allocations: 8.944 MB / 0.7301 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.2947, allocations: 211.1 kB / 0.7303 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.2948, allocations: 47.98 kB / 0.7303 GB, free: 14.69 MB / 0.5137 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.0006815/0.2955, allocations: 307.6 kB / 0.7306 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.2958, allocations: 143 kB / 0.7307 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/0.3125, allocations: 4.358 MB / 0.735 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.3126, allocations: 12 kB / 0.735 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3126, allocations: 0 / 0.735 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.3126, allocations: 11.92 kB / 0.735 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.3319, allocations: 6.196 MB / 0.7411 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3319, allocations: 0 / 0.7411 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.3328, allocations: 127.9 kB / 0.7412 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007436/0.3402, allocations: 1.899 MB / 0.743 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.3405, allocations: 31.92 kB / 0.7431 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/0.3677, allocations: 10.52 MB / 0.7534 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3677, allocations: 0 / 0.7534 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/0.3869, allocations: 5.395 MB / 0.7586 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.3873, allocations: 158.8 kB / 0.7588 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.3876, allocations: 16 kB / 0.7588 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.389, allocations: 143.8 kB / 0.7589 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/0.3898, allocations: 240.6 kB / 0.7592 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.3899, allocations: 31.98 kB / 0.7592 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001193/0.3911, allocations: 0.7085 MB / 0.7599 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.3911, allocations: 0 / 0.7599 GB, free: 15.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001617/0.3927, allocations: 491.5 kB / 0.7603 GB, free: 15.47 MB / 0.545 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.01937/0.4121, allocations: 5.968 MB / 0.7662 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007939/0.42, allocations: 2.597 MB / 0.7687 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.42, allocations: 0 / 0.7687 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005963/0.426, allocations: 1.821 MB / 0.7705 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.427, allocations: 129.1 kB / 0.7706 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04616/0.4732, allocations: 16.78 MB / 0.787 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008397/0.474, allocations: 1.155 MB / 0.7881 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005354/0.4746, allocations: 120.3 kB / 0.7882 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.4753, allocations: 0.4915 MB / 0.7887 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.4753, allocations: 4 kB / 0.7887 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/0.7919, allocations: 40.4 MB / 0.8282 GB, free: 127 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.33, allocations: 20.39 kB / 0.8282 GB, free: 127 MB / 0.5762 GB " [Timeout remaining time 643] (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: 20.257432277081534] Failed to read output from testmodel.py, exit status != 0: 16.53041511506308 16.547942338 16.412518242 Calling exit ...