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.0009702/0.0009702, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.9022/0.9022, allocations: 177.1 MB / 200 MB, free: 5.496 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.001156/0.001156, allocations: 156.7 kB / 256.6 MB, free: 12.98 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.3077/0.3077, allocations: 80.35 MB / 393.5 MB, free: 3.148 MB / 362.7 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.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 2.685e-06/2.685e-06, allocations: 4 kB / 490 MB, free: 63.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.422e-05, allocations: 5.891 kB / 490 MB, free: 63.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.007854/0.007888, allocations: 12.9 MB / 0.4911 GB, free: 50.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006518/0.01441, allocations: 3.477 MB / 0.4945 GB, free: 46.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.01724, allocations: 33.59 kB / 0.4945 GB, free: 46.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.01901, allocations: 0.5575 MB / 0.4951 GB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.02337, allocations: 1.607 MB / 0.4967 GB, free: 44.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.02607, allocations: 1.525 MB / 0.4981 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.0302, allocations: 3.751 MB / 0.5018 GB, free: 39.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.03122, allocations: 0.582 MB / 0.5024 GB, free: 38.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.03405, allocations: 2.132 MB / 0.5045 GB, free: 36.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.03549, allocations: 1.569 MB / 0.506 GB, free: 34.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005252/0.03601, allocations: 284 kB / 0.5063 GB, free: 34.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.03685, allocations: 448.4 kB / 0.5067 GB, free: 34.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.0372, allocations: 0.7817 MB / 0.5074 GB, free: 33.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.03814, allocations: 1.083 MB / 0.5085 GB, free: 32.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.04084, allocations: 2.883 MB / 0.5113 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.04084, allocations: 0 / 0.5113 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04084, allocations: 0.9062 kB / 0.5113 GB, free: 29.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.61e-05/0.0409, allocations: 0 / 0.5113 GB, free: 29.36 MB / 410.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.01172/0.05262, allocations: 7.572 MB / 0.5187 GB, free: 21.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.05266, allocations: 8.031 kB / 0.5187 GB, free: 21.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007664/0.06033, allocations: 2.733 MB / 0.5214 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.06283, allocations: 1.746 MB / 0.5231 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.06318, allocations: 0.81 MB / 0.5239 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.06346, allocations: 220 kB / 0.5241 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.06596, allocations: 2.007 MB / 0.5261 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.06599, allocations: 4 kB / 0.5261 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.06614, allocations: 84 kB / 0.5261 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.06617, allocations: 48 kB / 0.5262 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.06813, allocations: 1.335 MB / 0.5275 GB, free: 12.41 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.009341/0.07747, allocations: 6.958 MB / 0.5343 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.08097, allocations: 2.136 MB / 0.5364 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.08211, allocations: 0.8936 MB / 0.5372 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.08233, allocations: 53.98 kB / 0.5373 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.08374, allocations: 1.321 MB / 0.5386 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 4.329e-06/0.08375, allocations: 0 / 0.5386 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.05262/0.1364, allocations: 21.23 MB / 0.5593 GB, free: 11.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.1365, allocations: 188.2 kB / 0.5595 GB, free: 11.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.1387, allocations: 2.044 MB / 0.5615 GB, free: 9.164 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005281/0.1392, allocations: 73.7 kB / 0.5616 GB, free: 9.086 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.1399, allocations: 1.254 MB / 0.5628 GB, free: 7.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008622/0.1407, allocations: 0.9102 MB / 0.5637 GB, free: 6.902 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007673/0.1415, allocations: 0.569 MB / 0.5642 GB, free: 6.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1416, allocations: 480.8 kB / 0.5647 GB, free: 5.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.1431, allocations: 0.9616 MB / 0.5656 GB, free: 4.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.1447, allocations: 1.422 MB / 0.567 GB, free: 3.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/0.1494, allocations: 3.752 MB / 0.5707 GB, free: 15.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.1494, allocations: 4 kB / 0.5707 GB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01693/0.1663, allocations: 8.486 MB / 0.579 GB, free: 6.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/0.1664, allocations: 114.8 kB / 0.5791 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.1664, allocations: 8 kB / 0.5791 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01435/0.1808, allocations: 5.333 MB / 0.5843 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.1827, allocations: 0.5617 MB / 0.5849 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.2035, allocations: 9.454 MB / 0.5941 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.2062, allocations: 410 kB / 0.5945 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.2065, allocations: 116 kB / 0.5946 GB, free: 6.57 MB / 474.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.0009235/0.2074, allocations: 381.3 kB / 0.595 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/0.2081, allocations: 382 kB / 0.5953 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/0.2243, allocations: 7.839 MB / 0.603 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.2243, allocations: 24 kB / 0.603 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/0.2244, allocations: 24 kB / 0.603 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.181e-05/0.2244, allocations: 15.89 kB / 0.603 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/0.2451, allocations: 10.2 MB / 0.613 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.2451, allocations: 0 / 0.613 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.2461, allocations: 255.7 kB / 0.6132 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1877/0.4337, allocations: 5.277 MB / 0.6184 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005813/0.4343, allocations: 52.33 kB / 0.6184 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.4542, allocations: 13.38 MB / 0.6315 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4542, allocations: 3.906 kB / 0.6315 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.472, allocations: 8.826 MB / 0.6401 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.4728, allocations: 334 kB / 0.6404 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.4731, allocations: 43.84 kB / 0.6405 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.4744, allocations: 222.8 kB / 0.6407 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/0.4756, allocations: 0.5679 MB / 0.6413 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.4757, allocations: 75.56 kB / 0.6413 GB, free: 121.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.4768, allocations: 1.221 MB / 0.6425 GB, free: 120.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4768, allocations: 0 / 0.6425 GB, free: 120.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002341/0.4791, allocations: 1.174 MB / 0.6437 GB, free: 120.6 MB / 490.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.0003767/0.4795, allocations: 181 kB / 0.6438 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007081/0.4866, allocations: 4.426 MB / 0.6482 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4866, allocations: 3.844 kB / 0.6482 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00543/0.492, allocations: 3.298 MB / 0.6514 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.4935, allocations: 312.2 kB / 0.6517 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/0.5001, allocations: 4.925 MB / 0.6565 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.5005, allocations: 0.5481 MB / 0.657 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006292/0.5012, allocations: 254.5 kB / 0.6573 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.5016, allocations: 176 kB / 0.6574 GB, free: 109 MB / 490.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5016, allocations: 3.844 kB / 0.6574 GB, free: 109 MB / 490.7 MB Notification: Performance of Templates: time 0.06225/0.5638, allocations: 72.63 MB / 0.7284 GB, free: 38.03 MB / 490.7 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.422261814121157]