Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0006872/0.0006872, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.831/0.831, allocations: 177.2 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.00119/0.00119, allocations: 156.5 kB / 256 MB, free: 13.35 MB / 250.7 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.2532/0.2532, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.159e-05, allocations: 6.219 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004856/0.004877, allocations: 5.89 MB / 0.5607 GB, free: 6.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.008083, allocations: 1.955 MB / 0.5626 GB, free: 4.699 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.008898, allocations: 11.94 kB / 0.5626 GB, free: 4.688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.009583, allocations: 249.8 kB / 0.5629 GB, free: 4.441 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.01141, allocations: 0.8725 MB / 0.5637 GB, free: 3.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.01239, allocations: 0.649 MB / 0.5644 GB, free: 2.922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.01428, allocations: 1.643 MB / 0.566 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.01467, allocations: 215 kB / 0.5662 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.01598, allocations: 0.9312 MB / 0.5671 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.01673, allocations: 0.697 MB / 0.5678 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.01695, allocations: 131.9 kB / 0.5679 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.0174, allocations: 275.8 kB / 0.5682 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.01762, allocations: 350.5 kB / 0.5685 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.01801, allocations: 482.4 kB / 0.5689 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.01978, allocations: 1.783 MB / 0.5707 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.01979, allocations: 0 / 0.5707 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.01979, allocations: 0 / 0.5707 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.033e-05/0.01986, allocations: 0 / 0.5707 GB, free: 12.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00615/0.02601, allocations: 2.867 MB / 0.5735 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.02605, allocations: 12.03 kB / 0.5735 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.02618, allocations: 122.7 kB / 0.5736 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.02882, allocations: 0.7991 MB / 0.5744 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.03022, allocations: 0.8544 MB / 0.5752 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.03047, allocations: 337.3 kB / 0.5756 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.03063, allocations: 84 kB / 0.5756 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.03209, allocations: 1.127 MB / 0.5767 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.03211, allocations: 4 kB / 0.5767 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.03218, allocations: 36 kB / 0.5768 GB, free: 6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.0322, allocations: 19.94 kB / 0.5768 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.03359, allocations: 1.017 MB / 0.5778 GB, free: 4.953 MB / 0.4948 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.004789/0.03838, allocations: 2.992 MB / 0.5807 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/0.04229, allocations: 2.034 MB / 0.5827 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.04338, allocations: 0.6504 MB / 0.5833 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.04347, allocations: 16.92 kB / 0.5833 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.04464, allocations: 0.8546 MB / 0.5842 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 4.889e-06/0.04464, allocations: 3.984 kB / 0.5842 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.01536/0.06, allocations: 7.099 MB / 0.5911 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.06007, allocations: 119.8 kB / 0.5912 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.06149, allocations: 1.131 MB / 0.5923 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.06179, allocations: 41.7 kB / 0.5924 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.06254, allocations: 0.5054 MB / 0.5929 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000467/0.06301, allocations: 380.8 kB / 0.5932 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.06337, allocations: 291.5 kB / 0.5935 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.06344, allocations: 305.1 kB / 0.5938 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.06462, allocations: 0.8349 MB / 0.5946 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.06581, allocations: 1.012 MB / 0.5956 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.205/0.2708, allocations: 6.008 MB / 0.6015 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.2708, allocations: 0 / 0.6015 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00708/0.2779, allocations: 4.477 MB / 0.6058 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.2779, allocations: 57.28 kB / 0.6059 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2779, allocations: 10.66 kB / 0.6059 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/0.2814, allocations: 1.635 MB / 0.6075 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2824, allocations: 290.8 kB / 0.6078 GB, free: 90.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.2948, allocations: 8.324 MB / 0.6159 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.296, allocations: 207.2 kB / 0.6161 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.2961, allocations: 57.06 kB / 0.6162 GB, free: 86.57 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (167): * Single equations (assignments): 164 * 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.0004911/0.2966, allocations: 316 kB / 0.6165 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2968, allocations: 136.2 kB / 0.6166 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007246/0.3041, allocations: 3.904 MB / 0.6204 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3041, allocations: 10.5 kB / 0.6204 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3041, allocations: 6.531 kB / 0.6204 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.3041, allocations: 5.734 kB / 0.6204 GB, free: 85.29 MB / 0.5105 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.008826/0.3129, allocations: 5.036 MB / 0.6253 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.313, allocations: 0 / 0.6253 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.3134, allocations: 106.8 kB / 0.6254 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.3163, allocations: 1.576 MB / 0.627 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.3165, allocations: 22.53 kB / 0.627 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.3277, allocations: 9.26 MB / 0.636 GB, free: 78.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3277, allocations: 1.281 kB / 0.6361 GB, free: 78.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/0.3353, allocations: 4.813 MB / 0.6408 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.3357, allocations: 159.2 kB / 0.6409 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.3358, allocations: 23.72 kB / 0.6409 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.3364, allocations: 107 kB / 0.641 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/0.3368, allocations: 207.5 kB / 0.6412 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.3368, allocations: 31.61 kB / 0.6413 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006578/0.3375, allocations: 0.7521 MB / 0.642 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3375, allocations: 0 / 0.642 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00116/0.3387, allocations: 493.6 kB / 0.6425 GB, free: 74.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00729/0.346, allocations: 5.394 MB / 0.6477 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.3496, allocations: 2.53 MB / 0.6502 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3496, allocations: 0 / 0.6502 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.3517, allocations: 1.551 MB / 0.6517 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.3525, allocations: 122.4 kB / 0.6518 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.3731, allocations: 16.56 MB / 0.668 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3734, allocations: 0.5371 MB / 0.6685 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000395/0.3737, allocations: 127.1 kB / 0.6687 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.3741, allocations: 476.3 kB / 0.6691 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/0.3741, allocations: 0 / 0.6691 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.4206, allocations: 38.73 MB / 0.7069 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/8.901, allocations: 13.38 kB / 0.7069 GB, free: 8.504 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.14214497525245] Failed to read output from testmodel.py, exit status != 0: 9.004860595799983 9.013440293 8.991950573 Calling exit ...