Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001352/0.001352, 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.458/1.458, 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.001667/0.001667, allocations: 208.1 kB / 309.2 MB, free: 3.156 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.5597/0.5597, allocations: 101.3 MB / 467 MB, free: 10.34 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.00249/0.00249, allocations: 83.88 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5857, allocations: 78.6 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007472/0.5931, allocations: 6.813 MB / 0.7078 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.5979, allocations: 2.068 MB / 0.7099 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.599, allocations: 10.84 kB / 0.7099 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.5998, allocations: 252.1 kB / 0.7101 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.602, allocations: 0.9038 MB / 0.711 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.6034, allocations: 0.6451 MB / 0.7116 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.6056, allocations: 1.705 MB / 0.7133 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.606, allocations: 225.3 kB / 0.7135 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.6071, allocations: 0.7154 MB / 0.7142 GB, free: 484 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.6082, allocations: 0.8927 MB / 0.7151 GB, free: 56 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.6084, allocations: 132.6 kB / 0.7152 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.6091, allocations: 291.2 kB / 0.7155 GB, free: 4 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.6095, allocations: 344.8 kB / 0.7158 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007563/0.6103, allocations: 0.7059 MB / 0.7165 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.6129, allocations: 1.763 MB / 0.7182 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6129, allocations: 0.8906 kB / 0.7182 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6129, allocations: 0 / 0.7182 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.083e-05/0.613, allocations: 2.844 kB / 0.7182 GB, free: 14.5 MB / 0.4981 GB 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.0101/0.6231, allocations: 2.91 MB / 0.7211 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6231, allocations: 10.25 kB / 0.7211 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.6233, allocations: 131 kB / 0.7212 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.6283, allocations: 0.7964 MB / 0.722 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.6304, allocations: 0.868 MB / 0.7228 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.6308, allocations: 340.2 kB / 0.7232 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.631, allocations: 92.27 kB / 0.7232 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.6336, allocations: 1.109 MB / 0.7243 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.6336, allocations: 7.938 kB / 0.7243 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6337, allocations: 31.62 kB / 0.7244 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.6337, allocations: 18.75 kB / 0.7244 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.6362, allocations: 1.003 MB / 0.7254 GB, free: 11.22 MB / 0.4981 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.008894/0.6451, allocations: 3.853 MB / 0.7291 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.6525, allocations: 2.033 MB / 0.7311 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.6541, allocations: 0.6397 MB / 0.7317 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.6542, allocations: 15.23 kB / 0.7317 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.6559, allocations: 0.8453 MB / 0.7326 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.254e-06/0.6559, allocations: 1.25 kB / 0.7326 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02769/0.6836, allocations: 6.905 MB / 0.7393 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.6837, allocations: 118.6 kB / 0.7394 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.6859, allocations: 1.141 MB / 0.7405 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.6862, allocations: 49.61 kB / 0.7406 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.6866, allocations: 0.505 MB / 0.7411 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.6871, allocations: 384.7 kB / 0.7415 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005723/0.6877, allocations: 293.7 kB / 0.7417 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6878, allocations: 306.4 kB / 0.742 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.6896, allocations: 0.794 MB / 0.7428 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.6916, allocations: 0.9796 MB / 0.7438 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/0.7182, allocations: 6.134 MB / 0.7497 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7182, allocations: 1.406 kB / 0.7497 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01421/0.7324, allocations: 4.491 MB / 0.7541 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.7325, allocations: 59.41 kB / 0.7542 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.7325, allocations: 4 kB / 0.7542 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.7385, allocations: 1.658 MB / 0.7558 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.7402, allocations: 295.6 kB / 0.7561 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.7607, allocations: 8.536 MB / 0.7644 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.763, allocations: 215.1 kB / 0.7646 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.7632, allocations: 59.97 kB / 0.7647 GB, free: 14.89 MB / 0.5294 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 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.0007187/0.7639, allocations: 296.2 kB / 0.765 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.7642, allocations: 135.1 kB / 0.7651 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.7767, allocations: 3.889 MB / 0.7689 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.7767, allocations: 11.98 kB / 0.7689 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7767, allocations: 12 kB / 0.7689 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.7768, allocations: 3.984 kB / 0.7689 GB, free: 10.51 MB / 0.5294 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.01531/0.7921, allocations: 5.502 MB / 0.7743 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.7921, allocations: 4 kB / 0.7743 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.7928, allocations: 99.89 kB / 0.7744 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005503/0.7983, allocations: 1.607 MB / 0.776 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.7985, allocations: 23.98 kB / 0.776 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/0.8194, allocations: 9.424 MB / 0.7852 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8194, allocations: 240 / 0.7852 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/0.8344, allocations: 4.786 MB / 0.7899 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.8351, allocations: 166.7 kB / 0.79 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.8353, allocations: 16 kB / 0.79 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.8366, allocations: 115.8 kB / 0.7902 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000646/0.8372, allocations: 208.6 kB / 0.7904 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.8373, allocations: 32.05 kB / 0.7904 GB, free: 4.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001245/0.8386, allocations: 0.7673 MB / 0.7911 GB, free: 3.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8386, allocations: 0 / 0.7911 GB, free: 3.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00163/0.8402, allocations: 491.7 kB / 0.7916 GB, free: 2.898 MB / 0.545 GB 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.01488/0.8551, allocations: 5.383 MB / 0.7969 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006999/0.8621, allocations: 2.475 MB / 0.7993 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8621, allocations: 0 / 0.7993 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.8664, allocations: 1.564 MB / 0.8008 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.8676, allocations: 120.5 kB / 0.8009 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04326/0.9109, allocations: 16.79 MB / 0.8173 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009744/0.9119, allocations: 1.136 MB / 0.8184 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007796/0.9127, allocations: 120.3 kB / 0.8185 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/0.9134, allocations: 499.2 kB / 0.819 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of SimCode: time 2.434e-06/0.9134, allocations: 0 / 0.819 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08776/1.001, allocations: 36.96 MB / 0.8551 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.91, allocations: 4.062 kB / 0.8551 GB, free: 1.645 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.619595912001387] Failed to read output from testmodel.py, exit status != 0: 17.047488723997958 17.072903827 16.455206727 Calling exit ...