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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008495, allocations: 87.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4783/0.4783, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.513e-05, allocations: 11.98 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 69.5 MB / 0.5491 GB, free: 19.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4568, allocations: 99.36 MB / 0.6461 GB, free: 268 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4571, allocations: 79.94 kB / 0.6462 GB, free: 188 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08335/0.5405, allocations: 31.08 MB / 0.6766 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5405, allocations: 4 kB / 0.6766 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.755e-05/0.5406, allocations: 20 kB / 0.6766 GB, free: 0.8711 MB / 490.7 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.3122/0.8529, allocations: 1.707 MB / 0.6783 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.8529, allocations: 12.97 kB / 0.6783 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.8568, allocations: 0.5618 MB / 0.6788 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.8583, allocations: 0.7995 MB / 0.6796 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.8586, allocations: 231.8 kB / 0.6798 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.8588, allocations: 82.17 kB / 0.6799 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.8606, allocations: 0.9454 MB / 0.6808 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.8606, allocations: 1.25 kB / 0.6808 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.8607, allocations: 35.86 kB / 0.6809 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.8608, allocations: 17.56 kB / 0.6809 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.8624, allocations: 0.8474 MB / 0.6817 GB, free: 102.7 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.006775/0.8692, allocations: 3.922 MB / 0.6855 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.8763, allocations: 2.619 MB / 0.6881 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.877, allocations: 0.5514 MB / 0.6886 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.8771, allocations: 23.03 kB / 0.6887 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.8772, allocations: 40.62 kB / 0.6887 GB, free: 101 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.936e-06/0.8772, allocations: 0 / 0.6887 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.0108/0.888, allocations: 3.912 MB / 0.6925 GB, free: 100.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.888, allocations: 143 kB / 0.6926 GB, free: 100.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8892, allocations: 0.908 MB / 0.6935 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/0.8893, allocations: 43.73 kB / 0.6936 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.8896, allocations: 0.5208 MB / 0.6941 GB, free: 99.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.8899, allocations: 334.6 kB / 0.6944 GB, free: 99.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.8899, allocations: 15.94 kB / 0.6944 GB, free: 99.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.89, allocations: 348 kB / 0.6948 GB, free: 99.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/0.8907, allocations: 445.4 kB / 0.6952 GB, free: 99.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.8914, allocations: 0.5745 MB / 0.6957 GB, free: 98.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.8922, allocations: 0.5495 MB / 0.6963 GB, free: 98.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8922, allocations: 2.062 kB / 0.6963 GB, free: 98.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01087/0.9031, allocations: 4.023 MB / 0.7002 GB, free: 97.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/0.9033, allocations: 1.203 MB / 0.7014 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9033, allocations: 6.75 kB / 0.7014 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/0.908, allocations: 1.448 MB / 0.7028 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.909, allocations: 191.2 kB / 0.703 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.9205, allocations: 6.434 MB / 0.7093 GB, free: 92.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.9221, allocations: 196 kB / 0.7095 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.9222, allocations: 35.75 kB / 0.7095 GB, free: 92.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.9222, allocations: 4 kB / 0.7095 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01062/0.9328, allocations: 3.887 MB / 0.7133 GB, free: 88.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.9329, allocations: 8 kB / 0.7133 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/0.9373, allocations: 1.439 MB / 0.7147 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.9383, allocations: 185.8 kB / 0.7149 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.9497, allocations: 6.43 MB / 0.7212 GB, free: 81.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.9514, allocations: 183.6 kB / 0.7213 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.9515, allocations: 35.28 kB / 0.7214 GB, free: 81.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.9518, allocations: 202.1 kB / 0.7216 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.9521, allocations: 126.4 kB / 0.7217 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.9628, allocations: 4.029 MB / 0.7256 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.9629, allocations: 11.95 kB / 0.7256 GB, free: 78.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.9629, allocations: 8 kB / 0.7256 GB, free: 78.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.9629, allocations: 5.156 kB / 0.7256 GB, free: 78.17 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 postOpt removeSimpleEquations (simulation): time 0.01279/0.9757, allocations: 5.667 MB / 0.7312 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9758, allocations: 4 kB / 0.7312 GB, free: 73.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/0.9766, allocations: 123.8 kB / 0.7313 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/0.9806, allocations: 1.41 MB / 0.7327 GB, free: 71.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.9808, allocations: 23.98 kB / 0.7327 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.9909, allocations: 5.734 MB / 0.7383 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9909, allocations: 0 / 0.7383 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.003, allocations: 4.761 MB / 0.7429 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/1.004, allocations: 227.3 kB / 0.7432 GB, free: 60.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.004, allocations: 24 kB / 0.7432 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.005, allocations: 139.8 kB / 0.7433 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005408/1.006, allocations: 184.5 kB / 0.7435 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/1.006, allocations: 27.98 kB / 0.7435 GB, free: 60.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000863/1.007, allocations: 0.7094 MB / 0.7442 GB, free: 59.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.007, allocations: 0 / 0.7442 GB, free: 59.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001839/1.008, allocations: 0.6808 MB / 0.7449 GB, free: 59.09 MB / 490.7 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 () * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/1.009, allocations: 143.7 kB / 0.745 GB, free: 58.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007675/1.016, allocations: 3.604 MB / 0.7485 GB, free: 55.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.016, allocations: 3.938 kB / 0.7485 GB, free: 55.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003412/1.02, allocations: 1.454 MB / 0.75 GB, free: 53.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/1.021, allocations: 108.6 kB / 0.7501 GB, free: 53.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/1.024, allocations: 1.869 MB / 0.7519 GB, free: 51.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/1.024, allocations: 1.162 MB / 0.753 GB, free: 50.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007665/1.025, allocations: 205.5 kB / 0.7532 GB, free: 50.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/1.025, allocations: 59.42 kB / 0.7533 GB, free: 50.38 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/1.025, allocations: 0 / 0.7533 GB, free: 50.38 MB / 490.7 MB Notification: Performance of Templates: time 0.03385/1.059, allocations: 28.05 MB / 0.7807 GB, free: 22.55 MB / 490.7 MB 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)