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.001403/0.001403, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.478/1.478, allocations: 230.6 MB / 253.4 MB, free: 14.44 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.001481/0.001481, allocations: 209.1 kB / 310 MB, free: 3.164 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.4753/0.4753, allocations: 79.74 MB / 446.2 MB, free: 38.87 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: 83.72 kB / 0.5937 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1127, allocations: 73.29 MB / 0.6653 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007951/0.1207, allocations: 6.697 MB / 0.6718 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1255, allocations: 2.098 MB / 0.6739 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.1265, allocations: 15.94 kB / 0.6739 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.1274, allocations: 245.9 kB / 0.6741 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.1297, allocations: 0.8273 MB / 0.6749 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1313, allocations: 0.678 MB / 0.6756 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.1337, allocations: 1.666 MB / 0.6772 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.1343, allocations: 233.2 kB / 0.6774 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1355, allocations: 0.7003 MB / 0.6781 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1366, allocations: 0.8284 MB / 0.6789 GB, free: 4.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.1368, allocations: 124 kB / 0.679 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005769/0.1374, allocations: 291.8 kB / 0.6793 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.1377, allocations: 322.7 kB / 0.6796 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.1383, allocations: 0.6758 MB / 0.6803 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.1404, allocations: 1.723 MB / 0.682 GB, free: 0.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1404, allocations: 0 / 0.682 GB, free: 0.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1404, allocations: 0 / 0.682 GB, free: 0.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.1405, allocations: 0 / 0.682 GB, free: 0.957 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.009881/0.1503, allocations: 2.894 MB / 0.6848 GB, free: 14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1504, allocations: 8.031 kB / 0.6848 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.702e-05/0.1504, allocations: 25.94 kB / 0.6848 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.1506, allocations: 130.9 kB / 0.6849 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.1562, allocations: 0.8147 MB / 0.6857 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.158, allocations: 0.8265 MB / 0.6865 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.1583, allocations: 277.9 kB / 0.6868 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.1585, allocations: 91.94 kB / 0.6869 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.1611, allocations: 1.176 MB / 0.688 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1611, allocations: 0 / 0.688 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.1612, allocations: 36 kB / 0.6881 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1613, allocations: 20 kB / 0.6881 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.1638, allocations: 1.066 MB / 0.6891 GB, free: 9.43 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.007218/0.1711, allocations: 3.626 MB / 0.6927 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.1736, allocations: 1.02 MB / 0.6937 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.1754, allocations: 0.711 MB / 0.6944 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1755, allocations: 16.98 kB / 0.6944 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/0.1774, allocations: 0.8881 MB / 0.6953 GB, free: 3.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.494e-06/0.1774, allocations: 0 / 0.6953 GB, free: 3.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02917/0.2066, allocations: 6.766 MB / 0.7019 GB, free: 12.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.2067, allocations: 115.8 kB / 0.702 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.2085, allocations: 1.031 MB / 0.703 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.2087, allocations: 45.7 kB / 0.703 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.2093, allocations: 0.5053 MB / 0.7035 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.2098, allocations: 396.7 kB / 0.7039 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005458/0.2104, allocations: 247.5 kB / 0.7041 GB, free: 9.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2106, allocations: 353.9 kB / 0.7045 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.2124, allocations: 0.7691 MB / 0.7052 GB, free: 8.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.2144, allocations: 0.9077 MB / 0.7061 GB, free: 7.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02386/0.2382, allocations: 5.519 MB / 0.7115 GB, free: 2.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.2382, allocations: 11.94 kB / 0.7115 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01608/0.2543, allocations: 4.48 MB / 0.7159 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.2544, allocations: 67.33 kB / 0.7159 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.2544, allocations: 0 / 0.7159 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/0.2621, allocations: 1.861 MB / 0.7178 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.2636, allocations: 247.7 kB / 0.718 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/0.289, allocations: 9.37 MB / 0.7272 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.291, allocations: 199 kB / 0.7273 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.2912, allocations: 47.98 kB / 0.7274 GB, free: 1.742 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.000742/0.292, allocations: 283.6 kB / 0.7277 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.2923, allocations: 131.2 kB / 0.7278 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.3076, allocations: 4.157 MB / 0.7318 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.3076, allocations: 12 kB / 0.7319 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3076, allocations: 3.938 kB / 0.7319 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.3077, allocations: 3.984 kB / 0.7319 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.3258, allocations: 5.913 MB / 0.7376 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.3258, allocations: 0 / 0.7376 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.3266, allocations: 107.8 kB / 0.7377 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006821/0.3334, allocations: 1.817 MB / 0.7395 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.3337, allocations: 27.98 kB / 0.7395 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/0.3589, allocations: 10.12 MB / 0.7494 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3589, allocations: 0 / 0.7494 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.3764, allocations: 5.102 MB / 0.7544 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.3768, allocations: 150.9 kB / 0.7546 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.3771, allocations: 23.94 kB / 0.7546 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.3786, allocations: 115.9 kB / 0.7547 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007449/0.3793, allocations: 224.5 kB / 0.7549 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.3795, allocations: 27.98 kB / 0.7549 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001261/0.3807, allocations: 0.7071 MB / 0.7556 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3807, allocations: 0 / 0.7556 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001617/0.3824, allocations: 479.7 kB / 0.7561 GB, free: 3.902 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.01776/0.4001, allocations: 5.712 MB / 0.7617 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008171/0.4083, allocations: 2.561 MB / 0.7642 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4083, allocations: 0 / 0.7642 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/0.414, allocations: 1.734 MB / 0.7658 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4151, allocations: 115.5 kB / 0.766 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04658/0.4617, allocations: 16.58 MB / 0.7821 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.4629, allocations: 1.132 MB / 0.7832 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006749/0.4636, allocations: 107.9 kB / 0.7834 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/0.4645, allocations: 483.3 kB / 0.7838 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.4645, allocations: 0 / 0.7838 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3477/0.8122, allocations: 38.79 MB / 0.8217 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.04, allocations: 9.672 kB / 0.8217 GB, free: 129.6 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.85723325901199] Failed to read output from testmodel.py, exit status != 0: 16.24692630104255 16.264560527 16.120660118 Calling exit ...