Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001022/0.001022, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9355/0.9355, allocations: 177.1 MB / 200.3 MB, free: 5.68 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.001158/0.001158, allocations: 160.6 kB / 257 MB, free: 12.96 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.4284/0.4284, allocations: 83.3 MB / 343.6 MB, free: 6.758 MB / 314.7 MB " [Timeout remaining time 180] 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 388 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.59e-05, allocations: 6.312 kB / 388 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008314/0.00833, allocations: 12.58 MB / 400.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.01474, allocations: 3.671 MB / 404.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007345/0.01547, allocations: 28 kB / 404.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.01627, allocations: 0.5848 MB / 404.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.01837, allocations: 1.629 MB / 406.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.02017, allocations: 1.529 MB / 408.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.02257, allocations: 3.741 MB / 411.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.02315, allocations: 0.6205 MB / 412.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.02459, allocations: 2.146 MB / 414.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.02572, allocations: 1.585 MB / 416.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.02622, allocations: 284 kB / 416.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.02691, allocations: 459.7 kB / 416.9 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.0273, allocations: 0.7855 MB / 417.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.02793, allocations: 1.082 MB / 418.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.02978, allocations: 2.883 MB / 421.6 MB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.02978, allocations: 0 / 421.6 MB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02978, allocations: 4 kB / 421.6 MB, free: 8.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.0298, allocations: 0 / 421.6 MB, free: 8.828 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01042/0.04022, allocations: 6.617 MB / 428.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.04025, allocations: 16.03 kB / 428.3 MB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008492/0.04874, allocations: 2.91 MB / 431.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.05021, allocations: 1.208 MB / 432.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.05059, allocations: 0.8139 MB / 433.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.05083, allocations: 216 kB / 433.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.05275, allocations: 1.829 MB / 435.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.05278, allocations: 0 / 435.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.05293, allocations: 95.98 kB / 435.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.05296, allocations: 48 kB / 435.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.05429, allocations: 0.8958 MB / 436.3 MB, free: 9.754 MB / 410.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.00717/0.06146, allocations: 4.985 MB / 441.3 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.06434, allocations: 1.831 MB / 443.1 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.06503, allocations: 0.6238 MB / 443.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.06521, allocations: 53.98 kB / 443.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.06657, allocations: 1.181 MB / 444.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 3.307e-06/0.06657, allocations: 0 / 444.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.2049/0.2714, allocations: 19.28 MB / 464.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2715, allocations: 180.8 kB / 464.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2725, allocations: 1.825 MB / 466.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.2726, allocations: 68.95 kB / 466.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.2729, allocations: 0.8015 MB / 467.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.2734, allocations: 0.9209 MB / 468 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.274, allocations: 0.5531 MB / 468.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.2741, allocations: 308.2 kB / 468.9 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.2752, allocations: 0.8204 MB / 469.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2764, allocations: 1.18 MB / 470.9 MB, free: 37.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.2797, allocations: 3.385 MB / 474.3 MB, free: 34.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.2797, allocations: 0 / 474.3 MB, free: 34.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01232/0.292, allocations: 7.6 MB / 481.9 MB, free: 27.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.292, allocations: 114.7 kB / 482 MB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.292, allocations: 11.98 kB / 482 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.303, allocations: 4.978 MB / 487 MB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.3047, allocations: 0.695 MB / 487.6 MB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.3175, allocations: 7.812 MB / 495.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.3192, allocations: 408.2 kB / 495.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.3193, allocations: 93.27 kB / 495.9 MB, free: 15.22 MB / 410.7 MB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (324): * Single equations (assignments): 319 * 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): 1 system {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000612/0.3199, allocations: 340.8 kB / 496.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.3202, allocations: 260 kB / 496.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.3316, allocations: 7.011 MB / 0.4917 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3317, allocations: 24 kB / 0.4918 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.3317, allocations: 21.09 kB / 0.4918 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3317, allocations: 11.95 kB / 0.4918 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.3451, allocations: 8.427 MB / 0.5 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3451, allocations: 0 / 0.5 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.3459, allocations: 267.2 kB / 0.5003 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01165/0.3575, allocations: 5.14 MB / 0.5053 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.3577, allocations: 51.98 kB / 0.5054 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.3726, allocations: 10.51 MB / 0.5156 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3726, allocations: 0 / 0.5156 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.3867, allocations: 7.703 MB / 0.5231 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.3871, allocations: 289.5 kB / 0.5234 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.3873, allocations: 44 kB / 0.5235 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3884, allocations: 218.4 kB / 0.5237 GB, free: 7.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009746/0.3893, allocations: 0.5709 MB / 0.5242 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.3895, allocations: 43.98 kB / 0.5243 GB, free: 6.805 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007008/0.3902, allocations: 0.9768 MB / 0.5252 GB, free: 5.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 0 / 0.5252 GB, free: 5.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002062/0.3922, allocations: 1.174 MB / 0.5264 GB, free: 4.797 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0002964/0.3925, allocations: 158.4 kB / 0.5265 GB, free: 4.652 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.3985, allocations: 3.917 MB / 0.5303 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/0.3985, allocations: 29.75 kB / 0.5304 GB, free: 0.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.4026, allocations: 2.852 MB / 0.5332 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.4035, allocations: 310.1 kB / 0.5335 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005835/0.4093, allocations: 4.835 MB / 0.5382 GB, free: 8.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4097, allocations: 0.5407 MB / 0.5387 GB, free: 8.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.4103, allocations: 258.6 kB / 0.5389 GB, free: 7.926 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.4109, allocations: 363.3 kB / 0.5393 GB, free: 7.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4109, allocations: 0 / 0.5393 GB, free: 7.57 MB / 458.7 MB Notification: Performance of Templates: time 0.07046/0.4814, allocations: 71.13 MB / 0.6088 GB, free: 1.031 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5877565504051745]