Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.35/1.35, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001336/0.001336, allocations: 181 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4949/0.4949, allocations: 79.44 MB / 420.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 8 kB / 0.489 GB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 69.51 MB / 0.5569 GB, free: 48 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.2882/0.4488, allocations: 5.69 MB / 0.5624 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.4535, allocations: 1.99 MB / 0.5644 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.4547, allocations: 15 kB / 0.5644 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.4555, allocations: 171 kB / 0.5646 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.4578, allocations: 0.7274 MB / 0.5653 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.459, allocations: 0.539 MB / 0.5658 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.4608, allocations: 1.005 MB / 0.5668 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.4612, allocations: 258 kB / 0.567 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007341/0.4619, allocations: 0.5603 MB / 0.5676 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007363/0.4627, allocations: 0.7302 MB / 0.5683 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4628, allocations: 60.75 kB / 0.5683 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.4633, allocations: 175.6 kB / 0.5685 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.4636, allocations: 266.4 kB / 0.5688 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.4638, allocations: 237.1 kB / 0.569 GB, free: 36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.4649, allocations: 1.21 MB / 0.5702 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4649, allocations: 3.938 kB / 0.5702 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4649, allocations: 0 / 0.5702 GB, free: 35.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.465, allocations: 0 / 0.5702 GB, free: 35.65 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008174/0.4731, allocations: 2.556 MB / 0.5727 GB, free: 34.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4732, allocations: 8.875 kB / 0.5727 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.4781, allocations: 0.782 MB / 0.5734 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.4799, allocations: 0.8648 MB / 0.5743 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.4801, allocations: 243.1 kB / 0.5745 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4803, allocations: 82.31 kB / 0.5746 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.4823, allocations: 1.16 MB / 0.5757 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.4824, allocations: 0 / 0.5757 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.4825, allocations: 32.28 kB / 0.5758 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.4825, allocations: 22.61 kB / 0.5758 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.4844, allocations: 1.073 MB / 0.5768 GB, free: 32.84 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.006275/0.4907, allocations: 4.215 MB / 0.5809 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007192/0.4979, allocations: 2.897 MB / 0.5838 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.4981, allocations: 20.86 kB / 0.5838 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.4982, allocations: 49.22 kB / 0.5838 GB, free: 29.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/0.4982, allocations: 1.25 kB / 0.5838 GB, free: 29.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02908/0.5273, allocations: 8.224 MB / 0.5919 GB, free: 27.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.5274, allocations: 140.2 kB / 0.592 GB, free: 27.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.5297, allocations: 1.111 MB / 0.5931 GB, free: 27.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000318/0.53, allocations: 47.02 kB / 0.5931 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5304, allocations: 0.4917 MB / 0.5936 GB, free: 26.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.5308, allocations: 351.3 kB / 0.5939 GB, free: 26.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.5309, allocations: 30.03 kB / 0.594 GB, free: 26.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.531, allocations: 368.7 kB / 0.5943 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.5328, allocations: 0.8318 MB / 0.5951 GB, free: 25.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.5347, allocations: 1.005 MB / 0.5961 GB, free: 25.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.5366, allocations: 0.9681 MB / 0.5971 GB, free: 25.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5366, allocations: 1 kB / 0.5971 GB, free: 25.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01578/0.5524, allocations: 5.128 MB / 0.6021 GB, free: 23.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/0.5528, allocations: 1.192 MB / 0.6032 GB, free: 22.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5528, allocations: 8 kB / 0.6032 GB, free: 22.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006931/0.5597, allocations: 1.853 MB / 0.6051 GB, free: 22.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.5617, allocations: 304 kB / 0.6053 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/0.5834, allocations: 9.078 MB / 0.6142 GB, free: 17.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.5858, allocations: 227.7 kB / 0.6144 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.5859, allocations: 54.22 kB / 0.6145 GB, free: 17.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5859, allocations: 9.734 kB / 0.6145 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/0.5983, allocations: 4.969 MB / 0.6193 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.5984, allocations: 4 kB / 0.6193 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005307/0.6037, allocations: 1.852 MB / 0.6212 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.6055, allocations: 300.4 kB / 0.6214 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/0.6232, allocations: 9.066 MB / 0.6303 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.6254, allocations: 210.8 kB / 0.6305 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.6256, allocations: 52.53 kB / 0.6305 GB, free: 0.8672 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * 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 (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008407/0.6264, allocations: 384.8 kB / 0.6309 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.6267, allocations: 122.4 kB / 0.631 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.6395, allocations: 4.626 MB / 0.6355 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.6396, allocations: 12 kB / 0.6356 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.6396, allocations: 12 kB / 0.6356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.6396, allocations: 3.984 kB / 0.6356 GB, free: 11.67 MB / 446.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.01538/0.655, allocations: 6.347 MB / 0.6418 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6551, allocations: 0.9375 kB / 0.6418 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.6559, allocations: 116.6 kB / 0.6419 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005415/0.6613, allocations: 1.789 MB / 0.6436 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/0.6615, allocations: 23.98 kB / 0.6437 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.679, allocations: 8.013 MB / 0.6515 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.679, allocations: 0 / 0.6515 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.6939, allocations: 5.583 MB / 0.6569 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/0.6946, allocations: 231.2 kB / 0.6572 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.6948, allocations: 21 kB / 0.6572 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.696, allocations: 139.9 kB / 0.6573 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005642/0.6966, allocations: 180.7 kB / 0.6575 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.6967, allocations: 24 kB / 0.6575 GB, free: 4.895 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.6978, allocations: 0.7434 MB / 0.6582 GB, free: 4.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6978, allocations: 4 kB / 0.6582 GB, free: 4.141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002436/0.7002, allocations: 0.7649 MB / 0.659 GB, free: 3.375 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002952/0.7005, allocations: 140.4 kB / 0.6591 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01148/0.712, allocations: 4.901 MB / 0.6639 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7121, allocations: 0 / 0.6639 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00431/0.7164, allocations: 1.668 MB / 0.6655 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.7174, allocations: 107.1 kB / 0.6656 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.7217, allocations: 2.809 MB / 0.6684 GB, free: 9.691 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.7224, allocations: 1.167 MB / 0.6695 GB, free: 8.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.7231, allocations: 155.2 kB / 0.6697 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.7234, allocations: 79.41 kB / 0.6697 GB, free: 8.273 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7234, allocations: 0 / 0.6697 GB, free: 8.273 MB / 478.1 MB Notification: Performance of Templates: time 0.04316/0.7665, allocations: 27.16 MB / 0.6963 GB, free: 13.27 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)