Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, 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.189/1.189, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008416/0.0008417, allocations: 83.53 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4177/0.4177, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.84e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2827, allocations: 69.34 MB / 0.548 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3936, allocations: 97.87 MB / 0.6435 GB, free: 2.555 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3939, allocations: 75.95 kB / 0.6436 GB, free: 2.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4064/0.8003, allocations: 60.69 MB / 0.7029 GB, free: 99.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.8003, allocations: 0 / 0.7029 GB, free: 99.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.8005, allocations: 51.31 kB / 0.7029 GB, free: 99.66 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01034/0.8108, allocations: 3.727 MB / 0.7066 GB, free: 98.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8109, allocations: 14.78 kB / 0.7066 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009005/0.8199, allocations: 1.573 MB / 0.7081 GB, free: 98.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.8223, allocations: 1.448 MB / 0.7095 GB, free: 97.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/0.8228, allocations: 0.6824 MB / 0.7102 GB, free: 96.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.8232, allocations: 195.9 kB / 0.7104 GB, free: 96.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.8271, allocations: 2.406 MB / 0.7127 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.8272, allocations: 0 / 0.7127 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.8274, allocations: 78.53 kB / 0.7128 GB, free: 95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.8274, allocations: 49.28 kB / 0.7128 GB, free: 94.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.8308, allocations: 2.174 MB / 0.715 GB, free: 92.85 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.01498/0.8458, allocations: 9.599 MB / 0.7243 GB, free: 82.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008575/0.8544, allocations: 4.041 MB / 0.7283 GB, free: 78.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.8566, allocations: 1.432 MB / 0.7297 GB, free: 77.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.8569, allocations: 44.86 kB / 0.7297 GB, free: 77.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.857, allocations: 52.56 kB / 0.7298 GB, free: 77.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.038e-06/0.857, allocations: 0 / 0.7298 GB, free: 77.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.0338/0.8908, allocations: 12.07 MB / 0.7416 GB, free: 65.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.8909, allocations: 128.8 kB / 0.7417 GB, free: 65.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.8931, allocations: 1.636 MB / 0.7433 GB, free: 63.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005947/0.8937, allocations: 61.7 kB / 0.7433 GB, free: 63.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.8943, allocations: 1.12 MB / 0.7444 GB, free: 62.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/0.8951, allocations: 0.7823 MB / 0.7452 GB, free: 61.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.8953, allocations: 44 kB / 0.7452 GB, free: 61.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.8954, allocations: 386.2 kB / 0.7456 GB, free: 60.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.8972, allocations: 1.145 MB / 0.7467 GB, free: 59.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.8991, allocations: 1.455 MB / 0.7482 GB, free: 58.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.901, allocations: 1.267 MB / 0.7494 GB, free: 56.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.901, allocations: 4 kB / 0.7494 GB, free: 56.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03403/0.935, allocations: 12.22 MB / 0.7613 GB, free: 44.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.9355, allocations: 2.729 MB / 0.764 GB, free: 41.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.9355, allocations: 7.984 kB / 0.764 GB, free: 41.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01543/0.9509, allocations: 5.163 MB / 0.769 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.9526, allocations: 319.5 kB / 0.7693 GB, free: 36.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03777/0.9903, allocations: 17.93 MB / 0.7869 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/0.9938, allocations: 489.8 kB / 0.7873 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.9941, allocations: 75.98 kB / 0.7874 GB, free: 17.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9941, allocations: 6.344 kB / 0.7874 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03347/1.028, allocations: 11.95 MB / 0.7991 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/1.028, allocations: 8 kB / 0.7991 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/1.044, allocations: 5.16 MB / 0.8041 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.045, allocations: 307.6 kB / 0.8044 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0415/1.087, allocations: 17.93 MB / 0.8219 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/1.09, allocations: 466 kB / 0.8224 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/1.091, allocations: 71.98 kB / 0.8224 GB, free: 13.67 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real 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 order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000762/1.092, allocations: 233.4 kB / 0.8227 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007571/1.092, allocations: 276.6 kB / 0.8229 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03779/1.13, allocations: 12.39 MB / 0.835 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.13, allocations: 23.94 kB / 0.835 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.334e-05/1.13, allocations: 20 kB / 0.8351 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.044e-05/1.13, allocations: 11.95 kB / 0.8351 GB, free: 0.6875 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 postOpt removeSimpleEquations (simulation): time 0.04498/1.175, allocations: 15.88 MB / 0.8506 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.175, allocations: 0 / 0.8506 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.177, allocations: 247.7 kB / 0.8508 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/1.193, allocations: 4.859 MB / 0.8556 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005962/1.193, allocations: 47.98 kB / 0.8556 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03733/1.231, allocations: 15.36 MB / 0.8706 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.231, allocations: 0 / 0.8706 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04174/1.272, allocations: 14.27 MB / 0.8845 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009708/1.274, allocations: 385 kB / 0.8849 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008616/1.274, allocations: 43.98 kB / 0.885 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.278, allocations: 363.7 kB / 0.8853 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/1.28, allocations: 0.5408 MB / 0.8858 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003273/1.28, allocations: 52 kB / 0.8859 GB, free: 12.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002024/1.282, allocations: 1.25 MB / 0.8871 GB, free: 11.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.282, allocations: 3.938 kB / 0.8871 GB, free: 11.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004928/1.287, allocations: 1.689 MB / 0.8888 GB, free: 9.352 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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.0004846/1.288, allocations: 180.3 kB / 0.8889 GB, free: 9.164 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2841/1.572, allocations: 9.339 MB / 0.898 GB, free: 178.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.572, allocations: 0 / 0.898 GB, free: 178.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01237/1.584, allocations: 3.887 MB / 0.9018 GB, free: 178.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.586, allocations: 199.8 kB / 0.902 GB, free: 178.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/1.594, allocations: 3.904 MB / 0.9058 GB, free: 177.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.595, allocations: 1.789 MB / 0.9076 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001664/1.597, allocations: 350.4 kB / 0.9079 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.597, allocations: 105.1 kB / 0.908 GB, free: 176.9 MB / 0.573 GB Notification: Performance of SimCode: time 8.32e-07/1.597, allocations: 0 / 0.908 GB, free: 176.9 MB / 0.573 GB Notification: Performance of Templates: time 0.09071/1.688, allocations: 74.97 MB / 0.9812 GB, free: 127.2 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)