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.0009944/0.0009944, 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.8976/0.8976, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001136/0.001136, allocations: 152.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.4016/0.4016, allocations: 83.31 MB / 343.6 MB, free: 6.727 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.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.062e-06/1.062e-06, allocations: 3.938 kB / 388 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.313e-05, allocations: 2.312 kB / 388 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008577/0.00859, allocations: 12.48 MB / 400.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.01463, allocations: 3.667 MB / 404.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.01544, allocations: 31.94 kB / 404.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.01626, allocations: 0.5809 MB / 404.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.01845, allocations: 1.618 MB / 406.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.02049, allocations: 1.529 MB / 407.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.0228, allocations: 3.733 MB / 411.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.02337, allocations: 0.6244 MB / 412.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.02513, allocations: 2.143 MB / 414.4 MB, free: 16 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.02628, allocations: 1.581 MB / 416 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.02653, allocations: 284 kB / 416.3 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.02705, allocations: 463.7 kB / 416.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.02743, allocations: 0.7739 MB / 417.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006382/0.02807, allocations: 1.086 MB / 418.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.03013, allocations: 2.887 MB / 421.5 MB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.03014, allocations: 0 / 421.5 MB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.03014, allocations: 0 / 421.5 MB, free: 8.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.03016, allocations: 0 / 421.5 MB, free: 8.934 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.009896/0.04005, allocations: 6.629 MB / 428.1 MB, free: 2.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002882/0.04034, allocations: 8.031 kB / 428.1 MB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/0.04883, allocations: 2.914 MB / 431.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.05038, allocations: 1.209 MB / 432.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.05078, allocations: 0.81 MB / 433.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.05102, allocations: 219.9 kB / 433.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.05293, allocations: 1.841 MB / 435.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.05296, allocations: 0 / 435.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006192/0.05358, allocations: 80 kB / 435.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.0536, allocations: 48 kB / 435.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.05487, allocations: 0.8918 MB / 436.1 MB, free: 9.859 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.00661/0.06148, allocations: 4.958 MB / 441.1 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.06455, allocations: 1.832 MB / 442.9 MB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.06521, allocations: 0.6199 MB / 443.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.06539, allocations: 53.98 kB / 443.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.06645, allocations: 1.176 MB / 444.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 3.277e-06/0.06645, allocations: 0 / 444.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.1982/0.2647, allocations: 21.02 MB / 465.8 MB, free: 50.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.2647, allocations: 185.6 kB / 466 MB, free: 50.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2658, allocations: 1.825 MB / 467.8 MB, free: 49.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.2659, allocations: 70.02 kB / 467.9 MB, free: 49.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.2662, allocations: 0.8092 MB / 468.7 MB, free: 48.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.2666, allocations: 0.916 MB / 469.6 MB, free: 48.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/0.2671, allocations: 0.5431 MB / 470.1 MB, free: 48.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.61e-05/0.2672, allocations: 309.1 kB / 470.4 MB, free: 47.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.2682, allocations: 0.8135 MB / 471.3 MB, free: 46.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.2693, allocations: 1.177 MB / 472.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.2725, allocations: 3.337 MB / 475.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2725, allocations: 0 / 475.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01222/0.2847, allocations: 7.613 MB / 483.4 MB, free: 35.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2848, allocations: 118.8 kB / 483.5 MB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2848, allocations: 7.984 kB / 483.5 MB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.2958, allocations: 5.11 MB / 488.6 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.2974, allocations: 0.689 MB / 489.3 MB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.3101, allocations: 8.02 MB / 497.3 MB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.3118, allocations: 406 kB / 497.7 MB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3119, allocations: 87.95 kB / 497.8 MB, free: 21.62 MB / 410.7 MB 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 (319): * Single equations (assignments): 314 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005605/0.3125, allocations: 341.5 kB / 498.1 MB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.3128, allocations: 259.7 kB / 498.4 MB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.3241, allocations: 7.011 MB / 0.4936 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3241, allocations: 24 kB / 0.4936 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.3241, allocations: 20.88 kB / 0.4936 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.3242, allocations: 19.89 kB / 0.4936 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.3371, allocations: 8.416 MB / 0.5018 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3371, allocations: 4.984 kB / 0.5019 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.3378, allocations: 265.5 kB / 0.5021 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/0.3491, allocations: 5.177 MB / 0.5072 GB, free: 0 / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.3493, allocations: 55.92 kB / 0.5072 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.3638, allocations: 10.51 MB / 0.5175 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3638, allocations: 0 / 0.5175 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.3779, allocations: 7.697 MB / 0.525 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.3783, allocations: 286.7 kB / 0.5253 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.3786, allocations: 44 kB / 0.5253 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.3796, allocations: 219.8 kB / 0.5255 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/0.3806, allocations: 0.5682 MB / 0.5261 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.3807, allocations: 47.92 kB / 0.5261 GB, free: 12.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007112/0.3814, allocations: 0.969 MB / 0.5271 GB, free: 11.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3814, allocations: 0 / 0.5271 GB, free: 11.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001985/0.3834, allocations: 1.168 MB / 0.5282 GB, free: 10.13 MB / 442.7 MB 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.0002814/0.3837, allocations: 165.1 kB / 0.5284 GB, free: 9.965 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005956/0.3897, allocations: 3.982 MB / 0.5323 GB, free: 5.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/0.3897, allocations: 24 kB / 0.5323 GB, free: 5.852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004063/0.3937, allocations: 2.864 MB / 0.5351 GB, free: 2.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.3947, allocations: 324.7 kB / 0.5354 GB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.4003, allocations: 4.8 MB / 0.5401 GB, free: 13.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.4007, allocations: 0.5375 MB / 0.5406 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005488/0.4012, allocations: 254.5 kB / 0.5408 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/0.4019, allocations: 363.3 kB / 0.5412 GB, free: 12.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.654e-06/0.4019, allocations: 0 / 0.5412 GB, free: 12.59 MB / 458.7 MB Notification: Performance of Templates: time 0.06901/0.4709, allocations: 72.17 MB / 0.6117 GB, free: 4.938 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5853248201310635]