Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.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 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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.308/1.308, allocations: 222.9 MB / 240.1 MB, free: 4.359 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.001266/0.001266, allocations: 192.5 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5035/0.5035, allocations: 91.9 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 78.75 kB / 0.5735 GB, free: 33.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1004, allocations: 71.3 MB / 0.6431 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.01794/0.1184, allocations: 21.84 MB / 0.6645 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1284, allocations: 4.947 MB / 0.6693 GB, free: 8.543 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.1312, allocations: 44 kB / 0.6693 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.1332, allocations: 0.8828 MB / 0.6702 GB, free: 7.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.1393, allocations: 2.295 MB / 0.6724 GB, free: 5.301 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.1441, allocations: 2.097 MB / 0.6745 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006654/0.1508, allocations: 5.763 MB / 0.6801 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.1527, allocations: 1.329 MB / 0.6814 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.1557, allocations: 2.33 MB / 0.6837 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.1593, allocations: 2.975 MB / 0.6866 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.1605, allocations: 440 kB / 0.687 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1621, allocations: 0.5898 MB / 0.6876 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.1634, allocations: 1.174 MB / 0.6887 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.1665, allocations: 2.621 MB / 0.6913 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.1724, allocations: 6.266 MB / 0.6974 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1724, allocations: 0 / 0.6974 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1724, allocations: 7.938 kB / 0.6974 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001109/0.1725, allocations: 0 / 0.6974 GB, free: 11.61 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03095/0.2035, allocations: 9.225 MB / 0.7064 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2036, allocations: 8.031 kB / 0.7064 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02839/0.232, allocations: 4.001 MB / 0.7103 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.2373, allocations: 2.705 MB / 0.713 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008712/0.2382, allocations: 0.9244 MB / 0.7139 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008426/0.239, allocations: 347.9 kB / 0.7142 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.2494, allocations: 4.763 MB / 0.7189 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.01e-05/0.2495, allocations: 0 / 0.7189 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.2499, allocations: 140 kB / 0.719 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.25, allocations: 88 kB / 0.7191 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009888/0.2599, allocations: 4.279 MB / 0.7233 GB, free: 0.7852 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.03405/0.2939, allocations: 18.34 MB / 0.7412 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.3068, allocations: 5.004 MB / 0.7461 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005842/0.3127, allocations: 2.804 MB / 0.7488 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.3131, allocations: 74.91 kB / 0.7489 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.3132, allocations: 69.56 kB / 0.7489 GB, free: 5.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 5.741e-06/0.3132, allocations: 0 / 0.7489 GB, free: 5.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.5512/0.8644, allocations: 67.22 MB / 0.8146 GB, free: 86.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.8645, allocations: 171.5 kB / 0.8147 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/0.8681, allocations: 3.26 MB / 0.8179 GB, free: 83.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006742/0.8688, allocations: 90.7 kB / 0.818 GB, free: 83.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009401/0.8697, allocations: 1.98 MB / 0.8199 GB, free: 82.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.8708, allocations: 1.316 MB / 0.8212 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.872, allocations: 0.6703 MB / 0.8219 GB, free: 80.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.8721, allocations: 305.1 kB / 0.8222 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005082/0.8771, allocations: 2.638 MB / 0.8248 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/0.8825, allocations: 3.237 MB / 0.8279 GB, free: 73.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06765/0.9502, allocations: 19.1 MB / 0.8466 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.9502, allocations: 4 kB / 0.8466 GB, free: 54.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization): time 0.05344/1.004, allocations: 17.17 MB / 0.8633 GB, free: 37.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.004, allocations: 64.03 kB / 0.8634 GB, free: 37.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/1.004, allocations: 19.94 kB / 0.8634 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02556/1.029, allocations: 7.303 MB / 0.8706 GB, free: 30 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.033, allocations: 0.6631 MB / 0.8712 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08431/1.117, allocations: 33.86 MB / 0.9043 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005958/1.123, allocations: 0.6094 MB / 0.9049 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006275/1.124, allocations: 149.6 kB / 0.905 GB, free: 10.56 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007221/1.131, allocations: 3.096 MB / 0.908 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00633/1.137, allocations: 3.225 MB / 0.9112 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07491/1.212, allocations: 19.08 MB / 0.9298 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-05/1.212, allocations: 8 kB / 0.9298 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=536) (initialization_lambda0): time 0.06064/1.273, allocations: 17.15 MB / 0.9466 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/1.273, allocations: 72.75 kB / 0.9466 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/1.273, allocations: 15.98 kB / 0.9467 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02851/1.301, allocations: 7.303 MB / 0.9538 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/1.305, allocations: 0.6522 MB / 0.9544 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09526/1.4, allocations: 33.86 MB / 0.9875 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006011/1.406, allocations: 0.5825 MB / 0.9881 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008374/1.407, allocations: 152 kB / 0.9882 GB, free: 4.66 MB / 0.6544 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001506/1.409, allocations: 429.9 kB / 0.9886 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.41, allocations: 455.8 kB / 0.989 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05856/1.469, allocations: 16.79 MB / 1.005 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/1.469, allocations: 15.94 kB / 1.005 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.469, allocations: 0 / 1.005 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/1.47, allocations: 0.5571 MB / 1.006 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.472, allocations: 67.94 kB / 1.006 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005124/1.477, allocations: 379.5 kB / 1.006 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006761/1.483, allocations: 1.891 MB / 1.008 GB, free: 0 / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02804/1.511, allocations: 8.209 MB / 1.016 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01969/1.531, allocations: 8.266 MB / 1.024 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005799/1.537, allocations: 2.296 MB / 1.027 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00347/1.541, allocations: 2.141 MB / 1.029 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of Backend: time 1.012e-06/1.541, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.292/1.833, allocations: 13.73 MB / 1.042 GB, free: 238.6 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01311/1.846, allocations: 9.116 MB / 1.051 GB, free: 234.7 MB / 0.7012 GB Notification: Performance of Templates: time 0.1498/1.996, allocations: 131.9 MB / 1.18 GB, free: 125.8 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)