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.001653/0.001653, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.582/1.582, allocations: 230.6 MB / 249.8 MB, free: 9.215 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.002323/0.002323, allocations: 220.2 kB / 306 MB, free: 4.324 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.6233/0.6233, allocations: 101.3 MB / 463.4 MB, free: 11.88 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.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.002803/0.002803, allocations: 83.88 kB / 0.6194 GB, free: 15.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 78.57 MB / 0.6962 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.4021/0.5745, allocations: 22.08 MB / 0.7177 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.5902, allocations: 4.965 MB / 0.7226 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007291/0.5974, allocations: 49.06 kB / 0.7226 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004228/0.6017, allocations: 0.8852 MB / 0.7235 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.613, allocations: 2.327 MB / 0.7258 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00737/0.6204, allocations: 2.058 MB / 0.7278 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.6342, allocations: 5.81 MB / 0.7334 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003069/0.6372, allocations: 0.9209 MB / 0.7343 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005908/0.6431, allocations: 2.426 MB / 0.7367 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006604/0.6498, allocations: 3.002 MB / 0.7396 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002506/0.6523, allocations: 448.5 kB / 0.7401 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.6557, allocations: 0.6172 MB / 0.7407 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.658, allocations: 1.166 MB / 0.7418 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006147/0.6641, allocations: 2.639 MB / 0.7444 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.6784, allocations: 6.336 MB / 0.7506 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6784, allocations: 0 / 0.7506 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.766e-06/0.6784, allocations: 3.938 kB / 0.7506 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003694/0.6787, allocations: 4 kB / 0.7506 GB, free: 4.781 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.04204/0.7208, allocations: 9.429 MB / 0.7598 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.7208, allocations: 9.719 kB / 0.7598 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001923/0.7228, allocations: 491.7 kB / 0.7603 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/0.7516, allocations: 4.064 MB / 0.7642 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009011/0.7606, allocations: 2.725 MB / 0.7669 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/0.762, allocations: 0.9535 MB / 0.7678 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/0.7639, allocations: 352 kB / 0.7682 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.7804, allocations: 4.747 MB / 0.7728 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.7805, allocations: 4 kB / 0.7728 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.7818, allocations: 140 kB / 0.7729 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/0.7818, allocations: 86.56 kB / 0.773 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.7944, allocations: 4.268 MB / 0.7772 GB, free: 14.71 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.04568/0.8401, allocations: 18.32 MB / 0.7951 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/0.8545, allocations: 4.689 MB / 0.7997 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00716/0.8617, allocations: 2.494 MB / 0.8021 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/0.8626, allocations: 70.92 kB / 0.8022 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008703/0.8713, allocations: 3.197 MB / 0.8053 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=385): time 9.698e-06/0.8713, allocations: 4 kB / 0.8053 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=385): time 0.3185/1.19, allocations: 66.7 MB / 0.8704 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.19, allocations: 141.8 kB / 0.8706 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007732/1.198, allocations: 3.271 MB / 0.8738 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.199, allocations: 97.73 kB / 0.8739 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.201, allocations: 2.001 MB / 0.8758 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002919/1.204, allocations: 1.39 MB / 0.8772 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003848/1.208, allocations: 0.6903 MB / 0.8778 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.208, allocations: 305.1 kB / 0.8781 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007208/1.215, allocations: 2.62 MB / 0.8807 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008064/1.224, allocations: 3.249 MB / 0.8839 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08036/1.304, allocations: 19.33 MB / 0.9027 GB, free: 12.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/1.304, allocations: 4 kB / 0.9027 GB, free: 12.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.065/1.369, allocations: 17.15 MB / 0.9195 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.369, allocations: 67.39 kB / 0.9196 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/1.369, allocations: 12 kB / 0.9196 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02968/1.399, allocations: 7.299 MB / 0.9267 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.403, allocations: 0.6787 MB / 0.9274 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/1.508, allocations: 33.91 MB / 0.9605 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007355/1.515, allocations: 0.6347 MB / 0.9611 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.516, allocations: 156 kB / 0.9612 GB, free: 15.89 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.003433/1.52, allocations: 0.6688 MB / 0.9619 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/1.522, allocations: 480.9 kB / 0.9624 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4065/1.929, allocations: 16.76 MB / 0.9787 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/1.929, allocations: 42.56 kB / 0.9788 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-05/1.929, allocations: 27.88 kB / 0.9788 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.504e-05/1.929, allocations: 19.53 kB / 0.9788 GB, free: 231.4 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.06574/1.995, allocations: 21.78 MB / 1 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/1.995, allocations: 0 / 1 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.997, allocations: 394.8 kB / 1 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02606/2.023, allocations: 7.342 MB / 1.008 GB, free: 227.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/2.024, allocations: 70.73 kB / 1.008 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09066/2.115, allocations: 31.89 MB / 1.039 GB, free: 213.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/2.115, allocations: 0 / 1.039 GB, free: 213.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06138/2.176, allocations: 20.18 MB / 1.059 GB, free: 195.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/2.178, allocations: 0.5881 MB / 1.059 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/2.18, allocations: 64 kB / 1.059 GB, free: 195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004919/2.185, allocations: 383.5 kB / 1.06 GB, free: 194.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003011/2.188, allocations: 0.7843 MB / 1.06 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/2.188, allocations: 95.98 kB / 1.06 GB, free: 193.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002731/2.191, allocations: 2.145 MB / 1.063 GB, free: 191.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/2.191, allocations: 4 kB / 1.063 GB, free: 191.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005714/2.196, allocations: 1.831 MB / 1.064 GB, free: 189.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.05837/2.255, allocations: 20.84 MB / 1.085 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02457/2.279, allocations: 8.979 MB / 1.093 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/2.279, allocations: 0 / 1.093 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/2.298, allocations: 5.912 MB / 1.099 GB, free: 153.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/2.302, allocations: 386.2 kB / 1.1 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1437/2.446, allocations: 59.02 MB / 1.157 GB, free: 93.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/2.447, allocations: 2.451 MB / 1.16 GB, free: 91.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001577/2.449, allocations: 379.2 kB / 1.16 GB, free: 90.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/2.451, allocations: 2.007 MB / 1.162 GB, free: 88.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.313e-06/2.451, allocations: 1.031 kB / 1.162 GB, free: 88.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6035/3.054, allocations: 132.1 MB / 1.291 GB, free: 241.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.97/27.02, allocations: 6.625 kB / 1.291 GB, free: 241.8 MB / 0.7481 GB " [Timeout remaining time 633] (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: 31.227274872129783] Failed to read output from testmodel.py, exit status != 0: 27.189355856040493 27.20900999 26.526693643 Calling exit ...