Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.356/1.356, allocations: 223.3 MB / 239.4 MB, free: 5.402 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.001342/0.001342, allocations: 176.5 kB / 290.6 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4743/0.4743, allocations: 78.55 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.00039, allocations: 11.98 kB / 0.4887 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 69.36 MB / 0.5564 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2388/0.3781, allocations: 6.341 MB / 0.5626 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.382, allocations: 1.992 MB / 0.5645 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.3827, allocations: 11.44 kB / 0.5645 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.3833, allocations: 179.9 kB / 0.5647 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.3849, allocations: 0.7015 MB / 0.5654 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.386, allocations: 0.5767 MB / 0.566 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3872, allocations: 1.49 MB / 0.5674 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.3876, allocations: 287.9 kB / 0.5677 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.3881, allocations: 0.5658 MB / 0.5683 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.3888, allocations: 0.7433 MB / 0.569 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3889, allocations: 60.88 kB / 0.569 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.3893, allocations: 194.6 kB / 0.5692 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.3896, allocations: 259.8 kB / 0.5695 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.39, allocations: 0.6211 MB / 0.5701 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3912, allocations: 1.557 MB / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3912, allocations: 0 / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3912, allocations: 2.094 kB / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3912, allocations: 0 / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007813/0.399, allocations: 2.498 MB / 0.574 GB, free: 32.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3991, allocations: 9.312 kB / 0.574 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.404, allocations: 0.7845 MB / 0.5748 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.4054, allocations: 0.8897 MB / 0.5757 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.4057, allocations: 263.8 kB / 0.5759 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.4058, allocations: 86.28 kB / 0.576 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.4078, allocations: 1.144 MB / 0.5771 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4079, allocations: 0 / 0.5771 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.408, allocations: 34.86 kB / 0.5772 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.408, allocations: 18.38 kB / 0.5772 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.4099, allocations: 1.049 MB / 0.5782 GB, free: 31.31 MB / 430.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.005765/0.4157, allocations: 3.896 MB / 0.582 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.4233, allocations: 2.918 MB / 0.5849 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.4248, allocations: 0.7364 MB / 0.5856 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/0.4249, allocations: 19.62 kB / 0.5856 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.4265, allocations: 0.873 MB / 0.5865 GB, free: 28.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.745e-06/0.4265, allocations: 0 / 0.5865 GB, free: 28.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03181/0.4584, allocations: 8.798 MB / 0.595 GB, free: 26.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4584, allocations: 118.1 kB / 0.5952 GB, free: 26.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.4603, allocations: 1.087 MB / 0.5962 GB, free: 26.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.4606, allocations: 46.81 kB / 0.5963 GB, free: 26.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.4609, allocations: 0.4897 MB / 0.5967 GB, free: 25.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.4613, allocations: 353 kB / 0.5971 GB, free: 25.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.4615, allocations: 140.1 kB / 0.5972 GB, free: 25.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.4616, allocations: 305.1 kB / 0.5975 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4633, allocations: 0.8192 MB / 0.5983 GB, free: 24.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.4651, allocations: 0.9928 MB / 0.5993 GB, free: 24.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02466/0.4897, allocations: 5.984 MB / 0.6051 GB, free: 22.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.4898, allocations: 1.625 kB / 0.6051 GB, free: 22.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01558/0.5054, allocations: 5.2 MB / 0.6102 GB, free: 21.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.5055, allocations: 62.22 kB / 0.6103 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.5055, allocations: 4.125 kB / 0.6103 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006098/0.5116, allocations: 1.871 MB / 0.6121 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5131, allocations: 275.6 kB / 0.6123 GB, free: 20.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.5313, allocations: 8.84 MB / 0.621 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5334, allocations: 235.4 kB / 0.6212 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5335, allocations: 55.97 kB / 0.6213 GB, free: 10.9 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006286/0.5341, allocations: 296.7 kB / 0.6215 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.5344, allocations: 130.5 kB / 0.6217 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.5474, allocations: 4.724 MB / 0.6263 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5475, allocations: 13.88 kB / 0.6263 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5475, allocations: 4 kB / 0.6263 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.5476, allocations: 3.984 kB / 0.6263 GB, free: 5.699 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01518/0.5627, allocations: 6.302 MB / 0.6325 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5628, allocations: 0 / 0.6325 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/0.5635, allocations: 99.83 kB / 0.6325 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/0.5697, allocations: 1.883 MB / 0.6344 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.5699, allocations: 23.98 kB / 0.6344 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/0.5908, allocations: 9.684 MB / 0.6439 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.5909, allocations: 4.547 kB / 0.6439 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.6074, allocations: 5.644 MB / 0.6494 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/0.6081, allocations: 223.3 kB / 0.6496 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.6083, allocations: 24 kB / 0.6496 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.6096, allocations: 143.9 kB / 0.6498 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/0.6102, allocations: 186 kB / 0.6499 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.6103, allocations: 27.98 kB / 0.65 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.6114, allocations: 0.7315 MB / 0.6507 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6114, allocations: 0 / 0.6507 GB, free: 12.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001534/0.613, allocations: 475.5 kB / 0.6511 GB, free: 11.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.6133, allocations: 136.8 kB / 0.6513 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00673/0.62, allocations: 2.792 MB / 0.654 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6201, allocations: 8.125 kB / 0.654 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.6247, allocations: 1.811 MB / 0.6558 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6258, allocations: 113.7 kB / 0.6559 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.6295, allocations: 2.714 MB / 0.6585 GB, free: 4.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6301, allocations: 1.12 MB / 0.6596 GB, free: 3.035 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.6306, allocations: 117.1 kB / 0.6597 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6308, allocations: 75.41 kB / 0.6598 GB, free: 2.848 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6308, allocations: 4 kB / 0.6598 GB, free: 2.844 MB / 462.1 MB Notification: Performance of Templates: time 0.03408/0.6649, allocations: 21.09 MB / 0.6804 GB, free: 13.95 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: