Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 175.2 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.302/1.302, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0007925/0.0007925, allocations: 90.92 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4479/0.4479, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.123e-05, allocations: 7.984 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 69.34 MB / 0.548 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.455, allocations: 99.83 MB / 0.6455 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4553, allocations: 83.89 kB / 0.6456 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4791/0.9344, allocations: 66.63 MB / 0.7106 GB, free: 97.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.9344, allocations: 0 / 0.7106 GB, free: 97.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002339/0.9347, allocations: 55.22 kB / 0.7107 GB, free: 97.03 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01238/0.9471, allocations: 4.002 MB / 0.7146 GB, free: 94.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.9471, allocations: 11.97 kB / 0.7146 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.9574, allocations: 1.604 MB / 0.7162 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.9616, allocations: 1.642 MB / 0.7178 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/0.9623, allocations: 0.6867 MB / 0.7184 GB, free: 90.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/0.9631, allocations: 207.9 kB / 0.7186 GB, free: 89.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.9689, allocations: 2.557 MB / 0.7211 GB, free: 87.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.969, allocations: 4 kB / 0.7211 GB, free: 87.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.9694, allocations: 84 kB / 0.7212 GB, free: 87.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.9694, allocations: 48 kB / 0.7213 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.9739, allocations: 2.324 MB / 0.7235 GB, free: 84.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.01873/0.9927, allocations: 9.993 MB / 0.7333 GB, free: 74.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008974/1.002, allocations: 4.021 MB / 0.7372 GB, free: 70.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/1.004, allocations: 1.527 MB / 0.7387 GB, free: 68.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/1.004, allocations: 38.05 kB / 0.7388 GB, free: 68.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.005, allocations: 56.56 kB / 0.7388 GB, free: 68.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.779e-06/1.005, allocations: 0 / 0.7388 GB, free: 68.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03751/1.042, allocations: 12.29 MB / 0.7508 GB, free: 56.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/1.042, allocations: 239.6 kB / 0.751 GB, free: 55.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/1.046, allocations: 1.826 MB / 0.7528 GB, free: 54.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006932/1.047, allocations: 69.7 kB / 0.7529 GB, free: 53.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000853/1.047, allocations: 1.196 MB / 0.7541 GB, free: 52.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.049, allocations: 0.8393 MB / 0.7549 GB, free: 51.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/1.049, allocations: 44 kB / 0.7549 GB, free: 51.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/1.049, allocations: 398.6 kB / 0.7553 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/1.052, allocations: 1.219 MB / 0.7565 GB, free: 50.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.055, allocations: 1.535 MB / 0.758 GB, free: 48.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/1.057, allocations: 1.457 MB / 0.7594 GB, free: 47.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.058, allocations: 0 / 0.7594 GB, free: 47.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03815/1.096, allocations: 12.44 MB / 0.7716 GB, free: 34.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005367/1.096, allocations: 2.871 MB / 0.7744 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.096, allocations: 4 kB / 0.7744 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/1.113, allocations: 5.098 MB / 0.7793 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.115, allocations: 379.4 kB / 0.7797 GB, free: 25.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/1.156, allocations: 17.48 MB / 0.7968 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/1.16, allocations: 0.5172 MB / 0.7973 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005978/1.161, allocations: 83.97 kB / 0.7974 GB, free: 7.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.161, allocations: 4 kB / 0.7974 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03863/1.2, allocations: 12.16 MB / 0.8092 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/1.2, allocations: 8 kB / 0.8092 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/1.217, allocations: 5.098 MB / 0.8142 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/1.22, allocations: 371.5 kB / 0.8146 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04653/1.266, allocations: 17.48 MB / 0.8317 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/1.271, allocations: 0.494 MB / 0.8321 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/1.272, allocations: 83.97 kB / 0.8322 GB, free: 3.797 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.273, allocations: 277.5 kB / 0.8325 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.274, allocations: 308.3 kB / 0.8328 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04063/1.315, allocations: 12.61 MB / 0.8451 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.315, allocations: 31.94 kB / 0.8451 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-05/1.315, allocations: 23.95 kB / 0.8451 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/1.315, allocations: 11.95 kB / 0.8452 GB, free: 6.473 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.04879/1.364, allocations: 16.34 MB / 0.8611 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.364, allocations: 3.953 kB / 0.8611 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.366, allocations: 283.7 kB / 0.8614 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01614/1.382, allocations: 4.823 MB / 0.8661 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/1.383, allocations: 55.98 kB / 0.8661 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04044/1.423, allocations: 15.35 MB / 0.8811 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.423, allocations: 0 / 0.8811 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04567/1.469, allocations: 14.56 MB / 0.8954 GB, free: 2.703 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.47, allocations: 405 kB / 0.8957 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/1.471, allocations: 51.98 kB / 0.8958 GB, free: 2.234 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.475, allocations: 391.7 kB / 0.8962 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002399/1.477, allocations: 0.5524 MB / 0.8967 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004214/1.478, allocations: 71.98 kB / 0.8968 GB, free: 1.227 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.3609/1.839, allocations: 1.393 MB / 0.8981 GB, free: 172.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.91e-07/1.839, allocations: 0 / 0.8981 GB, free: 172.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009559/1.848, allocations: 1.762 MB / 0.8999 GB, free: 172.3 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007675/1.849, allocations: 183.6 kB / 0.9 GB, free: 172.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04674/1.896, allocations: 10 MB / 0.9098 GB, free: 171.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.896, allocations: 3.375 kB / 0.9098 GB, free: 171.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02059/1.916, allocations: 4.076 MB / 0.9138 GB, free: 170.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/1.92, allocations: 239.2 kB / 0.914 GB, free: 170.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.934, allocations: 4.166 MB / 0.9181 GB, free: 169.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/1.936, allocations: 1.906 MB / 0.9199 GB, free: 168.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003853/1.94, allocations: 448.5 kB / 0.9204 GB, free: 168.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/1.94, allocations: 118 kB / 0.9205 GB, free: 168.7 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/1.94, allocations: 0.5625 kB / 0.9205 GB, free: 168.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1699/2.11, allocations: 76.52 MB / 0.9952 GB, free: 114.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)