Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001315/0.001315, 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.483/1.483, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.00158/0.00158, allocations: 210.1 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.4901/0.4901, allocations: 79.74 MB / 445.4 MB, free: 14.86 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.002471/0.002471, allocations: 83.88 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1844, allocations: 73.29 MB / 0.6645 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.009027/0.1934, allocations: 6.58 MB / 0.6709 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005299/0.1987, allocations: 2.017 MB / 0.6729 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1998, allocations: 16 kB / 0.6729 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009048/0.2007, allocations: 237.9 kB / 0.6732 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.2032, allocations: 0.8627 MB / 0.674 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2047, allocations: 0.6285 MB / 0.6746 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.207, allocations: 1.619 MB / 0.6762 GB, free: 8.562 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.2075, allocations: 222.9 kB / 0.6764 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.2085, allocations: 0.6808 MB / 0.6771 GB, free: 7.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2096, allocations: 0.844 MB / 0.6779 GB, free: 6.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.2098, allocations: 120 kB / 0.678 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.2104, allocations: 283.9 kB / 0.6783 GB, free: 6.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.2108, allocations: 330.6 kB / 0.6786 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.2114, allocations: 0.668 MB / 0.6792 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.2136, allocations: 1.688 MB / 0.6809 GB, free: 3.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.2136, allocations: 4 kB / 0.6809 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.2136, allocations: 0 / 0.6809 GB, free: 3.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.2137, allocations: 0 / 0.6809 GB, free: 3.711 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009673/0.2233, allocations: 2.821 MB / 0.6837 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.2234, allocations: 15.98 kB / 0.6837 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.2236, allocations: 122.6 kB / 0.6838 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.2289, allocations: 0.7913 MB / 0.6846 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.231, allocations: 0.8385 MB / 0.6854 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.2314, allocations: 341.2 kB / 0.6857 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.2315, allocations: 79.95 kB / 0.6858 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.2338, allocations: 1.09 MB / 0.6868 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2338, allocations: 8 kB / 0.6869 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.2339, allocations: 32 kB / 0.6869 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.2339, allocations: 16 kB / 0.6869 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.2361, allocations: 0.9877 MB / 0.6879 GB, free: 12.4 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.007979/0.2441, allocations: 3.747 MB / 0.6915 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007286/0.2513, allocations: 1.997 MB / 0.6935 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.2528, allocations: 0.6167 MB / 0.6941 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.2529, allocations: 16.98 kB / 0.6941 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.2546, allocations: 0.8177 MB / 0.6949 GB, free: 4.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 3.025e-06/0.2546, allocations: 7.938 kB / 0.6949 GB, free: 4.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.3983/0.6529, allocations: 6.998 MB / 0.7017 GB, free: 34.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.653, allocations: 124.6 kB / 0.7019 GB, free: 34.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.655, allocations: 1.082 MB / 0.7029 GB, free: 34.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003019/0.6553, allocations: 48.91 kB / 0.703 GB, free: 34.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.6558, allocations: 0.4983 MB / 0.7034 GB, free: 34.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/0.6563, allocations: 369.8 kB / 0.7038 GB, free: 34.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/0.6569, allocations: 283.3 kB / 0.7041 GB, free: 34.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.657, allocations: 305.1 kB / 0.7044 GB, free: 33.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.6587, allocations: 0.7561 MB / 0.7051 GB, free: 33.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.6608, allocations: 0.9236 MB / 0.706 GB, free: 33.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02486/0.6856, allocations: 5.773 MB / 0.7116 GB, free: 32.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.6856, allocations: 4.969 kB / 0.7116 GB, free: 32.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01426/0.6999, allocations: 4.334 MB / 0.7159 GB, free: 31.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.7, allocations: 67.31 kB / 0.7159 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.7, allocations: 3.469 kB / 0.7159 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/0.7055, allocations: 1.59 MB / 0.7175 GB, free: 31.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.7071, allocations: 287.1 kB / 0.7178 GB, free: 31.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.7255, allocations: 8.412 MB / 0.726 GB, free: 26.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7274, allocations: 199 kB / 0.7262 GB, free: 26.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.7276, allocations: 60.69 kB / 0.7262 GB, free: 26.52 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006048/0.7282, allocations: 298.2 kB / 0.7265 GB, free: 26.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.7284, allocations: 130.3 kB / 0.7266 GB, free: 26.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7402, allocations: 3.839 MB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.7402, allocations: 9.625 kB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.7402, allocations: 6.875 kB / 0.7304 GB, free: 24.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.7403, allocations: 9.359 kB / 0.7304 GB, free: 24.23 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.01325/0.7535, allocations: 5.407 MB / 0.7357 GB, free: 21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7535, allocations: 2.719 kB / 0.7357 GB, free: 21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.7541, allocations: 99.69 kB / 0.7358 GB, free: 20.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/0.7589, allocations: 1.599 MB / 0.7373 GB, free: 19.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.759, allocations: 23.98 kB / 0.7374 GB, free: 19.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.7762, allocations: 9.448 MB / 0.7466 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7762, allocations: 0 / 0.7466 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.7893, allocations: 4.708 MB / 0.7512 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.7898, allocations: 147.4 kB / 0.7513 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.79, allocations: 31.92 kB / 0.7514 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7911, allocations: 103.9 kB / 0.7515 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.7917, allocations: 204.6 kB / 0.7517 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.7918, allocations: 28 kB / 0.7517 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009136/0.7927, allocations: 0.7315 MB / 0.7524 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7927, allocations: 4.094 kB / 0.7524 GB, free: 4.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001358/0.7941, allocations: 484.3 kB / 0.7529 GB, free: 3.727 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.01354/0.8076, allocations: 5.295 MB / 0.758 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006623/0.8142, allocations: 2.392 MB / 0.7604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8142, allocations: 0 / 0.7604 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/0.8185, allocations: 1.533 MB / 0.7619 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8196, allocations: 117 kB / 0.762 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.8604, allocations: 16.01 MB / 0.7776 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/0.8612, allocations: 1.124 MB / 0.7787 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005987/0.8618, allocations: 120 kB / 0.7788 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/0.8625, allocations: 475.3 kB / 0.7793 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.8625, allocations: 0 / 0.7793 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.9737, allocations: 35.63 MB / 0.8141 GB, free: 4.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.28, allocations: 0 / 0.8141 GB, free: 4.898 MB / 0.545 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.204907929997717] Failed to read output from testmodel.py, exit status != 0: 17.425779148998117 17.44814781 17.231131131 Calling exit ...