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.001378/0.001378, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.506/1.506, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001614/0.001614, allocations: 209.4 kB / 309.2 MB, free: 3.141 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.5077/0.5077, allocations: 79.75 MB / 445.4 MB, free: 14.83 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.002462/0.002462, allocations: 79.88 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1721, allocations: 73.29 MB / 0.6645 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008504/0.1806, allocations: 6.775 MB / 0.6711 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.1857, allocations: 2.076 MB / 0.6732 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1867, allocations: 12 kB / 0.6732 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.1875, allocations: 245.9 kB / 0.6734 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.1901, allocations: 0.896 MB / 0.6743 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1916, allocations: 0.645 MB / 0.6749 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.194, allocations: 1.702 MB / 0.6766 GB, free: 8.172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.1945, allocations: 223 kB / 0.6768 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1957, allocations: 0.7236 MB / 0.6775 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.1969, allocations: 0.8946 MB / 0.6784 GB, free: 6.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.1971, allocations: 132 kB / 0.6785 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.1978, allocations: 283.9 kB / 0.6788 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.1982, allocations: 350.5 kB / 0.6791 GB, free: 5.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.1989, allocations: 0.6991 MB / 0.6798 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.2013, allocations: 1.758 MB / 0.6815 GB, free: 3.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2013, allocations: 0 / 0.6815 GB, free: 3.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2013, allocations: 0 / 0.6815 GB, free: 3.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.2014, allocations: 4 kB / 0.6815 GB, free: 3.094 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.01029/0.2116, allocations: 2.925 MB / 0.6844 GB, free: 116 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.2117, allocations: 15.97 kB / 0.6844 GB, free: 100 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.2119, allocations: 126.8 kB / 0.6845 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.2169, allocations: 0.799 MB / 0.6853 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.219, allocations: 0.8662 MB / 0.6861 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.2193, allocations: 333.3 kB / 0.6864 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2195, allocations: 87.98 kB / 0.6865 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.2218, allocations: 1.11 MB / 0.6876 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2219, allocations: 0 / 0.6876 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.222, allocations: 32 kB / 0.6876 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.222, allocations: 20 kB / 0.6877 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.2242, allocations: 1.007 MB / 0.6886 GB, free: 11.61 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.007744/0.2319, allocations: 3.849 MB / 0.6924 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/0.2393, allocations: 2.039 MB / 0.6944 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.2409, allocations: 0.632 MB / 0.695 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.241, allocations: 20.97 kB / 0.695 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.2427, allocations: 0.8412 MB / 0.6958 GB, free: 4.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.446e-06/0.2427, allocations: 0 / 0.6958 GB, free: 4.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.364/0.6067, allocations: 6.9 MB / 0.7026 GB, free: 34.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.6067, allocations: 114.9 kB / 0.7027 GB, free: 34.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.6087, allocations: 1.144 MB / 0.7038 GB, free: 34.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.609, allocations: 46.02 kB / 0.7039 GB, free: 34.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.6094, allocations: 0.5047 MB / 0.7044 GB, free: 34.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.6099, allocations: 383.8 kB / 0.7047 GB, free: 34.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/0.6105, allocations: 300.1 kB / 0.705 GB, free: 34.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.6105, allocations: 305.1 kB / 0.7053 GB, free: 34.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.6124, allocations: 0.7972 MB / 0.7061 GB, free: 34.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.6144, allocations: 0.9712 MB / 0.707 GB, free: 33.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0286/0.643, allocations: 6.143 MB / 0.713 GB, free: 32.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.643, allocations: 1 kB / 0.713 GB, free: 32.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01574/0.6588, allocations: 4.488 MB / 0.7174 GB, free: 31.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.6588, allocations: 64.12 kB / 0.7175 GB, free: 31.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.6588, allocations: 3.219 kB / 0.7175 GB, free: 31.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006273/0.6651, allocations: 1.665 MB / 0.7191 GB, free: 31.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6668, allocations: 296.7 kB / 0.7194 GB, free: 31.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.6867, allocations: 8.521 MB / 0.7277 GB, free: 25.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.689, allocations: 215.8 kB / 0.7279 GB, free: 25.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.6891, allocations: 63.28 kB / 0.728 GB, free: 25.81 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.0006767/0.6898, allocations: 300.8 kB / 0.7283 GB, free: 25.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.6901, allocations: 134.2 kB / 0.7284 GB, free: 25.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.7025, allocations: 3.894 MB / 0.7322 GB, free: 23.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.7025, allocations: 11.91 kB / 0.7322 GB, free: 23.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.7025, allocations: 8.609 kB / 0.7322 GB, free: 23.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.7026, allocations: 9.281 kB / 0.7322 GB, free: 23.47 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.0139/0.7165, allocations: 5.494 MB / 0.7376 GB, free: 19.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.7165, allocations: 0 / 0.7376 GB, free: 19.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.7172, allocations: 107.8 kB / 0.7377 GB, free: 19.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.7221, allocations: 1.596 MB / 0.7392 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/0.7223, allocations: 20.75 kB / 0.7393 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.7397, allocations: 9.429 MB / 0.7485 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7397, allocations: 3 kB / 0.7485 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.7532, allocations: 4.792 MB / 0.7531 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.7538, allocations: 162 kB / 0.7533 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.754, allocations: 24.45 kB / 0.7533 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7553, allocations: 111.9 kB / 0.7534 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.7559, allocations: 200.6 kB / 0.7536 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.756, allocations: 28 kB / 0.7537 GB, free: 2.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009752/0.7569, allocations: 0.7713 MB / 0.7544 GB, free: 2.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7569, allocations: 0 / 0.7544 GB, free: 2.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001629/0.7586, allocations: 497.3 kB / 0.7549 GB, free: 1.66 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.01493/0.7735, allocations: 5.38 MB / 0.7601 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007167/0.7807, allocations: 2.477 MB / 0.7626 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7807, allocations: 0 / 0.7626 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004532/0.7852, allocations: 1.558 MB / 0.7641 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.7865, allocations: 124.9 kB / 0.7642 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/0.83, allocations: 16.78 MB / 0.7806 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/0.8309, allocations: 1.139 MB / 0.7817 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.8315, allocations: 120.3 kB / 0.7818 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/0.8323, allocations: 491.3 kB / 0.7823 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.8323, allocations: 3.938 kB / 0.7823 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09265/0.925, allocations: 36.97 MB / 0.8184 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/17.21, allocations: 3.188 kB / 0.8184 GB, free: 0.5117 MB / 0.545 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 20.98551063799823] Failed to read output from testmodel.py, exit status != 0: 17.34279683299974 17.359851933 17.155171269 Calling exit ...