Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0007808/0.0007808, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.8676/0.8676, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.0009907/0.0009907, allocations: 152.6 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.2584/0.2584, allocations: 80.36 MB / 392.7 MB, free: 2.371 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.324e-05, allocations: 2.281 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004959/0.004982, allocations: 5.773 MB / 0.5606 GB, free: 6.766 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.008273, allocations: 1.924 MB / 0.5625 GB, free: 4.836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.008967, allocations: 12 kB / 0.5625 GB, free: 4.824 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.009588, allocations: 237.8 kB / 0.5627 GB, free: 4.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.01139, allocations: 0.8572 MB / 0.5636 GB, free: 3.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.01244, allocations: 0.6345 MB / 0.5642 GB, free: 3.098 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.014, allocations: 1.584 MB / 0.5657 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.01436, allocations: 210.9 kB / 0.5659 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.01549, allocations: 0.9076 MB / 0.5668 GB, free: 388 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/0.01616, allocations: 0.6659 MB / 0.5675 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.01636, allocations: 124 kB / 0.5676 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.0168, allocations: 279.6 kB / 0.5678 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.017, allocations: 334.5 kB / 0.5682 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.01737, allocations: 458.5 kB / 0.5686 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.01898, allocations: 1.729 MB / 0.5703 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01898, allocations: 4 kB / 0.5703 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01898, allocations: 0 / 0.5703 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.915e-05/0.01903, allocations: 0 / 0.5703 GB, free: 12.8 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005255/0.02429, allocations: 2.796 MB / 0.573 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.02433, allocations: 12.03 kB / 0.573 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.02445, allocations: 130.6 kB / 0.5732 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.02716, allocations: 0.7874 MB / 0.5739 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.02846, allocations: 0.8346 MB / 0.5747 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.02868, allocations: 341.2 kB / 0.5751 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.02881, allocations: 87.98 kB / 0.5752 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.03021, allocations: 1.1 MB / 0.5762 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.03023, allocations: 3.938 kB / 0.5762 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.03029, allocations: 31.94 kB / 0.5763 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.03031, allocations: 20 kB / 0.5763 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.03166, allocations: 1.005 MB / 0.5773 GB, free: 5.469 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.004743/0.0364, allocations: 2.941 MB / 0.5801 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/0.04074, allocations: 2.015 MB / 0.5821 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.04182, allocations: 0.6466 MB / 0.5827 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.225e-05/0.04191, allocations: 12.94 kB / 0.5827 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.04303, allocations: 0.8389 MB / 0.5836 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.448e-06/0.04303, allocations: 0 / 0.5836 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.01519/0.05822, allocations: 7.068 MB / 0.5905 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.05829, allocations: 119.8 kB / 0.5906 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.0595, allocations: 1.106 MB / 0.5917 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.05972, allocations: 45.7 kB / 0.5917 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.05999, allocations: 0.4897 MB / 0.5922 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.06031, allocations: 364.9 kB / 0.5925 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.06063, allocations: 279.5 kB / 0.5928 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.0607, allocations: 309.1 kB / 0.5931 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.06176, allocations: 0.8076 MB / 0.5939 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.06302, allocations: 0.984 MB / 0.5948 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2162/0.2792, allocations: 5.771 MB / 0.6005 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2792, allocations: 0 / 0.6005 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007105/0.2863, allocations: 4.397 MB / 0.6048 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.2864, allocations: 59.22 kB / 0.6048 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2864, allocations: 3.688 kB / 0.6048 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/0.2893, allocations: 1.596 MB / 0.6064 GB, free: 90.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/0.2902, allocations: 277.2 kB / 0.6067 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.3021, allocations: 8.226 MB / 0.6147 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3033, allocations: 199.7 kB / 0.6149 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.3034, allocations: 56.78 kB / 0.6149 GB, free: 86.41 MB / 0.5105 GB 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.000464/0.3039, allocations: 313.3 kB / 0.6152 GB, free: 86.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.304, allocations: 130.9 kB / 0.6154 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/0.3112, allocations: 3.868 MB / 0.6191 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3112, allocations: 11.22 kB / 0.6191 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3112, allocations: 10.41 kB / 0.6192 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.3112, allocations: 5.797 kB / 0.6192 GB, free: 85.15 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.00875/0.32, allocations: 4.983 MB / 0.624 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.32, allocations: 1.094 kB / 0.624 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.3203, allocations: 99.95 kB / 0.6241 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.3233, allocations: 1.6 MB / 0.6257 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.3234, allocations: 18.12 kB / 0.6257 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.3348, allocations: 9.245 MB / 0.6347 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3348, allocations: 1.375 kB / 0.6347 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007617/0.3424, allocations: 4.761 MB / 0.6394 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.3427, allocations: 149.5 kB / 0.6395 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3429, allocations: 19.28 kB / 0.6395 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.3434, allocations: 114.5 kB / 0.6397 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.3438, allocations: 212 kB / 0.6399 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3438, allocations: 27.02 kB / 0.6399 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006195/0.3445, allocations: 0.7333 MB / 0.6406 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3445, allocations: 4 kB / 0.6406 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001067/0.3455, allocations: 469.9 kB / 0.641 GB, free: 75.27 MB / 0.5105 GB 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.007111/0.3526, allocations: 5.352 MB / 0.6463 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003396/0.356, allocations: 2.46 MB / 0.6487 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.356, allocations: 0 / 0.6487 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.3582, allocations: 1.552 MB / 0.6502 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.3589, allocations: 117.8 kB / 0.6503 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.3786, allocations: 16.1 MB / 0.666 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3788, allocations: 0.5316 MB / 0.6665 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.3792, allocations: 120.4 kB / 0.6667 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.3796, allocations: 480.3 kB / 0.6671 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.502e-06/0.3796, allocations: 0 / 0.6671 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.4188, allocations: 37.81 MB / 0.704 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.779, allocations: 4.062 kB / 0.7041 GB, free: 11.46 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.098912820219994] Failed to read output from testmodel.py, exit status != 0: 8.88151788059622 8.886865547 8.866334779 Calling exit ...