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.002363/0.002363, allocations: 85.48 kB / 19.44 MB, free: 340 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 1.595/1.595, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.002098/0.002098, allocations: 164.1 kB / 256.3 MB, free: 13.17 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.54/0.54, allocations: 80.37 MB / 393.1 MB, free: 2.168 MB / 314.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.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.503e-06/1.503e-06, allocations: 0 / 489.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.726e-05, allocations: 6.141 kB / 489.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01699/0.01702, allocations: 12.73 MB / 0.4903 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008792/0.02581, allocations: 3.476 MB / 0.4937 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.0282, allocations: 28 kB / 0.4937 GB, free: 11.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.03016, allocations: 0.5592 MB / 0.4942 GB, free: 11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.03625, allocations: 1.6 MB / 0.4958 GB, free: 9.398 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.04057, allocations: 1.531 MB / 0.4973 GB, free: 7.906 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006788/0.04735, allocations: 3.728 MB / 0.5009 GB, free: 4.164 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.04881, allocations: 0.5814 MB / 0.5015 GB, free: 3.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.05302, allocations: 2.127 MB / 0.5036 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.05588, allocations: 1.569 MB / 0.5051 GB, free: 15.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008003/0.05668, allocations: 284 kB / 0.5054 GB, free: 15.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.0579, allocations: 447.8 kB / 0.5058 GB, free: 15.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.05901, allocations: 0.7817 MB / 0.5066 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.06079, allocations: 1.082 MB / 0.5076 GB, free: 13.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.0668, allocations: 4.107 MB / 0.5116 GB, free: 9.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.0668, allocations: 0 / 0.5116 GB, free: 9.105 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0668, allocations: 7.938 kB / 0.5116 GB, free: 9.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.06692, allocations: 0 / 0.5116 GB, free: 9.098 MB / 442.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.02796/0.09488, allocations: 8.136 MB / 0.5196 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.09494, allocations: 8.031 kB / 0.5196 GB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.1111, allocations: 2.729 MB / 0.5223 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.1156, allocations: 1.812 MB / 0.524 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009982/0.1166, allocations: 0.8139 MB / 0.5248 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007964/0.1174, allocations: 216 kB / 0.525 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007387/0.1248, allocations: 3.085 MB / 0.528 GB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.1248, allocations: 4 kB / 0.528 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.1251, allocations: 84 kB / 0.5281 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.1251, allocations: 48 kB / 0.5282 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007186/0.1323, allocations: 2.686 MB / 0.5308 GB, free: 5.035 MB / 458.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.02016/0.1525, allocations: 8.063 MB / 0.5387 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.1627, allocations: 3.113 MB / 0.5417 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.1671, allocations: 1.784 MB / 0.5434 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.1675, allocations: 53.92 kB / 0.5435 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005269/0.1728, allocations: 2.282 MB / 0.5457 GB, free: 5.477 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.089e-06/0.1728, allocations: 4 kB / 0.5457 GB, free: 5.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1296/0.3023, allocations: 25.82 MB / 0.5709 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.3025, allocations: 184.3 kB / 0.5711 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.3068, allocations: 2.637 MB / 0.5737 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005741/0.3074, allocations: 69.7 kB / 0.5738 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.3088, allocations: 1.356 MB / 0.5751 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.3103, allocations: 0.9649 MB / 0.576 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.312, allocations: 0.6431 MB / 0.5767 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.3122, allocations: 480.8 kB / 0.5771 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004724/0.317, allocations: 1.914 MB / 0.579 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/0.3223, allocations: 2.44 MB / 0.5814 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/0.3381, allocations: 6.886 MB / 0.5881 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.3381, allocations: 4 kB / 0.5881 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.1997/0.5378, allocations: 11.07 MB / 0.5989 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.5379, allocations: 116.6 kB / 0.599 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.5379, allocations: 6.688 kB / 0.599 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03084/0.5688, allocations: 6.678 MB / 0.6056 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.5719, allocations: 0.5521 MB / 0.6061 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05385/0.6258, allocations: 22.05 MB / 0.6276 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.6298, allocations: 406.1 kB / 0.628 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/0.6302, allocations: 118.2 kB / 0.6281 GB, free: 146.4 MB / 0.5105 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 (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.001116/0.6313, allocations: 0.5717 MB / 0.6287 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/0.6321, allocations: 386.5 kB / 0.629 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0328/0.6649, allocations: 10.53 MB / 0.6393 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.6649, allocations: 28 kB / 0.6394 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/0.6649, allocations: 16 kB / 0.6394 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.008e-05/0.665, allocations: 16.19 kB / 0.6394 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/0.7021, allocations: 13.41 MB / 0.6525 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.7021, allocations: 0 / 0.6525 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.7036, allocations: 250.8 kB / 0.6527 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02918/0.7327, allocations: 6.588 MB / 0.6592 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007857/0.7335, allocations: 55.92 kB / 0.6592 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04917/0.7827, allocations: 24.52 MB / 0.6832 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7827, allocations: 8 kB / 0.6832 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03749/0.8202, allocations: 12.96 MB / 0.6958 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.8212, allocations: 339.2 kB / 0.6961 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/0.8217, allocations: 51.94 kB / 0.6962 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/0.8242, allocations: 223.8 kB / 0.6964 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/0.8259, allocations: 0.6072 MB / 0.697 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.8261, allocations: 63.98 kB / 0.6971 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001779/0.8279, allocations: 1.6 MB / 0.6986 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.8279, allocations: 4.984 kB / 0.6986 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003109/0.831, allocations: 1.168 MB / 0.6998 GB, free: 80.39 MB / 0.5105 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.0003949/0.8314, allocations: 169.7 kB / 0.6999 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01554/0.847, allocations: 6.42 MB / 0.7062 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.847, allocations: 4 kB / 0.7062 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/0.8584, allocations: 4.257 MB / 0.7104 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.8606, allocations: 335 kB / 0.7107 GB, free: 69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/0.8693, allocations: 5.356 MB / 0.7159 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.8703, allocations: 1.252 MB / 0.7171 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001134/0.8714, allocations: 262.9 kB / 0.7174 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.872, allocations: 180.4 kB / 0.7176 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.144e-06/0.872, allocations: 0 / 0.7176 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.09077/0.9627, allocations: 73.53 MB / 0.7894 GB, free: 4.598 MB / 0.5261 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.908795377006754]