Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001354/0.001354, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.399/1.399, allocations: 230.6 MB / 252.6 MB, free: 8.336 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.001583/0.001583, allocations: 208.8 kB / 309.2 MB, free: 3.18 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.5469/0.5469, allocations: 101.4 MB / 467 MB, free: 10.33 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.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.002425/0.002425, allocations: 81.59 kB / 0.6246 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5568, allocations: 78.6 MB / 0.7013 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0204/0.5772, allocations: 21.97 MB / 0.7228 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.5925, allocations: 4.921 MB / 0.7276 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006867/0.5993, allocations: 44.47 kB / 0.7276 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.6038, allocations: 0.8884 MB / 0.7285 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.6162, allocations: 2.308 MB / 0.7307 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008028/0.6242, allocations: 2.06 MB / 0.7328 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01454/0.6388, allocations: 5.749 MB / 0.7384 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002696/0.6415, allocations: 0.9169 MB / 0.7393 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/0.6478, allocations: 2.393 MB / 0.7416 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007376/0.6552, allocations: 2.955 MB / 0.7445 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.657, allocations: 435.8 kB / 0.7449 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.6598, allocations: 0.6008 MB / 0.7455 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.661, allocations: 1.153 MB / 0.7466 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004484/0.6655, allocations: 2.606 MB / 0.7492 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.6772, allocations: 6.271 MB / 0.7553 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.6772, allocations: 0 / 0.7553 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6772, allocations: 5.344 kB / 0.7553 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003813/0.6776, allocations: 0 / 0.7553 GB, free: 4.102 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03691/0.7145, allocations: 9.9 MB / 0.765 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.7145, allocations: 10.97 kB / 0.765 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000708/0.7152, allocations: 489.1 kB / 0.7654 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02627/0.7415, allocations: 4.051 MB / 0.7694 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/0.7488, allocations: 2.566 MB / 0.7719 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/0.75, allocations: 1.036 MB / 0.7729 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.7514, allocations: 351.9 kB / 0.7732 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.7616, allocations: 4.727 MB / 0.7779 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/0.7617, allocations: 0 / 0.7779 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/0.7621, allocations: 144 kB / 0.778 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.7621, allocations: 88 kB / 0.7781 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009147/0.7713, allocations: 4.244 MB / 0.7822 GB, free: 13.29 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.03911/0.8104, allocations: 18.07 MB / 0.7999 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.8228, allocations: 4.339 MB / 0.8041 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006362/0.8292, allocations: 2.478 MB / 0.8065 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005916/0.8298, allocations: 70.91 kB / 0.8066 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007806/0.8376, allocations: 3.181 MB / 0.8097 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 1.078e-05/0.8376, allocations: 0 / 0.8097 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.2931/1.131, allocations: 67.76 MB / 0.8759 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.131, allocations: 149.8 kB / 0.876 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/1.136, allocations: 3.218 MB / 0.8792 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009714/1.137, allocations: 89.7 kB / 0.8792 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.138, allocations: 2.005 MB / 0.8812 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.141, allocations: 1.371 MB / 0.8825 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/1.142, allocations: 0.6823 MB / 0.8832 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.142, allocations: 305.1 kB / 0.8835 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005657/1.148, allocations: 2.585 MB / 0.886 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/1.154, allocations: 3.217 MB / 0.8892 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0726/1.227, allocations: 18.99 MB / 0.9077 GB, free: 10.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/1.227, allocations: 4 kB / 0.9077 GB, free: 10.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05873/1.286, allocations: 17.14 MB / 0.9244 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/1.286, allocations: 67.41 kB / 0.9245 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/1.286, allocations: 20 kB / 0.9245 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02638/1.312, allocations: 7.15 MB / 0.9315 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/1.316, allocations: 0.6747 MB / 0.9322 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09103/1.407, allocations: 33.23 MB / 0.9646 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007384/1.414, allocations: 0.6338 MB / 0.9652 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.415, allocations: 148 kB / 0.9654 GB, free: 15.49 MB / 0.7325 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002471/1.418, allocations: 0.6718 MB / 0.966 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.419, allocations: 484.9 kB / 0.9665 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4262/1.845, allocations: 16.71 MB / 0.9828 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/1.846, allocations: 41.31 kB / 0.9829 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/1.846, allocations: 28.16 kB / 0.9829 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/1.846, allocations: 23.81 kB / 0.9829 GB, free: 231.5 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.06603/1.912, allocations: 21.68 MB / 1.004 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.912, allocations: 3.812 kB / 1.004 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.914, allocations: 392.4 kB / 1.004 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02628/1.94, allocations: 7.34 MB / 1.012 GB, free: 227.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/1.942, allocations: 69.42 kB / 1.012 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07352/2.015, allocations: 31.65 MB / 1.043 GB, free: 213.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.015, allocations: 0 / 1.043 GB, free: 213.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05517/2.07, allocations: 20.11 MB / 1.062 GB, free: 194.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.072, allocations: 0.5051 MB / 1.063 GB, free: 194.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/2.074, allocations: 68.88 kB / 1.063 GB, free: 194.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004878/2.079, allocations: 383.5 kB / 1.063 GB, free: 194 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003067/2.082, allocations: 0.8152 MB / 1.064 GB, free: 193.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004217/2.082, allocations: 91.98 kB / 1.064 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002944/2.085, allocations: 2.105 MB / 1.066 GB, free: 191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.085, allocations: 2.906 kB / 1.066 GB, free: 191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006868/2.092, allocations: 1.811 MB / 1.068 GB, free: 189.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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.05554/2.148, allocations: 20.76 MB / 1.088 GB, free: 168.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02305/2.171, allocations: 8.765 MB / 1.097 GB, free: 159.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.171, allocations: 0 / 1.097 GB, free: 159.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01749/2.188, allocations: 5.859 MB / 1.102 GB, free: 153.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/2.192, allocations: 392.3 kB / 1.103 GB, free: 153.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1384/2.33, allocations: 58.65 MB / 1.16 GB, free: 93.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/2.332, allocations: 2.443 MB / 1.162 GB, free: 91.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001599/2.334, allocations: 383.1 kB / 1.163 GB, free: 91.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/2.336, allocations: 1.979 MB / 1.165 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/2.336, allocations: 0 / 1.165 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5847/2.92, allocations: 130.6 MB / 1.292 GB, free: 240.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.51/27.43, allocations: 2.469 kB / 1.292 GB, free: 240.8 MB / 0.7481 GB " [Timeout remaining time 632] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.307605169000453] Failed to read output from testmodel.py, exit status != 0: 27.62164074300017 27.643243071 26.96171884 Calling exit ...