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.001294/0.001294, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.442/1.442, allocations: 230.6 MB / 253.5 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.001528/0.001528, allocations: 212 kB / 310 MB, free: 3.062 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.504/0.504, allocations: 79.74 MB / 446.2 MB, free: 40.5 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.002507/0.002507, allocations: 86.23 kB / 0.5936 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1059, allocations: 73.29 MB / 0.6652 GB, free: 352 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007736/0.1136, allocations: 6.154 MB / 0.6712 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.1182, allocations: 2.082 MB / 0.6732 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.1189, allocations: 19.88 kB / 0.6733 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.1196, allocations: 257.8 kB / 0.6735 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.1216, allocations: 0.8213 MB / 0.6743 GB, free: 8.418 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.001732/0.1233, allocations: 0.7497 MB / 0.675 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.1255, allocations: 1.752 MB / 0.6768 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.126, allocations: 296 kB / 0.677 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.127, allocations: 0.7353 MB / 0.6778 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1281, allocations: 0.8516 MB / 0.6786 GB, free: 4.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.1284, allocations: 132 kB / 0.6787 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.129, allocations: 283.9 kB / 0.679 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.1294, allocations: 350.5 kB / 0.6793 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.13, allocations: 0.5827 MB / 0.6799 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.1323, allocations: 1.859 MB / 0.6817 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1323, allocations: 4 kB / 0.6817 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1323, allocations: 3.938 kB / 0.6817 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.1324, allocations: 4 kB / 0.6817 GB, free: 0.793 MB / 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.00969/0.1421, allocations: 2.987 MB / 0.6846 GB, free: 13.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1421, allocations: 8.031 kB / 0.6846 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.965e-05/0.1421, allocations: 26 kB / 0.6847 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.1423, allocations: 143.4 kB / 0.6848 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.1478, allocations: 0.8108 MB / 0.6856 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.1496, allocations: 0.8738 MB / 0.6864 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/0.1501, allocations: 481.8 kB / 0.6869 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.1503, allocations: 95.94 kB / 0.687 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.1533, allocations: 1.32 MB / 0.6883 GB, free: 9.848 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1533, allocations: 0 / 0.6883 GB, free: 9.848 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1534, allocations: 36 kB / 0.6883 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1534, allocations: 20 kB / 0.6883 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.1564, allocations: 1.235 MB / 0.6895 GB, free: 8.551 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.00736/0.1637, allocations: 3.265 MB / 0.6927 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.1672, allocations: 1.253 MB / 0.694 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.1691, allocations: 0.7996 MB / 0.6947 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1692, allocations: 16.98 kB / 0.6948 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002172/0.1713, allocations: 0.9872 MB / 0.6957 GB, free: 2.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.307e-06/0.1713, allocations: 0 / 0.6957 GB, free: 2.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.0343/0.2056, allocations: 7.749 MB / 0.7033 GB, free: 10.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.2057, allocations: 111.8 kB / 0.7034 GB, free: 10.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.2074, allocations: 1.045 MB / 0.7044 GB, free: 9.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.2076, allocations: 45.7 kB / 0.7045 GB, free: 9.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.2081, allocations: 0.5292 MB / 0.705 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.2086, allocations: 416.5 kB / 0.7054 GB, free: 8.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.2091, allocations: 243.5 kB / 0.7056 GB, free: 7.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2093, allocations: 357.9 kB / 0.7059 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.2112, allocations: 0.8388 MB / 0.7068 GB, free: 6.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.2133, allocations: 1.002 MB / 0.7077 GB, free: 5.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02374/0.237, allocations: 5.594 MB / 0.7132 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.237, allocations: 0 / 0.7132 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01455/0.2516, allocations: 4.483 MB / 0.7176 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.2517, allocations: 65.42 kB / 0.7176 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2517, allocations: 0 / 0.7176 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.2579, allocations: 1.738 MB / 0.7193 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.2596, allocations: 283.6 kB / 0.7196 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.2815, allocations: 8.76 MB / 0.7282 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.2833, allocations: 211.1 kB / 0.7284 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.2835, allocations: 47.98 kB / 0.7284 GB, free: 200 kB / 0.4981 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.0006426/0.2841, allocations: 299.7 kB / 0.7287 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.2844, allocations: 143 kB / 0.7288 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.2998, allocations: 4.383 MB / 0.7331 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.2998, allocations: 12 kB / 0.7331 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2998, allocations: 0 / 0.7331 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.13e-05/0.2998, allocations: 11.91 kB / 0.7331 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.3175, allocations: 5.651 MB / 0.7387 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.3175, allocations: 4 kB / 0.7387 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.3183, allocations: 131.9 kB / 0.7388 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006849/0.3251, allocations: 1.887 MB / 0.7406 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.3254, allocations: 28 kB / 0.7407 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/0.3504, allocations: 10.3 MB / 0.7507 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3504, allocations: 4.062 kB / 0.7507 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/0.3681, allocations: 5.445 MB / 0.756 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.3685, allocations: 155 kB / 0.7562 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.3688, allocations: 20 kB / 0.7562 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.3702, allocations: 147.7 kB / 0.7563 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/0.371, allocations: 240.6 kB / 0.7566 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.3711, allocations: 31.98 kB / 0.7566 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001167/0.3722, allocations: 0.7084 MB / 0.7573 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3722, allocations: 0 / 0.7573 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001504/0.3737, allocations: 487.6 kB / 0.7578 GB, free: 1.719 MB / 0.5294 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.018/0.3917, allocations: 6.03 MB / 0.7636 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007405/0.3991, allocations: 2.684 MB / 0.7663 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3991, allocations: 0 / 0.7663 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/0.4047, allocations: 1.834 MB / 0.7681 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4057, allocations: 129.2 kB / 0.7682 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/0.449, allocations: 17.02 MB / 0.7848 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.4497, allocations: 0.5569 MB / 0.7853 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005385/0.4502, allocations: 124.2 kB / 0.7855 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/0.451, allocations: 0.4915 MB / 0.7859 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.451, allocations: 0 / 0.7859 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3292/0.7802, allocations: 40.53 MB / 0.8255 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.56, allocations: 6.031 kB / 0.8255 GB, free: 129.1 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.222477765986696] Failed to read output from testmodel.py, exit status != 0: 16.758854295942 16.778445871 16.642350516 Calling exit ...