Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001078/0.001078, allocations: 97.97 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.298/1.298, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001494/0.001495, allocations: 185 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4381/0.4381, allocations: 78.52 MB / 419.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 12 kB / 499.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 69.36 MB / 0.5557 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.2234/0.3707, allocations: 5.685 MB / 0.5612 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.374, allocations: 1.985 MB / 0.5632 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.3747, allocations: 12.75 kB / 0.5632 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.3753, allocations: 168.9 kB / 0.5633 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.377, allocations: 0.7356 MB / 0.5641 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3782, allocations: 0.5365 MB / 0.5646 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.3796, allocations: 1.007 MB / 0.5656 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.38, allocations: 254.7 kB / 0.5658 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.3807, allocations: 0.5603 MB / 0.5664 GB, free: 37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008013/0.3815, allocations: 0.7277 MB / 0.5671 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.3817, allocations: 62.44 kB / 0.5671 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.3821, allocations: 183.2 kB / 0.5673 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.3824, allocations: 258.1 kB / 0.5675 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3826, allocations: 233 kB / 0.5678 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3836, allocations: 1.212 MB / 0.569 GB, free: 36.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3836, allocations: 0 / 0.569 GB, free: 36.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3836, allocations: 3.938 kB / 0.569 GB, free: 36.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.3837, allocations: 3.531 kB / 0.569 GB, free: 36.57 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.00815/0.3918, allocations: 2.55 MB / 0.5715 GB, free: 35.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3919, allocations: 14.16 kB / 0.5715 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.3969, allocations: 0.7872 MB / 0.5722 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.3987, allocations: 0.8694 MB / 0.5731 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.399, allocations: 237.9 kB / 0.5733 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.3992, allocations: 80.5 kB / 0.5734 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.4015, allocations: 1.163 MB / 0.5745 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.4016, allocations: 1.359 kB / 0.5745 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.4017, allocations: 25.34 kB / 0.5745 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.4017, allocations: 17.53 kB / 0.5746 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.4038, allocations: 1.086 MB / 0.5756 GB, free: 34.26 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.007719/0.4115, allocations: 4.201 MB / 0.5797 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0076/0.4191, allocations: 2.906 MB / 0.5826 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.4194, allocations: 13.62 kB / 0.5826 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4194, allocations: 48.27 kB / 0.5826 GB, free: 30.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.376e-06/0.4194, allocations: 0 / 0.5826 GB, free: 30.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02819/0.4476, allocations: 8.219 MB / 0.5907 GB, free: 29.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.4477, allocations: 146.3 kB / 0.5908 GB, free: 29.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.4499, allocations: 1.111 MB / 0.5919 GB, free: 28.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.4502, allocations: 46.8 kB / 0.5919 GB, free: 28.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.4507, allocations: 0.4913 MB / 0.5924 GB, free: 28.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/0.4512, allocations: 348.9 kB / 0.5927 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4514, allocations: 29 kB / 0.5928 GB, free: 28.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4515, allocations: 369.5 kB / 0.5931 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4533, allocations: 0.8309 MB / 0.5939 GB, free: 27.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.4552, allocations: 1.004 MB / 0.5949 GB, free: 26.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.4571, allocations: 0.9692 MB / 0.5959 GB, free: 26.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4571, allocations: 5.25 kB / 0.5959 GB, free: 26.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01489/0.472, allocations: 5.127 MB / 0.6009 GB, free: 25.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.4723, allocations: 1.201 MB / 0.602 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.4723, allocations: 7.125 kB / 0.602 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/0.4787, allocations: 1.845 MB / 0.6038 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4805, allocations: 305.8 kB / 0.6041 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.5015, allocations: 9.077 MB / 0.613 GB, free: 18.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.5037, allocations: 231.4 kB / 0.6132 GB, free: 18.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.5039, allocations: 54.09 kB / 0.6133 GB, free: 18.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5039, allocations: 6.703 kB / 0.6133 GB, free: 18.73 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/0.5164, allocations: 4.972 MB / 0.6181 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.5165, allocations: 4.875 kB / 0.6181 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/0.5219, allocations: 1.852 MB / 0.6199 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.5235, allocations: 291.6 kB / 0.6202 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.5413, allocations: 9.064 MB / 0.6291 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.5433, allocations: 208 kB / 0.6293 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.5435, allocations: 59.97 kB / 0.6293 GB, free: 2.164 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.0006885/0.5442, allocations: 388.1 kB / 0.6297 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.5444, allocations: 126.4 kB / 0.6298 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.557, allocations: 4.622 MB / 0.6343 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.557, allocations: 8 kB / 0.6343 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.557, allocations: 12 kB / 0.6344 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.5571, allocations: 3.984 kB / 0.6344 GB, free: 12.98 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.01551/0.5726, allocations: 6.351 MB / 0.6406 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5726, allocations: 1.188 kB / 0.6406 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.5734, allocations: 119.8 kB / 0.6407 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005451/0.5789, allocations: 1.786 MB / 0.6424 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.5791, allocations: 20 kB / 0.6424 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.5965, allocations: 8.024 MB / 0.6503 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5965, allocations: 0 / 0.6503 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.6114, allocations: 5.576 MB / 0.6557 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.6119, allocations: 227.2 kB / 0.6559 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.6122, allocations: 20 kB / 0.656 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6134, allocations: 139.9 kB / 0.6561 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/0.6139, allocations: 181.4 kB / 0.6563 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.6139, allocations: 24 kB / 0.6563 GB, free: 6.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.615, allocations: 0.7511 MB / 0.657 GB, free: 5.434 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6151, allocations: 0 / 0.657 GB, free: 5.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002092/0.6172, allocations: 0.7648 MB / 0.6578 GB, free: 4.668 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.0002731/0.6174, allocations: 138.7 kB / 0.6579 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/0.6288, allocations: 4.891 MB / 0.6627 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6288, allocations: 4 kB / 0.6627 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004184/0.633, allocations: 1.67 MB / 0.6643 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.6338, allocations: 106.4 kB / 0.6644 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.638, allocations: 2.803 MB / 0.6672 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.6387, allocations: 1.168 MB / 0.6683 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000649/0.6394, allocations: 160.3 kB / 0.6684 GB, free: 9.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6396, allocations: 79.41 kB / 0.6685 GB, free: 9.574 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6397, allocations: 0 / 0.6685 GB, free: 9.574 MB / 478.1 MB Notification: Performance of Templates: time 0.03889/0.6785, allocations: 27.15 MB / 0.695 GB, free: 14.57 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: