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.001342/0.001342, allocations: 101.3 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001534/0.001534, allocations: 213.9 kB / 310 MB, free: 3.09 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.4723/0.4723, allocations: 79.75 MB / 446.2 MB, free: 40.45 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.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_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.002441/0.002441, allocations: 86.98 kB / 0.5936 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1108, allocations: 73.29 MB / 0.6652 GB, free: 432 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.00722/0.1181, allocations: 5.845 MB / 0.6709 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.1224, allocations: 1.987 MB / 0.6728 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.123, allocations: 15.94 kB / 0.6728 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.1237, allocations: 245.9 kB / 0.6731 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.1259, allocations: 0.8104 MB / 0.6739 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1275, allocations: 0.6618 MB / 0.6745 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.1301, allocations: 1.663 MB / 0.6761 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/0.1307, allocations: 245.2 kB / 0.6764 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1318, allocations: 0.6964 MB / 0.6771 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1328, allocations: 0.8246 MB / 0.6779 GB, free: 4.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.133, allocations: 124 kB / 0.678 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.1336, allocations: 283.8 kB / 0.6783 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.134, allocations: 330.6 kB / 0.6786 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.1346, allocations: 0.5555 MB / 0.6791 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.1366, allocations: 1.739 MB / 0.6808 GB, free: 1.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1366, allocations: 0 / 0.6808 GB, free: 1.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1366, allocations: 0 / 0.6808 GB, free: 1.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.1366, allocations: 4 kB / 0.6808 GB, free: 1.809 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.01024/0.1469, allocations: 2.886 MB / 0.6836 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.1469, allocations: 8.031 kB / 0.6836 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.139e-05/0.147, allocations: 25.98 kB / 0.6837 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.1472, allocations: 134.9 kB / 0.6838 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/0.1525, allocations: 0.8108 MB / 0.6846 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1545, allocations: 0.8265 MB / 0.6854 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003585/0.1548, allocations: 289.8 kB / 0.6857 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.155, allocations: 84 kB / 0.6857 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.1576, allocations: 1.201 MB / 0.6869 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1577, allocations: 0 / 0.6869 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1578, allocations: 32 kB / 0.687 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.1578, allocations: 20 kB / 0.687 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.1602, allocations: 1.103 MB / 0.688 GB, free: 10.21 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.006596/0.1668, allocations: 2.897 MB / 0.6909 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.1693, allocations: 1.03 MB / 0.6919 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.1709, allocations: 0.7361 MB / 0.6926 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.171, allocations: 20.92 kB / 0.6926 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.1729, allocations: 0.9171 MB / 0.6935 GB, free: 4.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.206e-06/0.1729, allocations: 0 / 0.6935 GB, free: 4.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02728/0.2002, allocations: 6.812 MB / 0.7002 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.2003, allocations: 119.8 kB / 0.7003 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.2021, allocations: 1.035 MB / 0.7013 GB, free: 12.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.2023, allocations: 45.7 kB / 0.7013 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.2027, allocations: 0.5092 MB / 0.7018 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.2032, allocations: 388.7 kB / 0.7022 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005325/0.2037, allocations: 243.5 kB / 0.7024 GB, free: 11.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2039, allocations: 361.9 kB / 0.7028 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.2057, allocations: 0.8154 MB / 0.7036 GB, free: 10.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.2076, allocations: 0.9617 MB / 0.7045 GB, free: 9.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02293/0.2305, allocations: 5.527 MB / 0.7099 GB, free: 3.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.2305, allocations: 3.938 kB / 0.7099 GB, free: 3.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01499/0.2455, allocations: 4.538 MB / 0.7144 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.2456, allocations: 63.34 kB / 0.7144 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2456, allocations: 3.984 kB / 0.7144 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007043/0.2527, allocations: 1.854 MB / 0.7162 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.2541, allocations: 247.7 kB / 0.7165 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.2775, allocations: 9.158 MB / 0.7254 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.2794, allocations: 203 kB / 0.7256 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.2795, allocations: 47.98 kB / 0.7256 GB, free: 3.199 MB / 0.4981 GB 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.0006329/0.2802, allocations: 293.5 kB / 0.7259 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.2804, allocations: 131.2 kB / 0.726 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/0.2946, allocations: 4.179 MB / 0.7301 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.2946, allocations: 12 kB / 0.7301 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2946, allocations: 7.938 kB / 0.7301 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.2946, allocations: 7.969 kB / 0.7302 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.3112, allocations: 5.364 MB / 0.7354 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3112, allocations: 0 / 0.7354 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/0.312, allocations: 107.8 kB / 0.7355 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/0.3186, allocations: 1.813 MB / 0.7373 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.3188, allocations: 27.98 kB / 0.7373 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/0.3423, allocations: 9.911 MB / 0.747 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3423, allocations: 0 / 0.747 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.3591, allocations: 5.156 MB / 0.752 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.3595, allocations: 142.9 kB / 0.7521 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.3598, allocations: 27.94 kB / 0.7522 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.3612, allocations: 116 kB / 0.7523 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007374/0.362, allocations: 216.6 kB / 0.7525 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.3621, allocations: 31.94 kB / 0.7525 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001226/0.3633, allocations: 0.7071 MB / 0.7532 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3633, allocations: 0 / 0.7532 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001562/0.3649, allocations: 483.6 kB / 0.7537 GB, free: 6.074 MB / 0.5294 GB 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.01635/0.3812, allocations: 5.757 MB / 0.7593 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0075/0.3887, allocations: 2.632 MB / 0.7619 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3887, allocations: 0 / 0.7619 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/0.3939, allocations: 1.768 MB / 0.7636 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3949, allocations: 112.4 kB / 0.7637 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/0.44, allocations: 16.83 MB / 0.7801 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.4409, allocations: 0.5397 MB / 0.7807 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006404/0.4415, allocations: 108.1 kB / 0.7808 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/0.4424, allocations: 471.3 kB / 0.7812 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.4424, allocations: 3.938 kB / 0.7812 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/0.7715, allocations: 38.86 MB / 0.8192 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.26, allocations: 9.734 kB / 0.8192 GB, free: 132.5 MB / 0.5762 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.897443228051998] Failed to read output from testmodel.py, exit status != 0: 16.46122624410782 16.480064885 16.339960764 Calling exit ...