Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001845/0.001845, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.51/1.51, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.00192/0.00192, allocations: 216.2 kB / 309.2 MB, free: 2.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6145/0.6145, allocations: 107.3 MB / 473 MB, free: 4.457 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.00298/0.00298, allocations: 92.2 kB / 0.6334 GB, free: 4.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.506, allocations: 80.16 MB / 0.7116 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02044/0.5265, allocations: 18.62 MB / 0.7298 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.5424, allocations: 4.883 MB / 0.7346 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006497/0.5489, allocations: 43.16 kB / 0.7346 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.5532, allocations: 0.8867 MB / 0.7355 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.5643, allocations: 2.301 MB / 0.7377 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00792/0.5722, allocations: 2.076 MB / 0.7398 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01228/0.5845, allocations: 5.824 MB / 0.7455 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.5876, allocations: 0.8639 MB / 0.7463 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005732/0.5933, allocations: 2.435 MB / 0.7487 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006161/0.5995, allocations: 2.715 MB / 0.7513 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002586/0.6021, allocations: 446.1 kB / 0.7518 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.606, allocations: 0.603 MB / 0.7524 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.6085, allocations: 1.171 MB / 0.7535 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005854/0.6144, allocations: 2.14 MB / 0.7556 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.6275, allocations: 6.399 MB / 0.7618 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.6275, allocations: 3.938 kB / 0.7618 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6275, allocations: 4 kB / 0.7618 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003467/0.6278, allocations: 1.188 kB / 0.7618 GB, free: 2.035 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03979/0.6676, allocations: 9.995 MB / 0.7716 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6677, allocations: 15.97 kB / 0.7716 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001499/0.6692, allocations: 484.9 kB / 0.7721 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/0.6974, allocations: 4.063 MB / 0.776 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007729/0.7051, allocations: 2.602 MB / 0.7786 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001425/0.7065, allocations: 1.037 MB / 0.7796 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.7082, allocations: 359.9 kB / 0.7799 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.7233, allocations: 4.776 MB / 0.7846 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.7235, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.7247, allocations: 140 kB / 0.7847 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.551e-05/0.7248, allocations: 84 kB / 0.7848 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.7372, allocations: 4.261 MB / 0.789 GB, free: 7.555 MB / 0.545 GB 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.0419/0.7791, allocations: 13.47 MB / 0.8021 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.7931, allocations: 4.391 MB / 0.8064 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006867/0.8, allocations: 2.515 MB / 0.8089 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.8007, allocations: 62.91 kB / 0.8089 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008722/0.8094, allocations: 3.23 MB / 0.8121 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.061e-05/0.8094, allocations: 4 kB / 0.8121 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.3131/1.122, allocations: 66.6 MB / 0.8771 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.123, allocations: 145.8 kB / 0.8773 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006307/1.129, allocations: 3.29 MB / 0.8805 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.13, allocations: 93.73 kB / 0.8806 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/1.132, allocations: 2.009 MB / 0.8825 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002629/1.135, allocations: 1.39 MB / 0.8839 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003531/1.138, allocations: 0.6903 MB / 0.8846 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.139, allocations: 305.1 kB / 0.8849 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007023/1.146, allocations: 2.67 MB / 0.8875 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/1.153, allocations: 3.307 MB / 0.8907 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07783/1.231, allocations: 19.34 MB / 0.9096 GB, free: 10.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-05/1.231, allocations: 4 kB / 0.9096 GB, free: 10.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06411/1.295, allocations: 17.19 MB / 0.9264 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.295, allocations: 67.41 kB / 0.9264 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/1.295, allocations: 16 kB / 0.9265 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02864/1.324, allocations: 7.295 MB / 0.9336 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.328, allocations: 0.6787 MB / 0.9342 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1055/1.433, allocations: 32.92 MB / 0.9664 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/1.44, allocations: 0.6338 MB / 0.967 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.441, allocations: 156 kB / 0.9672 GB, free: 15.55 MB / 0.7325 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (409): * Single equations (assignments): 406 * 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 {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003305/1.445, allocations: 0.6753 MB / 0.9678 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001979/1.447, allocations: 480.9 kB / 0.9683 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4142/1.861, allocations: 16.78 MB / 0.9847 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/1.861, allocations: 36.75 kB / 0.9847 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001373/1.861, allocations: 31.22 kB / 0.9847 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/1.861, allocations: 22.83 kB / 0.9848 GB, free: 225.2 MB / 0.7325 GB 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.06972/1.931, allocations: 20.45 MB / 1.005 GB, free: 222 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/1.931, allocations: 0 / 1.005 GB, free: 222 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/1.933, allocations: 395.3 kB / 1.005 GB, free: 221.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02658/1.96, allocations: 7.333 MB / 1.012 GB, free: 220.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.961, allocations: 79.2 kB / 1.012 GB, free: 220.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08041/2.041, allocations: 30.83 MB / 1.042 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/2.041, allocations: 0 / 1.042 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06124/2.103, allocations: 20.23 MB / 1.062 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/2.104, allocations: 0.5096 MB / 1.063 GB, free: 187.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/2.106, allocations: 67.94 kB / 1.063 GB, free: 187 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005771/2.112, allocations: 383.5 kB / 1.063 GB, free: 186.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003965/2.116, allocations: 0.8153 MB / 1.064 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009362/2.117, allocations: 99.97 kB / 1.064 GB, free: 185.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003826/2.121, allocations: 2.145 MB / 1.066 GB, free: 183.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.121, allocations: 0 / 1.066 GB, free: 183.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007568/2.128, allocations: 1.823 MB / 1.068 GB, free: 181.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06254/2.191, allocations: 20.91 MB / 1.088 GB, free: 160.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02679/2.218, allocations: 9.053 MB / 1.097 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/2.218, allocations: 0 / 1.097 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01981/2.238, allocations: 5.931 MB / 1.103 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/2.244, allocations: 389.2 kB / 1.103 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1634/2.407, allocations: 59.26 MB / 1.161 GB, free: 85.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/2.41, allocations: 1.936 MB / 1.163 GB, free: 83.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002193/2.412, allocations: 379.3 kB / 1.163 GB, free: 82.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/2.415, allocations: 1.999 MB / 1.165 GB, free: 80.86 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/2.415, allocations: 0 / 1.165 GB, free: 80.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5607/2.975, allocations: 139.5 MB / 1.302 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/25.88, allocations: 8.125 kB / 1.302 GB, free: 250.1 MB / 0.7637 GB " [Timeout remaining time 634] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.957178868819028] Failed to read output from testmodel.py, exit status != 0: 26.070048994850367 26.091453404 25.459662485 Calling exit ...