Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.383 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.001216/0.001216, allocations: 176.5 kB / 291.3 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4996/0.4996, allocations: 91.93 MB / 434.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003934, allocations: 15.94 kB / 0.5054 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 72.47 MB / 0.5762 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.004957/0.3972, allocations: 6.24 MB / 0.5823 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.4013, allocations: 2.018 MB / 0.5842 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.4019, allocations: 11.44 kB / 0.5843 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.4026, allocations: 185 kB / 0.5844 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.4042, allocations: 0.7104 MB / 0.5851 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.4055, allocations: 0.5963 MB / 0.5857 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.4067, allocations: 1.455 MB / 0.5871 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.4071, allocations: 285.1 kB / 0.5874 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.4076, allocations: 0.5494 MB / 0.5879 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.4083, allocations: 0.7385 MB / 0.5887 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.4085, allocations: 55.59 kB / 0.5887 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.4089, allocations: 194.2 kB / 0.5889 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4091, allocations: 263.7 kB / 0.5891 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.4096, allocations: 0.6179 MB / 0.5898 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4106, allocations: 1.21 MB / 0.5909 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4106, allocations: 1.969 kB / 0.5909 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4106, allocations: 4 kB / 0.5909 GB, free: 27.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4106, allocations: 0 / 0.5909 GB, free: 27.86 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008027/0.4187, allocations: 2.468 MB / 0.5933 GB, free: 26.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4187, allocations: 6.969 kB / 0.5934 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.4236, allocations: 0.7846 MB / 0.5941 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.425, allocations: 0.8815 MB / 0.595 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.4252, allocations: 245.3 kB / 0.5952 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.4254, allocations: 77.25 kB / 0.5953 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.4276, allocations: 1.158 MB / 0.5964 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.4276, allocations: 3.984 kB / 0.5964 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.4277, allocations: 30.66 kB / 0.5965 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4277, allocations: 17.62 kB / 0.5965 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.4298, allocations: 1.074 MB / 0.5975 GB, free: 24.98 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.006555/0.4364, allocations: 3.93 MB / 0.6014 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/0.445, allocations: 2.892 MB / 0.6042 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.4468, allocations: 0.7527 MB / 0.6049 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-05/0.4469, allocations: 16.64 kB / 0.6049 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.447, allocations: 52.97 kB / 0.605 GB, free: 21.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.877e-06/0.447, allocations: 0 / 0.605 GB, free: 21.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03169/0.4787, allocations: 8.46 MB / 0.6132 GB, free: 20.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4788, allocations: 143.2 kB / 0.6134 GB, free: 19.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4807, allocations: 1.081 MB / 0.6144 GB, free: 19.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.481, allocations: 41.89 kB / 0.6145 GB, free: 19.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4813, allocations: 0.4895 MB / 0.615 GB, free: 19.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.4816, allocations: 338.6 kB / 0.6153 GB, free: 18.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.4818, allocations: 143.6 kB / 0.6154 GB, free: 18.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.4819, allocations: 301.1 kB / 0.6157 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.4836, allocations: 0.8208 MB / 0.6165 GB, free: 18.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4855, allocations: 0.9849 MB / 0.6175 GB, free: 17.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/0.5087, allocations: 5.983 MB / 0.6233 GB, free: 12.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.5088, allocations: 0 / 0.6233 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01435/0.5232, allocations: 5.168 MB / 0.6284 GB, free: 7.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.5234, allocations: 234.7 kB / 0.6286 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5234, allocations: 7.938 kB / 0.6286 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005798/0.5292, allocations: 1.865 MB / 0.6304 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.5305, allocations: 263.6 kB / 0.6307 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.5504, allocations: 8.839 MB / 0.6393 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.5526, allocations: 230.7 kB / 0.6395 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.5529, allocations: 43.98 kB / 0.6396 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5529, allocations: 4 kB / 0.6396 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01487/0.5678, allocations: 5.015 MB / 0.6445 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5679, allocations: 4 kB / 0.6445 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006276/0.5741, allocations: 1.863 MB / 0.6463 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.5756, allocations: 255.6 kB / 0.6465 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.5964, allocations: 8.835 MB / 0.6551 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5983, allocations: 207 kB / 0.6553 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.5986, allocations: 55.97 kB / 0.6554 GB, free: 11.56 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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.0008802/0.5995, allocations: 373.9 kB / 0.6558 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/0.5999, allocations: 130.3 kB / 0.6559 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.6139, allocations: 4.603 MB / 0.6604 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.614, allocations: 11.94 kB / 0.6604 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.614, allocations: 8 kB / 0.6604 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.6141, allocations: 3.984 kB / 0.6604 GB, free: 6.402 MB / 462.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.01714/0.6312, allocations: 6.23 MB / 0.6665 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.6313, allocations: 0 / 0.6665 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.632, allocations: 119.8 kB / 0.6666 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/0.638, allocations: 1.79 MB / 0.6683 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.6383, allocations: 19.98 kB / 0.6684 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.6568, allocations: 7.648 MB / 0.6758 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6569, allocations: 0 / 0.6758 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.6733, allocations: 5.517 MB / 0.6812 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.6739, allocations: 231.2 kB / 0.6814 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004539/0.6744, allocations: 20 kB / 0.6815 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.6759, allocations: 139.9 kB / 0.6816 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/0.6766, allocations: 176.7 kB / 0.6818 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6767, allocations: 27.94 kB / 0.6818 GB, free: 204 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.6781, allocations: 0.7353 MB / 0.6825 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6781, allocations: 0 / 0.6825 GB, free: 15.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002823/0.681, allocations: 0.7491 MB / 0.6832 GB, free: 14.7 MB / 494.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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.6813, allocations: 127.2 kB / 0.6834 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/0.694, allocations: 4.863 MB / 0.6881 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.694, allocations: 192 / 0.6881 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004765/0.6988, allocations: 1.661 MB / 0.6897 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.7003, allocations: 118.6 kB / 0.6898 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.7051, allocations: 2.776 MB / 0.6926 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.7059, allocations: 1.133 MB / 0.6937 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.7063, allocations: 83.41 kB / 0.6937 GB, free: 3.777 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7063, allocations: 0 / 0.6937 GB, free: 3.777 MB / 494.1 MB Notification: Performance of Templates: time 0.03376/0.7401, allocations: 21.65 MB / 0.7149 GB, free: 14.12 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)