Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001527/0.001527, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.57/1.57, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001666/0.001666, allocations: 227.7 kB / 309.2 MB, free: 3.168 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.6954/0.6954, allocations: 107.3 MB / 473 MB, free: 29.87 MB / 350.1 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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [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.002537/0.002537, allocations: 82.45 kB / 0.6338 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1933, allocations: 80.18 MB / 0.7121 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01489/0.2082, allocations: 11.64 MB / 0.7234 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009855/0.2181, allocations: 3.441 MB / 0.7268 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.2212, allocations: 31.94 kB / 0.7268 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.2234, allocations: 0.5615 MB / 0.7274 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.2309, allocations: 1.557 MB / 0.7289 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.2356, allocations: 1.515 MB / 0.7304 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007665/0.2432, allocations: 3.764 MB / 0.734 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.245, allocations: 0.5737 MB / 0.7346 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.2488, allocations: 1.587 MB / 0.7361 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.2523, allocations: 1.811 MB / 0.7379 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.2536, allocations: 284 kB / 0.7382 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.2555, allocations: 443.8 kB / 0.7386 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.2569, allocations: 0.7585 MB / 0.7394 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.2598, allocations: 1.332 MB / 0.7407 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/0.2661, allocations: 4.061 MB / 0.7446 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2661, allocations: 0 / 0.7446 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2661, allocations: 0 / 0.7446 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.294e-05/0.2662, allocations: 0 / 0.7446 GB, free: 5.512 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02553/0.2917, allocations: 7.378 MB / 0.7518 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2918, allocations: 16.02 kB / 0.7518 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.3075, allocations: 2.316 MB / 0.7541 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.3129, allocations: 1.805 MB / 0.7559 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009274/0.3139, allocations: 0.8217 MB / 0.7567 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007019/0.3146, allocations: 227.9 kB / 0.7569 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007196/0.3217, allocations: 3.081 MB / 0.7599 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.3218, allocations: 0 / 0.7599 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.322, allocations: 83.94 kB / 0.76 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.3221, allocations: 48 kB / 0.76 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006716/0.3288, allocations: 2.826 MB / 0.7628 GB, free: 2.484 MB / 0.5294 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.02032/0.3491, allocations: 7.388 MB / 0.77 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.3605, allocations: 3.571 MB / 0.7735 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/0.3653, allocations: 1.834 MB / 0.7753 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.3656, allocations: 37.98 kB / 0.7753 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005318/0.3709, allocations: 2.278 MB / 0.7775 GB, free: 3.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 5.029e-06/0.3709, allocations: 0 / 0.7775 GB, free: 3.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=247): time 0.1307/0.5017, allocations: 29.24 MB / 0.8061 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.5018, allocations: 188.1 kB / 0.8063 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.5058, allocations: 2.248 MB / 0.8085 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007775/0.5066, allocations: 65.7 kB / 0.8085 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.5078, allocations: 1.201 MB / 0.8097 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001508/0.5093, allocations: 0.9102 MB / 0.8106 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.5105, allocations: 0.5421 MB / 0.8111 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5106, allocations: 305.1 kB / 0.8114 GB, free: 268 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3859/0.8965, allocations: 2.031 MB / 0.8134 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/0.9019, allocations: 2.401 MB / 0.8157 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05859/0.9604, allocations: 14.27 MB / 0.8297 GB, free: 82.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.9605, allocations: 1.906 kB / 0.8297 GB, free: 82.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.03878/0.9993, allocations: 12.27 MB / 0.8417 GB, free: 79.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.9993, allocations: 118.3 kB / 0.8418 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.9994, allocations: 7.562 kB / 0.8418 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01693/1.016, allocations: 5.408 MB / 0.8471 GB, free: 76.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.019, allocations: 0.5461 MB / 0.8476 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05528/1.074, allocations: 22.81 MB / 0.8699 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/1.079, allocations: 484.6 kB / 0.8703 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005383/1.08, allocations: 123.9 kB / 0.8705 GB, free: 52.41 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001309/1.081, allocations: 0.5186 MB / 0.871 GB, free: 51.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/1.082, allocations: 306 kB / 0.8713 GB, free: 51.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03618/1.118, allocations: 11.86 MB / 0.8828 GB, free: 39.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.118, allocations: 27.94 kB / 0.8829 GB, free: 39.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/1.118, allocations: 23.94 kB / 0.8829 GB, free: 39.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.888e-05/1.118, allocations: 11.95 kB / 0.8829 GB, free: 39.59 MB / 0.5762 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.04062/1.159, allocations: 14.21 MB / 0.8968 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.159, allocations: 3.062 kB / 0.8968 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.16, allocations: 243.7 kB / 0.897 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0164/1.177, allocations: 5.271 MB / 0.9022 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000594/1.177, allocations: 55.98 kB / 0.9022 GB, free: 19.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05421/1.231, allocations: 24 MB / 0.9256 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.231, allocations: 3.984 kB / 0.9256 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04843/1.28, allocations: 14.3 MB / 0.9396 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.281, allocations: 338.9 kB / 0.9399 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/1.282, allocations: 51.98 kB / 0.94 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.285, allocations: 299.6 kB / 0.9403 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002382/1.287, allocations: 0.6034 MB / 0.9409 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.287, allocations: 67.98 kB / 0.9409 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002646/1.29, allocations: 1.483 MB / 0.9424 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.29, allocations: 0 / 0.9424 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004034/1.294, allocations: 1.169 MB / 0.9435 GB, free: 9.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006048/1.295, allocations: 182.5 kB / 0.9437 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01926/1.314, allocations: 6.55 MB / 0.9501 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.314, allocations: 4.062 kB / 0.9501 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01384/1.328, allocations: 4.286 MB / 0.9543 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.33, allocations: 266.2 kB / 0.9545 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/1.341, allocations: 5.451 MB / 0.9599 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.343, allocations: 1.252 MB / 0.9611 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001251/1.344, allocations: 258.2 kB / 0.9613 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/1.344, allocations: 167.4 kB / 0.9615 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of SimCode: time 1.322e-06/1.344, allocations: 0 / 0.9615 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of Templates: time 0.1216/1.466, allocations: 73.36 MB / 1.033 GB, free: 13.32 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.9487976282835] Failed to read output from testmodel.py, exit status != 0: 1.4767536129802465 1.492679514 1.223038373 Calling exit ...