Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0007709/0.0007709, 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.8525/0.8525, allocations: 177.2 MB / 199.4 MB, free: 5.922 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.0009655/0.0009655, allocations: 156.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2623/0.2623, allocations: 80.25 MB / 392.6 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.168e-05, allocations: 6.281 kB / 0.5548 GB, free: 12.33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00433/0.004342, allocations: 5.925 MB / 0.5606 GB, free: 6.375 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.006522, allocations: 1.99 MB / 0.5625 GB, free: 4.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.006801, allocations: 8 kB / 0.5625 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.007285, allocations: 245.8 kB / 0.5628 GB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.008391, allocations: 0.8863 MB / 0.5636 GB, free: 3.246 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.009083, allocations: 0.6562 MB / 0.5643 GB, free: 2.598 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.0101, allocations: 1.674 MB / 0.5659 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.01035, allocations: 218.9 kB / 0.5661 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1766/0.1869, allocations: 0.9384 MB / 0.567 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008724/0.1878, allocations: 0.7153 MB / 0.5677 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.188, allocations: 135.8 kB / 0.5679 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.1884, allocations: 281.2 kB / 0.5681 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1887, allocations: 356.3 kB / 0.5685 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.189, allocations: 485.1 kB / 0.5689 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1904, allocations: 1.809 MB / 0.5707 GB, free: 15.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1904, allocations: 0 / 0.5707 GB, free: 15.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1904, allocations: 0 / 0.5707 GB, free: 15.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1904, allocations: 0 / 0.5707 GB, free: 15.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00478/0.1952, allocations: 2.895 MB / 0.5735 GB, free: 14.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1953, allocations: 10.12 kB / 0.5735 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.1954, allocations: 125.2 kB / 0.5737 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.1979, allocations: 0.7992 MB / 0.5744 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.1988, allocations: 0.8723 MB / 0.5753 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.199, allocations: 337.2 kB / 0.5756 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.1991, allocations: 87.95 kB / 0.5757 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2005, allocations: 1.131 MB / 0.5768 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2005, allocations: 0 / 0.5768 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.2005, allocations: 33.55 kB / 0.5768 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.2005, allocations: 21.91 kB / 0.5768 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2019, allocations: 1.028 MB / 0.5779 GB, free: 13.25 MB / 442.7 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.003862/0.2057, allocations: 3.02 MB / 0.5808 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.2098, allocations: 2.055 MB / 0.5828 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.2107, allocations: 0.6621 MB / 0.5835 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/0.2107, allocations: 13.8 kB / 0.5835 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009985/0.2117, allocations: 0.8659 MB / 0.5843 GB, free: 10.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.104e-06/0.2117, allocations: 0 / 0.5843 GB, free: 10.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01398/0.2257, allocations: 6.965 MB / 0.5911 GB, free: 8.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2257, allocations: 118.2 kB / 0.5912 GB, free: 8.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.2268, allocations: 1.145 MB / 0.5923 GB, free: 7.418 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.2268, allocations: 46.3 kB / 0.5924 GB, free: 7.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.227, allocations: 0.5009 MB / 0.5929 GB, free: 6.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.2272, allocations: 382.7 kB / 0.5932 GB, free: 6.605 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.2275, allocations: 292.1 kB / 0.5935 GB, free: 6.434 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.045e-05/0.2276, allocations: 309.1 kB / 0.5938 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.2286, allocations: 0.847 MB / 0.5946 GB, free: 5.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2296, allocations: 1.027 MB / 0.5956 GB, free: 5.027 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.242, allocations: 6.143 MB / 0.6016 GB, free: 1.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2421, allocations: 3.281 kB / 0.6016 GB, free: 1.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007407/0.2495, allocations: 4.541 MB / 0.6061 GB, free: 13.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.2495, allocations: 63.39 kB / 0.6061 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2495, allocations: 4 kB / 0.6061 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.2528, allocations: 1.66 MB / 0.6078 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.2535, allocations: 297.6 kB / 0.6081 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.2652, allocations: 8.347 MB / 0.6162 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.2664, allocations: 212.7 kB / 0.6164 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.2665, allocations: 55.98 kB / 0.6165 GB, free: 3.137 MB / 458.7 MB 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 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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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.0004998/0.267, allocations: 311.6 kB / 0.6168 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.2671, allocations: 139.1 kB / 0.6169 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006759/0.2739, allocations: 3.915 MB / 0.6207 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2739, allocations: 11.94 kB / 0.6207 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2739, allocations: 8 kB / 0.6207 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-06/0.2739, allocations: 3.984 kB / 0.6207 GB, free: 14.76 MB / 474.7 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.008209/0.2821, allocations: 5.058 MB / 0.6257 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.2821, allocations: 13.69 kB / 0.6257 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.2825, allocations: 102.3 kB / 0.6258 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.2853, allocations: 1.6 MB / 0.6273 GB, free: 7.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.2854, allocations: 24 kB / 0.6274 GB, free: 7.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.2967, allocations: 9.243 MB / 0.6364 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2967, allocations: 0 / 0.6364 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007985/0.3047, allocations: 4.83 MB / 0.6411 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.305, allocations: 158.9 kB / 0.6413 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3051, allocations: 24 kB / 0.6413 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3058, allocations: 111.9 kB / 0.6414 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/0.3061, allocations: 200.6 kB / 0.6416 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.3062, allocations: 28 kB / 0.6416 GB, free: 9.152 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007482/0.3069, allocations: 0.7713 MB / 0.6424 GB, free: 8.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3069, allocations: 0 / 0.6424 GB, free: 8.375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001011/0.3079, allocations: 499.6 kB / 0.6428 GB, free: 7.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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.007978/0.3159, allocations: 5.427 MB / 0.6481 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.3197, allocations: 2.553 MB / 0.6506 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3197, allocations: 0 / 0.6506 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.322, allocations: 1.585 MB / 0.6522 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.3226, allocations: 117 kB / 0.6523 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.3459, allocations: 16.8 MB / 0.6687 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3463, allocations: 0.548 MB / 0.6692 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.3466, allocations: 120.2 kB / 0.6694 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.347, allocations: 492.3 kB / 0.6698 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/0.347, allocations: 0 / 0.6698 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.3917, allocations: 39.22 MB / 0.7081 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.033/9.425, allocations: 4.5 kB / 0.7081 GB, free: 5.062 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.640043643303216] Failed to read output from testmodel.py, exit status != 0: 9.53315822687 9.541986636 9.349985529 Calling exit ...