Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008344, allocations: 91.61 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.449/0.449, allocations: 78.06 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.318e-05, allocations: 0 / 484.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 69.36 MB / 0.5413 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5286, allocations: 98.34 MB / 0.6373 GB, free: 1.258 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5289, allocations: 79.17 kB / 0.6374 GB, free: 1.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08509/0.614, allocations: 30.9 MB / 0.6676 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.614, allocations: 0 / 0.6676 GB, free: 2.309 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.6142, allocations: 31.94 kB / 0.6676 GB, free: 2.277 MB / 474.7 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.005035/0.6192, allocations: 1.739 MB / 0.6693 GB, free: 488 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6193, allocations: 12.02 kB / 0.6693 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.6229, allocations: 0.5604 MB / 0.6699 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.6247, allocations: 0.8115 MB / 0.6706 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.625, allocations: 202.5 kB / 0.6708 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.6253, allocations: 51.91 kB / 0.6709 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/0.6271, allocations: 0.8149 MB / 0.6717 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.6288, allocations: 0.8571 MB / 0.6725 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.6288, allocations: 4 kB / 0.6725 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.6289, allocations: 0.5625 kB / 0.6725 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.629, allocations: 16 kB / 0.6725 GB, free: 13.05 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007499/0.6365, allocations: 3.825 MB / 0.6763 GB, free: 9.055 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007263/0.6438, allocations: 2.603 MB / 0.6788 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/0.6446, allocations: 0.5245 MB / 0.6793 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.6448, allocations: 20.77 kB / 0.6794 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6448, allocations: 40.47 kB / 0.6794 GB, free: 5.766 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.6448, allocations: 0 / 0.6794 GB, free: 5.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01191/0.6568, allocations: 3.844 MB / 0.6831 GB, free: 1.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.6569, allocations: 137.3 kB / 0.6833 GB, free: 1.742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6585, allocations: 0.8627 MB / 0.6841 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.6586, allocations: 25.7 kB / 0.6841 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.659, allocations: 0.5091 MB / 0.6846 GB, free: 328 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.6594, allocations: 335 kB / 0.685 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.6595, allocations: 0 / 0.685 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6597, allocations: 341.9 kB / 0.6853 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/0.6605, allocations: 442.6 kB / 0.6857 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/0.6613, allocations: 0.5661 MB / 0.6863 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.6622, allocations: 498.4 kB / 0.6867 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6622, allocations: 0 / 0.6867 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01238/0.6746, allocations: 4.033 MB / 0.6907 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005268/0.6752, allocations: 1.208 MB / 0.6919 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6752, allocations: 4 kB / 0.6919 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/0.6809, allocations: 1.532 MB / 0.6934 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.6818, allocations: 159.8 kB / 0.6935 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.6968, allocations: 7.724 MB / 0.701 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.6985, allocations: 171.2 kB / 0.7012 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.6987, allocations: 37.23 kB / 0.7012 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.6987, allocations: 8 kB / 0.7013 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01198/0.7107, allocations: 3.872 MB / 0.705 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.7108, allocations: 4 kB / 0.705 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.7162, allocations: 1.532 MB / 0.7065 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008663/0.7171, allocations: 147.8 kB / 0.7067 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.7312, allocations: 7.717 MB / 0.7142 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7331, allocations: 168.2 kB / 0.7144 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.7333, allocations: 35.98 kB / 0.7144 GB, free: 1.18 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.7338, allocations: 160.4 kB / 0.7146 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.7343, allocations: 126.4 kB / 0.7147 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.7462, allocations: 3.953 MB / 0.7185 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.7462, allocations: 8 kB / 0.7185 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.7463, allocations: 8 kB / 0.7186 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.7463, allocations: 3.984 kB / 0.7186 GB, free: 12.89 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01452/0.7608, allocations: 5.517 MB / 0.7239 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.7609, allocations: 0 / 0.7239 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.7617, allocations: 123.8 kB / 0.7241 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/0.7663, allocations: 1.395 MB / 0.7254 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/0.7667, allocations: 11.98 kB / 0.7254 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.7783, allocations: 5.616 MB / 0.7309 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.7784, allocations: 4 kB / 0.7309 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/0.7924, allocations: 4.691 MB / 0.7355 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/0.7932, allocations: 227.2 kB / 0.7357 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005715/0.7938, allocations: 8.938 kB / 0.7357 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.7955, allocations: 123.8 kB / 0.7359 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.7962, allocations: 189.1 kB / 0.736 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.7964, allocations: 31.92 kB / 0.7361 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001311/0.7977, allocations: 0.6534 MB / 0.7367 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7977, allocations: 0 / 0.7367 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002829/0.8006, allocations: 0.6279 MB / 0.7373 GB, free: 9.418 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003739/0.8009, allocations: 140.5 kB / 0.7374 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009508/0.8105, allocations: 3.784 MB / 0.7411 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.8105, allocations: 0 / 0.7411 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/0.8144, allocations: 1.426 MB / 0.7425 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8155, allocations: 92.84 kB / 0.7426 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.8196, allocations: 1.913 MB / 0.7445 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.8205, allocations: 1.17 MB / 0.7456 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8216, allocations: 203.3 kB / 0.7458 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.8218, allocations: 55.42 kB / 0.7459 GB, free: 480 kB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/0.8218, allocations: 0.6562 kB / 0.7459 GB, free: 480 kB / 0.5417 GB Notification: Performance of Templates: time 0.3221/1.144, allocations: 26.66 MB / 0.7719 GB, free: 146.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)