Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 112.5 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.1 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 188.5 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4304/0.4304, allocations: 78.53 MB / 419.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 79.88 kB / 0.5544 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2737, allocations: 68.17 MB / 0.6209 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.009604/0.2833, allocations: 13.68 MB / 0.6343 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.2905, allocations: 3.464 MB / 0.6377 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.2925, allocations: 28 kB / 0.6377 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.2942, allocations: 0.5693 MB / 0.6383 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.2988, allocations: 1.569 MB / 0.6398 GB, free: 6.793 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.003577/0.3024, allocations: 1.512 MB / 0.6413 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.3071, allocations: 3.722 MB / 0.6449 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3085, allocations: 0.9012 MB / 0.6458 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3105, allocations: 1.525 MB / 0.6473 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.3126, allocations: 1.96 MB / 0.6492 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.3131, allocations: 284 kB / 0.6494 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.3139, allocations: 431.9 kB / 0.6499 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.3145, allocations: 0.7623 MB / 0.6506 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.3158, allocations: 1.631 MB / 0.6522 GB, free: 10 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.3196, allocations: 3.996 MB / 0.6561 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3196, allocations: 0 / 0.6561 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3196, allocations: 3.938 kB / 0.6561 GB, free: 5.992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.926e-05/0.3197, allocations: 0 / 0.6561 GB, free: 5.992 MB / 462.1 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.0224/0.3421, allocations: 6.685 MB / 0.6626 GB, free: 15.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3421, allocations: 8.031 kB / 0.6626 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.3576, allocations: 2.292 MB / 0.6649 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.3613, allocations: 1.884 MB / 0.6667 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007139/0.3621, allocations: 0.7368 MB / 0.6674 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/0.3627, allocations: 212 kB / 0.6676 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006617/0.3694, allocations: 3.035 MB / 0.6706 GB, free: 6.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.3694, allocations: 4 kB / 0.6706 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.3697, allocations: 83.94 kB / 0.6707 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.3698, allocations: 52 kB / 0.6707 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.3758, allocations: 2.784 MB / 0.6735 GB, free: 3.844 MB / 478.1 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.01852/0.3943, allocations: 9.835 MB / 0.6831 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.4052, allocations: 4.184 MB / 0.6871 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/0.4093, allocations: 1.965 MB / 0.6891 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.4097, allocations: 41.97 kB / 0.6891 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004613/0.4143, allocations: 2.232 MB / 0.6913 GB, free: 1.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.24e-06/0.4143, allocations: 8 kB / 0.6913 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1167/0.531, allocations: 27.31 MB / 0.718 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.5312, allocations: 184.2 kB / 0.7181 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.535, allocations: 2.277 MB / 0.7204 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005858/0.5356, allocations: 69.7 kB / 0.7204 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.5365, allocations: 1.185 MB / 0.7216 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.5377, allocations: 0.914 MB / 0.7225 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.5391, allocations: 0.562 MB / 0.723 GB, free: 304 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.5392, allocations: 305.2 kB / 0.7233 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.5433, allocations: 1.954 MB / 0.7252 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004342/0.5477, allocations: 2.322 MB / 0.7275 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0547/0.6024, allocations: 14.03 MB / 0.7412 GB, free: 13.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.6024, allocations: 4 kB / 0.7412 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04043/0.6429, allocations: 12.52 MB / 0.7534 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.643, allocations: 114.8 kB / 0.7535 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.643, allocations: 8 kB / 0.7535 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/0.6607, allocations: 5.288 MB / 0.7587 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.6637, allocations: 0.5695 MB / 0.7593 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3101/0.9738, allocations: 23.19 MB / 0.7819 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/0.978, allocations: 0.4901 MB / 0.7824 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/0.9784, allocations: 113.6 kB / 0.7825 GB, free: 120.8 MB / 0.5606 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.001153/0.9796, allocations: 0.5389 MB / 0.783 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.9802, allocations: 311.8 kB / 0.7833 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03604/1.016, allocations: 11.9 MB / 0.7949 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.016, allocations: 15.56 kB / 0.795 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.016, allocations: 3.938 kB / 0.795 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/1.017, allocations: 421.5 kB / 0.7954 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/1.018, allocations: 43.78 kB / 0.7954 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.021, allocations: 305.1 kB / 0.7957 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004139/1.025, allocations: 1.41 MB / 0.7971 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01544/1.04, allocations: 5.897 MB / 0.8028 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01091/1.051, allocations: 5.914 MB / 0.8086 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003374/1.055, allocations: 1.61 MB / 0.8102 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001971/1.057, allocations: 1.502 MB / 0.8116 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/1.057, allocations: 0 / 0.8116 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.07, allocations: 5.112 MB / 0.8166 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006744/1.077, allocations: 6.403 MB / 0.8229 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.06997/1.147, allocations: 58.64 MB / 0.8802 GB, free: 37.45 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)