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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.5 kB / 299.8 MB, free: 9.855 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.4639/0.4639, allocations: 79.73 MB / 434.4 MB, free: 6.207 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.88 kB / 0.5784 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.159, allocations: 72.09 MB / 0.6488 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.01217/0.1711, allocations: 6.652 MB / 0.6553 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.1779, allocations: 2.04 MB / 0.6572 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.179, allocations: 15.94 kB / 0.6573 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1801, allocations: 242 kB / 0.6575 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.1832, allocations: 0.821 MB / 0.6583 GB, free: 8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1856, allocations: 0.6687 MB / 0.6589 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.1883, allocations: 1.647 MB / 0.6606 GB, free: 5.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.1889, allocations: 236.8 kB / 0.6608 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.1902, allocations: 0.6691 MB / 0.6614 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.1917, allocations: 0.8284 MB / 0.6622 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.192, allocations: 124 kB / 0.6624 GB, free: 3.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007324/0.1927, allocations: 259.9 kB / 0.6626 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.1931, allocations: 318.7 kB / 0.6629 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008927/0.194, allocations: 0.6874 MB / 0.6636 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.1969, allocations: 1.7 MB / 0.6652 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1969, allocations: 0 / 0.6652 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1969, allocations: 4 kB / 0.6653 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.1969, allocations: 0 / 0.6653 GB, free: 0.8438 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.01229/0.2092, allocations: 2.808 MB / 0.668 GB, free: 13.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2093, allocations: 8.031 kB / 0.668 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.2095, allocations: 134.9 kB / 0.6681 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.2147, allocations: 0.7835 MB / 0.6689 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.2169, allocations: 0.9103 MB / 0.6698 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.2173, allocations: 252.2 kB / 0.67 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.2175, allocations: 87.95 kB / 0.6701 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.22, allocations: 1.172 MB / 0.6713 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2201, allocations: 0 / 0.6713 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2202, allocations: 40 kB / 0.6713 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.2202, allocations: 20 kB / 0.6713 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.2225, allocations: 1.07 MB / 0.6724 GB, free: 9.387 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.006652/0.2292, allocations: 3.669 MB / 0.6759 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.2317, allocations: 1.465 MB / 0.6774 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.2332, allocations: 0.7035 MB / 0.6781 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2333, allocations: 20.94 kB / 0.6781 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.2352, allocations: 0.8908 MB / 0.6789 GB, free: 2.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.826e-06/0.2352, allocations: 3.938 kB / 0.6789 GB, free: 2.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02607/0.2612, allocations: 6.914 MB / 0.6857 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.2613, allocations: 123.8 kB / 0.6858 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.263, allocations: 1.031 MB / 0.6868 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.2632, allocations: 49.7 kB / 0.6869 GB, free: 10.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.2636, allocations: 0.5053 MB / 0.6874 GB, free: 9.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/0.2641, allocations: 388.7 kB / 0.6877 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.2646, allocations: 251.5 kB / 0.688 GB, free: 8.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2647, allocations: 353.9 kB / 0.6883 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.2664, allocations: 0.7691 MB / 0.6891 GB, free: 7.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.2682, allocations: 0.9077 MB / 0.69 GB, free: 6.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02094/0.2891, allocations: 5.421 MB / 0.6952 GB, free: 1.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.2891, allocations: 4 kB / 0.6952 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.3115/0.6007, allocations: 4.474 MB / 0.6996 GB, free: 43.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.6007, allocations: 67.02 kB / 0.6997 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6008, allocations: 3.062 kB / 0.6997 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/0.6079, allocations: 1.852 MB / 0.7015 GB, free: 43.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6093, allocations: 251.8 kB / 0.7017 GB, free: 43.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.6318, allocations: 9.472 MB / 0.711 GB, free: 39.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6337, allocations: 197.8 kB / 0.7112 GB, free: 39.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.6338, allocations: 52.38 kB / 0.7112 GB, free: 39.48 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.0005248/0.6343, allocations: 290.9 kB / 0.7115 GB, free: 39.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6345, allocations: 133 kB / 0.7116 GB, free: 39.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.6471, allocations: 4.153 MB / 0.7157 GB, free: 38.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6471, allocations: 11.03 kB / 0.7157 GB, free: 38.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6471, allocations: 12.94 kB / 0.7157 GB, free: 38.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6471, allocations: 7.312 kB / 0.7157 GB, free: 38.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.6612, allocations: 5.917 MB / 0.7215 GB, free: 35.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6612, allocations: 6.75 kB / 0.7215 GB, free: 35.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.6618, allocations: 106.3 kB / 0.7216 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00546/0.6673, allocations: 1.824 MB / 0.7234 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/0.6674, allocations: 19.84 kB / 0.7234 GB, free: 34.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.6849, allocations: 10.34 MB / 0.7335 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6849, allocations: 0 / 0.7335 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.6981, allocations: 5.1 MB / 0.7385 GB, free: 22.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.6986, allocations: 231.6 kB / 0.7387 GB, free: 21.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.6987, allocations: 21.94 kB / 0.7387 GB, free: 21.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.6999, allocations: 115.9 kB / 0.7388 GB, free: 21.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/0.7005, allocations: 208.7 kB / 0.739 GB, free: 21.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.7006, allocations: 30.38 kB / 0.7391 GB, free: 21.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008732/0.7015, allocations: 0.6993 MB / 0.7397 GB, free: 20.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7015, allocations: 0 / 0.7397 GB, free: 20.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001402/0.7029, allocations: 489.2 kB / 0.7402 GB, free: 20.34 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.01315/0.716, allocations: 5.69 MB / 0.7458 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006322/0.7223, allocations: 2.54 MB / 0.7482 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.7223, allocations: 0 / 0.7482 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004179/0.7265, allocations: 1.744 MB / 0.7499 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7278, allocations: 117.8 kB / 0.7501 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/0.7683, allocations: 16.55 MB / 0.7662 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.7696, allocations: 1.128 MB / 0.7673 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007219/0.7703, allocations: 107.9 kB / 0.7674 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.7713, allocations: 475.3 kB / 0.7679 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.7713, allocations: 0 / 0.7679 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09502/0.8663, allocations: 37.59 MB / 0.8046 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.78, allocations: 7.312 kB / 0.8046 GB, free: 2.254 MB / 0.5294 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.381155504845083] Failed to read output from testmodel.py, exit status != 0: 15.894247424788773 15.919640659 15.718512567 Calling exit ...