Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004386/0.004386, allocations: 169.8 kB / 15.11 MB, free: 5.973 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.215/1.215, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008578, allocations: 94.23 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4242/0.4242, allocations: 79.44 MB / 420.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 16 kB / 0.489 GB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 69.51 MB / 0.5569 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4446, allocations: 101 MB / 0.6555 GB, free: 260 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4449, allocations: 88.66 kB / 0.6556 GB, free: 172 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1741/0.619, allocations: 70.75 MB / 0.7247 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.793e-06/0.619, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001674/0.6192, allocations: 56 kB / 0.7248 GB, free: 9.223 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.0138/0.633, allocations: 4.63 MB / 0.7293 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6331, allocations: 12.03 kB / 0.7293 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.6434, allocations: 1.607 MB / 0.7309 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.6481, allocations: 1.705 MB / 0.7325 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007665/0.6489, allocations: 0.7486 MB / 0.7333 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007212/0.6496, allocations: 212 kB / 0.7335 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.6558, allocations: 3.196 MB / 0.7366 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.6558, allocations: 0 / 0.7366 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.6561, allocations: 91.95 kB / 0.7367 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.6562, allocations: 48 kB / 0.7367 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/0.662, allocations: 2.975 MB / 0.7396 GB, free: 9.629 MB / 0.5261 GB 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.01904/0.681, allocations: 9.951 MB / 0.7493 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.6925, allocations: 4.854 MB / 0.7541 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.693, allocations: 45.95 kB / 0.7541 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005166/0.6982, allocations: 2.413 MB / 0.7565 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 4.398e-06/0.6982, allocations: 0 / 0.7565 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.107/0.8052, allocations: 30.9 MB / 0.7867 GB, free: 8.773 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.8054, allocations: 188.2 kB / 0.7868 GB, free: 8.555 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.8088, allocations: 1.917 MB / 0.7887 GB, free: 6.625 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006321/0.8095, allocations: 69.7 kB / 0.7888 GB, free: 6.551 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009325/0.8104, allocations: 1.192 MB / 0.7899 GB, free: 5.348 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.8118, allocations: 0.8547 MB / 0.7908 GB, free: 4.48 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.812, allocations: 49.69 kB / 0.7908 GB, free: 4.434 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.8122, allocations: 395 kB / 0.7912 GB, free: 4.043 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003819/0.816, allocations: 1.883 MB / 0.793 GB, free: 2.156 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2261/1.042, allocations: 2.184 MB / 0.7952 GB, free: 121.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/1.047, allocations: 2.103 MB / 0.7972 GB, free: 121.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/1.047, allocations: 1.844 kB / 0.7972 GB, free: 121.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04199/1.089, allocations: 14.46 MB / 0.8113 GB, free: 120.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/1.089, allocations: 117.8 kB / 0.8115 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.089, allocations: 7.312 kB / 0.8115 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01853/1.108, allocations: 6.437 MB / 0.8178 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.11, allocations: 416.8 kB / 0.8181 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05867/1.169, allocations: 26.45 MB / 0.844 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.173, allocations: 0.5396 MB / 0.8445 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006399/1.173, allocations: 94 kB / 0.8446 GB, free: 118.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001673/1.175, allocations: 0.5084 MB / 0.8451 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007603/1.176, allocations: 305.4 kB / 0.8454 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03903/1.215, allocations: 14.74 MB / 0.8598 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.215, allocations: 23.47 kB / 0.8598 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.477e-05/1.215, allocations: 19.03 kB / 0.8598 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-05/1.215, allocations: 14.3 kB / 0.8598 GB, free: 116.1 MB / 0.573 GB 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.04216/1.257, allocations: 18.28 MB / 0.8777 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.257, allocations: 1.062 kB / 0.8777 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.259, allocations: 245.8 kB / 0.8779 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/1.275, allocations: 6.24 MB / 0.884 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/1.275, allocations: 51.64 kB / 0.8841 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0497/1.325, allocations: 26.88 MB / 0.9103 GB, free: 88.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.325, allocations: 0 / 0.9103 GB, free: 88.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04095/1.366, allocations: 17.33 MB / 0.9272 GB, free: 74.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/1.367, allocations: 412.4 kB / 0.9276 GB, free: 74.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/1.367, allocations: 53.88 kB / 0.9277 GB, free: 74.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.37, allocations: 407.4 kB / 0.9281 GB, free: 73.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001864/1.372, allocations: 0.5779 MB / 0.9286 GB, free: 73.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.372, allocations: 67.84 kB / 0.9287 GB, free: 73.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001896/1.374, allocations: 1.481 MB / 0.9301 GB, free: 72.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.374, allocations: 0 / 0.9301 GB, free: 72.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002899/1.377, allocations: 1.118 MB / 0.9312 GB, free: 71.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003708/1.377, allocations: 186.9 kB / 0.9314 GB, free: 70.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.393, allocations: 7.05 MB / 0.9383 GB, free: 64.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.393, allocations: 4 kB / 0.9383 GB, free: 64.79 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/1.405, allocations: 5.074 MB / 0.9433 GB, free: 60.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.406, allocations: 231 kB / 0.9435 GB, free: 60.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/1.414, allocations: 6.444 MB / 0.9498 GB, free: 54.22 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009241/1.415, allocations: 1.868 MB / 0.9516 GB, free: 52.76 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008971/1.416, allocations: 221 kB / 0.9518 GB, free: 52.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/1.416, allocations: 135.2 kB / 0.9519 GB, free: 52.49 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.416, allocations: 0 / 0.9519 GB, free: 52.49 MB / 0.573 GB Notification: Performance of Templates: time 0.06698/1.483, allocations: 55.32 MB / 1.006 GB, free: 15.74 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)