Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 174.7 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.301/1.301, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008589/0.0008592, allocations: 92.7 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.4655/0.4655, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.704e-05/4.746e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4895, allocations: 69.5 MB / 0.5491 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.6155, allocations: 99.68 MB / 0.6465 GB, free: 15.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.6157, allocations: 75.95 kB / 0.6465 GB, free: 15.85 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4498/1.066, allocations: 67.34 MB / 0.7123 GB, free: 96.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.066, allocations: 4 kB / 0.7123 GB, free: 96.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002138/1.066, allocations: 52 kB / 0.7123 GB, free: 96.06 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01233/1.078, allocations: 3.998 MB / 0.7163 GB, free: 91.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.078, allocations: 11.97 kB / 0.7163 GB, free: 91.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009826/1.088, allocations: 1.604 MB / 0.7178 GB, free: 90.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/1.092, allocations: 1.623 MB / 0.7194 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006678/1.093, allocations: 0.6906 MB / 0.7201 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008629/1.094, allocations: 207.9 kB / 0.7203 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/1.1, allocations: 2.553 MB / 0.7228 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/1.1, allocations: 4 kB / 0.7228 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/1.1, allocations: 84 kB / 0.7229 GB, free: 84.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/1.1, allocations: 48 kB / 0.7229 GB, free: 84.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/1.104, allocations: 2.324 MB / 0.7252 GB, free: 82.57 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.01739/1.122, allocations: 9.997 MB / 0.7349 GB, free: 72.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009395/1.131, allocations: 4.009 MB / 0.7389 GB, free: 67.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/1.133, allocations: 1.526 MB / 0.7403 GB, free: 66.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/1.134, allocations: 42.05 kB / 0.7404 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.134, allocations: 64.5 kB / 0.7404 GB, free: 66.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 4.248e-06/1.134, allocations: 0 / 0.7404 GB, free: 66.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.05103/1.185, allocations: 12.28 MB / 0.7524 GB, free: 54.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.185, allocations: 235.6 kB / 0.7527 GB, free: 53.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/1.189, allocations: 1.838 MB / 0.7545 GB, free: 51.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007096/1.19, allocations: 65.7 kB / 0.7545 GB, free: 51.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.191, allocations: 1.212 MB / 0.7557 GB, free: 50.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.192, allocations: 0.8316 MB / 0.7565 GB, free: 49.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.192, allocations: 44 kB / 0.7566 GB, free: 49.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/1.193, allocations: 394.6 kB / 0.7569 GB, free: 49.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.196, allocations: 1.219 MB / 0.7581 GB, free: 48.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/1.2, allocations: 1.523 MB / 0.7596 GB, free: 46.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/1.203, allocations: 1.447 MB / 0.761 GB, free: 44.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.203, allocations: 3.953 kB / 0.761 GB, free: 44.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03596/1.239, allocations: 12.44 MB / 0.7732 GB, free: 32.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007633/1.24, allocations: 2.864 MB / 0.776 GB, free: 29.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/1.24, allocations: 8 kB / 0.776 GB, free: 29.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/1.256, allocations: 5.102 MB / 0.781 GB, free: 24.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.258, allocations: 379.4 kB / 0.7813 GB, free: 23.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0389/1.297, allocations: 17.51 MB / 0.7984 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/1.301, allocations: 0.5134 MB / 0.7989 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000606/1.302, allocations: 87.97 kB / 0.799 GB, free: 5.582 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.302, allocations: 0 / 0.799 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03745/1.339, allocations: 12.16 MB / 0.8109 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/1.339, allocations: 12 kB / 0.8109 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/1.356, allocations: 5.102 MB / 0.8159 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.358, allocations: 363.5 kB / 0.8162 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04289/1.401, allocations: 17.52 MB / 0.8333 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/1.405, allocations: 0.4901 MB / 0.8338 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007211/1.406, allocations: 79.98 kB / 0.8339 GB, free: 1.617 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_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 (206): * Single equations (assignments): 201 * 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.001546/1.408, allocations: 285.3 kB / 0.8342 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.409, allocations: 304.3 kB / 0.8345 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04073/1.45, allocations: 12.62 MB / 0.8468 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/1.45, allocations: 28 kB / 0.8468 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-05/1.45, allocations: 16 kB / 0.8468 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/1.45, allocations: 15.95 kB / 0.8468 GB, free: 4.297 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.04813/1.498, allocations: 16.33 MB / 0.8628 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.499, allocations: 0 / 0.8628 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.5, allocations: 279.7 kB / 0.863 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/1.516, allocations: 4.855 MB / 0.8678 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007444/1.517, allocations: 55.92 kB / 0.8678 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03781/1.555, allocations: 15.36 MB / 0.8828 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.555, allocations: 7.875 kB / 0.8828 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04405/1.599, allocations: 14.54 MB / 0.8971 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.6, allocations: 412.9 kB / 0.8974 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.601, allocations: 48 kB / 0.8975 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2851/1.887, allocations: 398.5 kB / 0.8979 GB, free: 170.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0022/1.889, allocations: 0.5491 MB / 0.8984 GB, free: 170.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/1.889, allocations: 65.33 kB / 0.8985 GB, free: 170.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002494/1.892, allocations: 1.407 MB / 0.8998 GB, free: 170.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.892, allocations: 0 / 0.8998 GB, free: 170.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005119/1.897, allocations: 1.763 MB / 0.9016 GB, free: 170.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/1.897, allocations: 180.6 kB / 0.9017 GB, free: 170.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02549/1.923, allocations: 9.992 MB / 0.9115 GB, free: 169.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.923, allocations: 6.344 kB / 0.9115 GB, free: 169.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/1.934, allocations: 4.074 MB / 0.9155 GB, free: 169.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.936, allocations: 231.6 kB / 0.9157 GB, free: 169.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/1.944, allocations: 4.092 MB / 0.9197 GB, free: 167.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.945, allocations: 1.899 MB / 0.9216 GB, free: 167.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001963/1.947, allocations: 447.4 kB / 0.922 GB, free: 167.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/1.947, allocations: 118.8 kB / 0.9221 GB, free: 167.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/1.947, allocations: 0 / 0.9221 GB, free: 167.1 MB / 0.573 GB Notification: Performance of Templates: time 0.09708/2.044, allocations: 76.59 MB / 0.9969 GB, free: 111.3 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)