Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.001656/0.001656, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.527/1.527, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001878/0.001878, allocations: 218 kB / 309.2 MB, free: 3.203 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.4792/0.4792, allocations: 79.74 MB / 445.4 MB, free: 14.86 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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",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.002959/0.002959, allocations: 87.88 kB / 0.5929 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1725, allocations: 73.29 MB / 0.6645 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008933/0.1815, allocations: 6.769 MB / 0.6711 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.1867, allocations: 2.087 MB / 0.6732 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.1881, allocations: 8 kB / 0.6732 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.1893, allocations: 245.9 kB / 0.6734 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.1926, allocations: 0.8833 MB / 0.6743 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1944, allocations: 0.6505 MB / 0.6749 GB, free: 9.906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.1975, allocations: 1.706 MB / 0.6766 GB, free: 8.195 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.1981, allocations: 234.9 kB / 0.6768 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.1996, allocations: 0.712 MB / 0.6775 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.2012, allocations: 0.8947 MB / 0.6784 GB, free: 6.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.2017, allocations: 132 kB / 0.6785 GB, free: 6.211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2027, allocations: 295.8 kB / 0.6788 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.2032, allocations: 342.6 kB / 0.6791 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2044, allocations: 0.703 MB / 0.6798 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.2073, allocations: 1.758 MB / 0.6815 GB, free: 3.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2073, allocations: 0 / 0.6815 GB, free: 3.113 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2073, allocations: 4 kB / 0.6815 GB, free: 3.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.365e-05/0.2074, allocations: 0 / 0.6815 GB, free: 3.109 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01216/0.2196, allocations: 2.917 MB / 0.6844 GB, free: 140 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.2196, allocations: 19.92 kB / 0.6844 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004521/0.2201, allocations: 126.8 kB / 0.6845 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.2256, allocations: 0.7952 MB / 0.6853 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.228, allocations: 0.8662 MB / 0.6861 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004314/0.2284, allocations: 337.3 kB / 0.6864 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.2287, allocations: 84 kB / 0.6865 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.2316, allocations: 1.11 MB / 0.6876 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2316, allocations: 0 / 0.6876 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.2318, allocations: 31.98 kB / 0.6876 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.2318, allocations: 24 kB / 0.6877 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.2344, allocations: 1.003 MB / 0.6886 GB, free: 11.63 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.008336/0.2427, allocations: 3.849 MB / 0.6924 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007434/0.2501, allocations: 2.042 MB / 0.6944 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.2518, allocations: 0.6293 MB / 0.695 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.2519, allocations: 20.98 kB / 0.695 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.2539, allocations: 0.8411 MB / 0.6959 GB, free: 4.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.527e-06/0.2539, allocations: 0 / 0.6959 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.4129/0.6668, allocations: 6.893 MB / 0.7026 GB, free: 35.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.6668, allocations: 115.4 kB / 0.7027 GB, free: 35.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.6687, allocations: 1.147 MB / 0.7038 GB, free: 34.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.6689, allocations: 46.38 kB / 0.7039 GB, free: 34.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.6693, allocations: 0.5026 MB / 0.7043 GB, free: 34.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.6697, allocations: 386.3 kB / 0.7047 GB, free: 34.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.6702, allocations: 301.5 kB / 0.705 GB, free: 34.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.6702, allocations: 303.9 kB / 0.7053 GB, free: 34.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.672, allocations: 0.7926 MB / 0.7061 GB, free: 34.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.6739, allocations: 0.9752 MB / 0.707 GB, free: 34.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0272/0.701, allocations: 6.143 MB / 0.713 GB, free: 32.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.7011, allocations: 2.5 kB / 0.713 GB, free: 32.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01437/0.7154, allocations: 4.484 MB / 0.7174 GB, free: 31.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.7155, allocations: 66.66 kB / 0.7175 GB, free: 31.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.7155, allocations: 2.531 kB / 0.7175 GB, free: 31.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006056/0.7216, allocations: 1.667 MB / 0.7191 GB, free: 31.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.7232, allocations: 297.8 kB / 0.7194 GB, free: 31.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.7422, allocations: 8.528 MB / 0.7277 GB, free: 26.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.7443, allocations: 209.6 kB / 0.7279 GB, free: 26.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7444, allocations: 59.33 kB / 0.728 GB, free: 26.1 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.745, allocations: 308 kB / 0.7283 GB, free: 25.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.7452, allocations: 134.2 kB / 0.7284 GB, free: 25.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.757, allocations: 3.888 MB / 0.7322 GB, free: 23.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.757, allocations: 10.69 kB / 0.7322 GB, free: 23.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.757, allocations: 9.812 kB / 0.7322 GB, free: 23.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.757, allocations: 7.812 kB / 0.7322 GB, free: 23.76 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 postOpt removeSimpleEquations (simulation): time 0.01263/0.7696, allocations: 5.495 MB / 0.7376 GB, free: 19.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7696, allocations: 0 / 0.7376 GB, free: 19.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.7702, allocations: 114.6 kB / 0.7377 GB, free: 19.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/0.7749, allocations: 1.59 MB / 0.7392 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.775, allocations: 27.98 kB / 0.7393 GB, free: 18.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.792, allocations: 9.438 MB / 0.7485 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.792, allocations: 0.5625 kB / 0.7485 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.8046, allocations: 4.79 MB / 0.7532 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.8051, allocations: 154.9 kB / 0.7533 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.8053, allocations: 23.94 kB / 0.7533 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8064, allocations: 111.9 kB / 0.7534 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/0.807, allocations: 204.6 kB / 0.7536 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.8071, allocations: 24.64 kB / 0.7537 GB, free: 3.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009578/0.8081, allocations: 0.7713 MB / 0.7544 GB, free: 2.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8081, allocations: 0 / 0.7544 GB, free: 2.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001485/0.8095, allocations: 495.6 kB / 0.7549 GB, free: 1.984 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * 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): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01511/0.8247, allocations: 5.378 MB / 0.7601 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007155/0.8318, allocations: 2.477 MB / 0.7625 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8318, allocations: 0 / 0.7625 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004489/0.8363, allocations: 1.57 MB / 0.7641 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8374, allocations: 117.5 kB / 0.7642 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04145/0.8789, allocations: 16.79 MB / 0.7806 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.8797, allocations: 1.139 MB / 0.7817 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000529/0.8802, allocations: 124.3 kB / 0.7818 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/0.8809, allocations: 487.3 kB / 0.7823 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.8809, allocations: 0 / 0.7823 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09637/0.9773, allocations: 36.97 MB / 0.8184 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.61, allocations: 5.938 kB / 0.8184 GB, free: 0.8125 MB / 0.545 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.337218176107854] Failed to read output from testmodel.py, exit status != 0: 17.74841658398509 17.77326591 17.561001898 Calling exit ...