Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008639/0.000864, allocations: 176.1 kB / 15.42 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 101 kB / 289.8 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2976/0.2976, allocations: 78.45 MB / 419 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 12.62 kB / 498.4 MB, free: 35.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2996, allocations: 68.75 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01117/0.3108, allocations: 14.47 MB / 0.568 GB, free: 188 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.3192, allocations: 3.598 MB / 0.5715 GB, free: 13.58 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.3218, allocations: 34.97 kB / 0.5716 GB, free: 13.58 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3231, allocations: 440.4 kB / 0.572 GB, free: 13.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.3286, allocations: 1.238 MB / 0.5732 GB, free: 12.55 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.3324, allocations: 1.406 MB / 0.5746 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005922/0.3383, allocations: 3.52 MB / 0.578 GB, free: 10.05 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.3399, allocations: 0.7961 MB / 0.5788 GB, free: 9.609 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.3429, allocations: 1.327 MB / 0.5801 GB, free: 8.984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.3468, allocations: 1.781 MB / 0.5818 GB, free: 8.164 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.3481, allocations: 139.9 kB / 0.5819 GB, free: 8.164 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.3504, allocations: 271.4 kB / 0.5822 GB, free: 8.125 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.3519, allocations: 0.6069 MB / 0.5828 GB, free: 7.762 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.3547, allocations: 1.464 MB / 0.5842 GB, free: 6.805 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.3593, allocations: 3.721 MB / 0.5879 GB, free: 4.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3593, allocations: 0.6875 kB / 0.5879 GB, free: 4.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3593, allocations: 0 / 0.5879 GB, free: 4.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001365/0.3595, allocations: 1.188 kB / 0.5879 GB, free: 4.047 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.02096/0.3805, allocations: 5.931 MB / 0.5937 GB, free: 0.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3805, allocations: 9 kB / 0.5937 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.3957, allocations: 2.275 MB / 0.5959 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.3999, allocations: 1.86 MB / 0.5977 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007069/0.4007, allocations: 0.7329 MB / 0.5984 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004943/0.4012, allocations: 219.9 kB / 0.5986 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.4071, allocations: 3.035 MB / 0.6016 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.4071, allocations: 0 / 0.6016 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.4074, allocations: 83.94 kB / 0.6017 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4074, allocations: 48 kB / 0.6017 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.4128, allocations: 2.792 MB / 0.6044 GB, free: 7.266 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.01744/0.4303, allocations: 9.883 MB / 0.6141 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00977/0.4401, allocations: 4.188 MB / 0.6182 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/0.4442, allocations: 1.964 MB / 0.6201 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.4445, allocations: 41.97 kB / 0.6201 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004296/0.4488, allocations: 2.242 MB / 0.6223 GB, free: 4.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 4.248e-06/0.4488, allocations: 0 / 0.6223 GB, free: 4.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=248): time 0.1071/0.5559, allocations: 27.3 MB / 0.649 GB, free: 8.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.556, allocations: 184.2 kB / 0.6492 GB, free: 8.727 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.5593, allocations: 2.273 MB / 0.6514 GB, free: 6.434 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.5598, allocations: 73.7 kB / 0.6515 GB, free: 6.355 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000791/0.5606, allocations: 1.156 MB / 0.6526 GB, free: 5.188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009959/0.5616, allocations: 0.8703 MB / 0.6534 GB, free: 4.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.562, allocations: 292.5 kB / 0.6537 GB, free: 4.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.5621, allocations: 313.1 kB / 0.654 GB, free: 3.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.5661, allocations: 1.954 MB / 0.6559 GB, free: 1.746 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/0.5703, allocations: 2.322 MB / 0.6582 GB, free: 15.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05035/0.6207, allocations: 14.05 MB / 0.6719 GB, free: 1.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.6208, allocations: 0 / 0.6719 GB, free: 1.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.03754/0.6583, allocations: 12.5 MB / 0.6841 GB, free: 4.477 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/0.6584, allocations: 114.8 kB / 0.6842 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.6585, allocations: 11.94 kB / 0.6842 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01625/0.6747, allocations: 5.288 MB / 0.6894 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.6775, allocations: 0.5695 MB / 0.69 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05289/0.7304, allocations: 21.32 MB / 0.7108 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.7348, allocations: 489.1 kB / 0.7112 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/0.7352, allocations: 116 kB / 0.7113 GB, free: 8.391 MB / 0.5105 GB 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 (330): * Single equations (assignments): 325 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.7364, allocations: 0.5293 MB / 0.7119 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.737, allocations: 296.3 kB / 0.7121 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03631/0.7733, allocations: 11.9 MB / 0.7238 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.7734, allocations: 35.92 kB / 0.7238 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/0.7734, allocations: 16 kB / 0.7238 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.7735, allocations: 11.95 kB / 0.7238 GB, free: 11.54 MB / 0.5261 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.04362/0.8171, allocations: 15.5 MB / 0.739 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.8172, allocations: 64 / 0.739 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.8195, allocations: 247.7 kB / 0.7392 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02691/0.8464, allocations: 5.259 MB / 0.7443 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000618/0.8471, allocations: 51.98 kB / 0.7444 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2758/1.123, allocations: 22.68 MB / 0.7665 GB, free: 180 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.123, allocations: 3.875 kB / 0.7665 GB, free: 180 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04457/1.168, allocations: 14.28 MB / 0.7805 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.169, allocations: 407.3 kB / 0.7809 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/1.169, allocations: 48.02 kB / 0.7809 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.172, allocations: 297.2 kB / 0.7812 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002268/1.174, allocations: 0.569 MB / 0.7818 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.174, allocations: 72.47 kB / 0.7818 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002321/1.177, allocations: 1.502 MB / 0.7833 GB, free: 178 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.177, allocations: 0 / 0.7833 GB, free: 178 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003435/1.18, allocations: 1.17 MB / 0.7844 GB, free: 177.9 MB / 0.5573 GB 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.0003781/1.181, allocations: 170.6 kB / 0.7846 GB, free: 177.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.197, allocations: 6.611 MB / 0.7911 GB, free: 175.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.197, allocations: 1.562 kB / 0.7911 GB, free: 175.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/1.208, allocations: 4.389 MB / 0.7953 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.211, allocations: 267.3 kB / 0.7956 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/1.219, allocations: 6.452 MB / 0.8019 GB, free: 169.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.22, allocations: 1.806 MB / 0.8037 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001089/1.221, allocations: 257.7 kB / 0.8039 GB, free: 168.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/1.222, allocations: 166.7 kB / 0.8041 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.222, allocations: 0 / 0.8041 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.06931/1.291, allocations: 56.22 MB / 0.859 GB, free: 115.4 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)