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.001356/0.001356, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.435/1.435, allocations: 230.6 MB / 250.5 MB, free: 9.223 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.001706/0.001706, allocations: 208.6 kB / 306.7 MB, free: 4.293 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.453/0.453, allocations: 79.71 MB / 442.5 MB, free: 15.94 MB / 318.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.002759/0.002759, allocations: 79.88 kB / 0.5885 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1461, allocations: 73.26 MB / 0.66 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008388/0.1545, allocations: 6.661 MB / 0.6665 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004743/0.1593, allocations: 2.067 MB / 0.6686 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.1604, allocations: 15.94 kB / 0.6686 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1615, allocations: 253.9 kB / 0.6688 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.1644, allocations: 0.8377 MB / 0.6696 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.1664, allocations: 0.6776 MB / 0.6703 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.1689, allocations: 1.643 MB / 0.6719 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.1695, allocations: 240.8 kB / 0.6721 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.1711, allocations: 0.6886 MB / 0.6728 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.1726, allocations: 0.8245 MB / 0.6736 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.1732, allocations: 128 kB / 0.6737 GB, free: 9.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.1743, allocations: 275.9 kB / 0.674 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.1748, allocations: 330.6 kB / 0.6743 GB, free: 9.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.1758, allocations: 0.6797 MB / 0.675 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.1788, allocations: 1.723 MB / 0.6767 GB, free: 6.938 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1788, allocations: 0 / 0.6767 GB, free: 6.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1788, allocations: 0 / 0.6767 GB, free: 6.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.078e-05/0.1789, allocations: 0 / 0.6767 GB, free: 6.938 MB / 478.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.01045/0.1893, allocations: 2.819 MB / 0.6794 GB, free: 4.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.1894, allocations: 16.03 kB / 0.6794 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.218e-05/0.1894, allocations: 18 kB / 0.6794 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/0.1897, allocations: 130.9 kB / 0.6796 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.1954, allocations: 0.8069 MB / 0.6804 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.1975, allocations: 0.9064 MB / 0.6812 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.1978, allocations: 252.2 kB / 0.6815 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.1981, allocations: 91.97 kB / 0.6816 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.2009, allocations: 1.176 MB / 0.6827 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2009, allocations: 0 / 0.6827 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.201, allocations: 32 kB / 0.6827 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2011, allocations: 20 kB / 0.6828 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.2037, allocations: 1.078 MB / 0.6838 GB, free: 15.41 MB / 494.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.007632/0.2113, allocations: 3.673 MB / 0.6874 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.2141, allocations: 1.461 MB / 0.6888 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.2157, allocations: 0.7071 MB / 0.6895 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.2159, allocations: 20.97 kB / 0.6895 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.2178, allocations: 0.8919 MB / 0.6904 GB, free: 8.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=102): time 3.617e-06/0.2178, allocations: 0 / 0.6904 GB, free: 8.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=102): time 0.02864/0.2465, allocations: 6.918 MB / 0.6972 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.2466, allocations: 115.8 kB / 0.6973 GB, free: 1.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.2487, allocations: 1.035 MB / 0.6983 GB, free: 212 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.249, allocations: 45.7 kB / 0.6983 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2565/0.5055, allocations: 0.504 MB / 0.6988 GB, free: 35.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.5061, allocations: 387.7 kB / 0.6992 GB, free: 35.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005567/0.5066, allocations: 245.8 kB / 0.6994 GB, free: 35.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.5067, allocations: 360 kB / 0.6998 GB, free: 34.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.5085, allocations: 0.7612 MB / 0.7005 GB, free: 34.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.5103, allocations: 0.9116 MB / 0.7014 GB, free: 34.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02321/0.5335, allocations: 5.523 MB / 0.7068 GB, free: 34.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.5335, allocations: 5.406 kB / 0.7068 GB, free: 34.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01574/0.5493, allocations: 4.484 MB / 0.7112 GB, free: 33.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.5493, allocations: 59.69 kB / 0.7112 GB, free: 32.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.5493, allocations: 3.734 kB / 0.7112 GB, free: 32.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007157/0.5565, allocations: 1.852 MB / 0.7131 GB, free: 32.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5579, allocations: 251.2 kB / 0.7133 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.5802, allocations: 9.486 MB / 0.7226 GB, free: 28.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.582, allocations: 204.6 kB / 0.7228 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5822, allocations: 47.86 kB / 0.7228 GB, free: 28.05 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.000548/0.5827, allocations: 292 kB / 0.7231 GB, free: 27.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.583, allocations: 138.6 kB / 0.7232 GB, free: 27.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.5965, allocations: 4.155 MB / 0.7273 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.5965, allocations: 7.844 kB / 0.7273 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5965, allocations: 7.328 kB / 0.7273 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.5965, allocations: 11.97 kB / 0.7273 GB, free: 26.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.6114, allocations: 5.918 MB / 0.7331 GB, free: 22.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.6114, allocations: 0 / 0.7331 GB, free: 22.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.6122, allocations: 112 kB / 0.7332 GB, free: 22.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005983/0.6181, allocations: 1.829 MB / 0.735 GB, free: 21.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.6184, allocations: 23.98 kB / 0.735 GB, free: 21.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.638, allocations: 10.33 MB / 0.7451 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.638, allocations: 3.609 kB / 0.7451 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.6525, allocations: 5.104 MB / 0.7501 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.6529, allocations: 227.4 kB / 0.7503 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6531, allocations: 19.98 kB / 0.7503 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6544, allocations: 115.9 kB / 0.7504 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/0.655, allocations: 212.7 kB / 0.7506 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.6551, allocations: 35.5 kB / 0.7506 GB, free: 5.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008868/0.656, allocations: 0.6993 MB / 0.7513 GB, free: 4.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.656, allocations: 0 / 0.7513 GB, free: 4.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001468/0.6574, allocations: 489.2 kB / 0.7518 GB, free: 4.047 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.01529/0.6727, allocations: 5.691 MB / 0.7574 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007976/0.6807, allocations: 2.563 MB / 0.7599 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6807, allocations: 0 / 0.7599 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005456/0.6862, allocations: 1.738 MB / 0.7616 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6873, allocations: 120.1 kB / 0.7617 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04505/0.7324, allocations: 16.56 MB / 0.7778 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.7332, allocations: 1.136 MB / 0.7789 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005655/0.7338, allocations: 99.92 kB / 0.779 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/0.7345, allocations: 479.3 kB / 0.7795 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of SimCode: time 1.303e-06/0.7345, allocations: 4 kB / 0.7795 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08045/0.815, allocations: 37.76 MB / 0.8164 GB, free: 1.785 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.98, allocations: 15.83 kB / 0.8164 GB, free: 1.777 MB / 0.545 GB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 18.26006481301738] Failed to read output from testmodel.py, exit status != 0: 15.15389763598796 15.176778063 14.99439 Calling exit ...