Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001358/0.001358, allocations: 176.2 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.374/1.374, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009581/0.0009578, allocations: 82.2 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4606/0.4606, allocations: 78.07 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.962e-05, allocations: 4 kB / 484.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 69.35 MB / 0.5413 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.5111, allocations: 98.43 MB / 0.6374 GB, free: 1.168 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.5114, allocations: 83.89 kB / 0.6375 GB, free: 1.086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1731/0.6844, allocations: 65.65 MB / 0.7016 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6845, allocations: 0 / 0.7016 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001504/0.6846, allocations: 63.88 kB / 0.7017 GB, free: 15.25 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01151/0.6962, allocations: 3.987 MB / 0.7055 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6962, allocations: 12.03 kB / 0.7056 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009628/0.7058, allocations: 1.601 MB / 0.7071 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.7091, allocations: 1.627 MB / 0.7087 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006105/0.7097, allocations: 0.6125 MB / 0.7093 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.7101, allocations: 124 kB / 0.7094 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003909/0.714, allocations: 2.218 MB / 0.7116 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/0.718, allocations: 2.267 MB / 0.7138 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.718, allocations: 3.625 kB / 0.7138 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.7182, allocations: 4 kB / 0.7138 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.7183, allocations: 48 kB / 0.7139 GB, free: 2.418 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01687/0.7351, allocations: 9.66 MB / 0.7233 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.744, allocations: 3.939 MB / 0.7271 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.7463, allocations: 1.469 MB / 0.7286 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.7466, allocations: 42.03 kB / 0.7286 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.7466, allocations: 60.56 kB / 0.7287 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=241): time 4.558e-06/0.7467, allocations: 0 / 0.7287 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241): time 0.03682/0.7835, allocations: 12.06 MB / 0.7405 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7836, allocations: 243.6 kB / 0.7407 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.7863, allocations: 1.688 MB / 0.7423 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006893/0.787, allocations: 29.7 kB / 0.7424 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/0.788, allocations: 1.192 MB / 0.7435 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.7891, allocations: 0.8043 MB / 0.7443 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.7893, allocations: 0 / 0.7443 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.7895, allocations: 390.6 kB / 0.7447 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.7915, allocations: 1.176 MB / 0.7458 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.7936, allocations: 1.476 MB / 0.7473 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.7957, allocations: 1.292 MB / 0.7485 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.7957, allocations: 4 kB / 0.7485 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03718/0.8329, allocations: 12.1 MB / 0.7604 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2684/1.101, allocations: 2.87 MB / 0.7632 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/1.101, allocations: 6.219 kB / 0.7632 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/1.116, allocations: 4.858 MB / 0.7679 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.118, allocations: 371.4 kB / 0.7683 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03516/1.153, allocations: 17.19 MB / 0.7851 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/1.157, allocations: 477.3 kB / 0.7855 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/1.158, allocations: 81.89 kB / 0.7856 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/1.158, allocations: 4.562 kB / 0.7856 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03513/1.193, allocations: 11.78 MB / 0.7971 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.193, allocations: 6.562 kB / 0.7971 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/1.209, allocations: 4.861 MB / 0.8019 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.21, allocations: 355.6 kB / 0.8022 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03578/1.246, allocations: 17.2 MB / 0.819 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/1.25, allocations: 455.1 kB / 0.8194 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/1.25, allocations: 84.08 kB / 0.8195 GB, free: 104.9 MB / 0.5573 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.0006762/1.251, allocations: 203 kB / 0.8197 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/1.252, allocations: 292.6 kB / 0.82 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0341/1.286, allocations: 12.34 MB / 0.832 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/1.286, allocations: 24.06 kB / 0.8321 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.286, allocations: 20.83 kB / 0.8321 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.671e-05/1.286, allocations: 15.67 kB / 0.8321 GB, free: 102.1 MB / 0.5573 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.03812/1.324, allocations: 15.84 MB / 0.8476 GB, free: 97.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.324, allocations: 1 kB / 0.8476 GB, free: 97.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.326, allocations: 277.1 kB / 0.8478 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01341/1.339, allocations: 4.82 MB / 0.8525 GB, free: 97.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005525/1.34, allocations: 19.27 kB / 0.8525 GB, free: 97.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02907/1.369, allocations: 15.17 MB / 0.8674 GB, free: 85.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.369, allocations: 0 / 0.8674 GB, free: 85.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03658/1.405, allocations: 14.28 MB / 0.8813 GB, free: 74.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/1.406, allocations: 407.7 kB / 0.8817 GB, free: 73.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005497/1.407, allocations: 7.094 kB / 0.8817 GB, free: 73.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.41, allocations: 352.8 kB / 0.882 GB, free: 73.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001907/1.412, allocations: 0.5513 MB / 0.8826 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.412, allocations: 63.66 kB / 0.8826 GB, free: 73.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001537/1.414, allocations: 1.265 MB / 0.8839 GB, free: 72.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.62e-07/1.414, allocations: 4 kB / 0.8839 GB, free: 72.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004498/1.418, allocations: 1.594 MB / 0.8854 GB, free: 70.68 MB / 0.5573 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.0004046/1.418, allocations: 161.2 kB / 0.8856 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02422/1.443, allocations: 9.704 MB / 0.8951 GB, free: 61.76 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.443, allocations: 1.469 kB / 0.8951 GB, free: 61.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/1.454, allocations: 3.972 MB / 0.8989 GB, free: 58.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.456, allocations: 197.8 kB / 0.8991 GB, free: 58.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/1.462, allocations: 4 MB / 0.903 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.463, allocations: 1.897 MB / 0.9049 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001879/1.465, allocations: 446.2 kB / 0.9053 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/1.465, allocations: 115.3 kB / 0.9054 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/1.466, allocations: 0 / 0.9054 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.08954/1.555, allocations: 70.66 MB / 0.9744 GB, free: 5.156 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)