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.001696/0.001696, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.316/1.316, allocations: 177.1 MB / 199.4 MB, free: 8.441 MB / 190.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.00157/0.00157, allocations: 164.1 kB / 256 MB, free: 4.32 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.5539/0.5539, allocations: 80.36 MB / 392.7 MB, free: 29.64 MB / 334.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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5555 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.626e-05, allocations: 6.219 kB / 0.5555 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009955/0.009981, allocations: 11.65 MB / 0.5669 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007827/0.01781, allocations: 3.429 MB / 0.5702 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.02086, allocations: 31.38 kB / 0.5703 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.02267, allocations: 0.5578 MB / 0.5708 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.02892, allocations: 1.611 MB / 0.5724 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.03265, allocations: 1.554 MB / 0.5739 GB, free: 404 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006211/0.03886, allocations: 3.727 MB / 0.5775 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.04035, allocations: 0.5865 MB / 0.5781 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.04487, allocations: 2.129 MB / 0.5802 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.04804, allocations: 1.547 MB / 0.5817 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008367/0.04887, allocations: 288 kB / 0.582 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.0503, allocations: 451.7 kB / 0.5824 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007353/0.05103, allocations: 0.7817 MB / 0.5832 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.05269, allocations: 1.078 MB / 0.5842 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.05798, allocations: 4.084 MB / 0.5882 GB, free: 4.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.05799, allocations: 0 / 0.5882 GB, free: 4.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05799, allocations: 0 / 0.5882 GB, free: 4.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.05811, allocations: 0 / 0.5882 GB, free: 4.562 MB / 446.1 MB 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.0261/0.08421, allocations: 7.339 MB / 0.5954 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.08425, allocations: 8.031 kB / 0.5954 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.1002, allocations: 2.324 MB / 0.5977 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.1046, allocations: 1.801 MB / 0.5994 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009611/0.1056, allocations: 0.8373 MB / 0.6002 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006736/0.1062, allocations: 216 kB / 0.6004 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/0.1134, allocations: 3.081 MB / 0.6034 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.1134, allocations: 0 / 0.6034 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.1137, allocations: 80 kB / 0.6035 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.1137, allocations: 52 kB / 0.6036 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006803/0.1205, allocations: 2.826 MB / 0.6063 GB, free: 1.578 MB / 462.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.01934/0.1399, allocations: 7.386 MB / 0.6135 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.1514, allocations: 3.568 MB / 0.617 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/0.1561, allocations: 1.83 MB / 0.6188 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.1564, allocations: 33.98 kB / 0.6189 GB, free: 4.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005236/0.1616, allocations: 2.274 MB / 0.6211 GB, free: 2.242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 5.199e-06/0.1616, allocations: 0 / 0.6211 GB, free: 2.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=247): time 0.1337/0.2953, allocations: 29.26 MB / 0.6496 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.2954, allocations: 184.2 kB / 0.6498 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.2992, allocations: 2.244 MB / 0.652 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006361/0.2999, allocations: 73.7 kB / 0.6521 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.3009, allocations: 1.205 MB / 0.6533 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.3021, allocations: 0.8985 MB / 0.6541 GB, free: 220 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3032, allocations: 0.5304 MB / 0.6547 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3033, allocations: 305.1 kB / 0.6549 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/0.3079, allocations: 2.039 MB / 0.6569 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.3131, allocations: 2.398 MB / 0.6593 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0597/0.3728, allocations: 14.27 MB / 0.6732 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/0.3728, allocations: 4 kB / 0.6732 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.04462/0.4175, allocations: 12.27 MB / 0.6852 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.4176, allocations: 122.8 kB / 0.6853 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.4176, allocations: 4 kB / 0.6853 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/0.4369, allocations: 5.419 MB / 0.6906 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.44, allocations: 0.5461 MB / 0.6912 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06461/0.5046, allocations: 22.8 MB / 0.7134 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.5092, allocations: 489.9 kB / 0.7139 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/0.5097, allocations: 112 kB / 0.714 GB, free: 2.273 MB / 0.5606 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.001308/0.511, allocations: 0.5295 MB / 0.7145 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/0.5117, allocations: 314 kB / 0.7148 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04233/0.5541, allocations: 11.86 MB / 0.7264 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.5541, allocations: 24 kB / 0.7264 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.848e-05/0.5541, allocations: 16 kB / 0.7264 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.11e-05/0.5542, allocations: 15.95 kB / 0.7264 GB, free: 5.426 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.2968/0.851, allocations: 14.2 MB / 0.7403 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.851, allocations: 1.281 kB / 0.7403 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.8526, allocations: 249.5 kB / 0.7406 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/0.8714, allocations: 5.268 MB / 0.7457 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006832/0.8721, allocations: 55.69 kB / 0.7458 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05845/0.9305, allocations: 23.99 MB / 0.7692 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9306, allocations: 0 / 0.7692 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04368/0.9742, allocations: 14.3 MB / 0.7831 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008872/0.9751, allocations: 341.9 kB / 0.7835 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007518/0.9759, allocations: 48 kB / 0.7835 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/0.979, allocations: 300.4 kB / 0.7838 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002116/0.9811, allocations: 0.5995 MB / 0.7844 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.9813, allocations: 71.92 kB / 0.7845 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002027/0.9833, allocations: 1.49 MB / 0.7859 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9833, allocations: 0 / 0.7859 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003582/0.9869, allocations: 1.172 MB / 0.7871 GB, free: 126.9 MB / 0.5762 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.0005068/0.9874, allocations: 177.2 kB / 0.7872 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01733/1.005, allocations: 6.534 MB / 0.7936 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.005, allocations: 0 / 0.7936 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.017, allocations: 4.276 MB / 0.7978 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.019, allocations: 261.9 kB / 0.798 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/1.027, allocations: 5.254 MB / 0.8032 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/1.028, allocations: 1.252 MB / 0.8044 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008681/1.029, allocations: 262.2 kB / 0.8046 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/1.029, allocations: 172.4 kB / 0.8048 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/1.029, allocations: 1.969 kB / 0.8048 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.07902/1.108, allocations: 69.92 MB / 0.8731 GB, free: 38.82 MB / 0.5762 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: 8.431357514113188] Failed to read output from testmodel.py, exit status != 0: 1.1174350716173649 1.127185438 1.066947253 Calling exit ...