Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, 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.353/1.353, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008559/0.000856, allocations: 94.47 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4668/0.4668, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.499e-05, allocations: 7.984 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 69.34 MB / 0.548 GB, free: 20.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4224, allocations: 99.01 MB / 0.6447 GB, free: 1.539 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4226, allocations: 79.95 kB / 0.6448 GB, free: 1.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08052/0.5031, allocations: 31.27 MB / 0.6753 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5032, allocations: 0 / 0.6753 GB, free: 1.984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.5033, allocations: 20 kB / 0.6753 GB, free: 1.965 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003973/0.5072, allocations: 1.742 MB / 0.677 GB, free: 168 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.5073, allocations: 15.95 kB / 0.677 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.294/0.8013, allocations: 0.5576 MB / 0.6776 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.8029, allocations: 0.8012 MB / 0.6784 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.8032, allocations: 236.5 kB / 0.6786 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.8034, allocations: 80.41 kB / 0.6787 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.8051, allocations: 0.9531 MB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.8052, allocations: 1.031 kB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.8053, allocations: 38.06 kB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.8053, allocations: 18.03 kB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.8072, allocations: 0.8533 MB / 0.6805 GB, free: 103.4 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.007507/0.8147, allocations: 3.96 MB / 0.6843 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.8222, allocations: 2.636 MB / 0.6869 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.8231, allocations: 0.5558 MB / 0.6875 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.8232, allocations: 19.44 kB / 0.6875 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.8232, allocations: 54.33 kB / 0.6875 GB, free: 101.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.475e-06/0.8232, allocations: 0 / 0.6875 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01129/0.8345, allocations: 3.927 MB / 0.6914 GB, free: 101.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8346, allocations: 140.5 kB / 0.6915 GB, free: 101.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.8358, allocations: 0.9236 MB / 0.6924 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.836, allocations: 45.7 kB / 0.6924 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.8362, allocations: 0.5138 MB / 0.6929 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.8365, allocations: 342 kB / 0.6933 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.8366, allocations: 22.88 kB / 0.6933 GB, free: 100.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.8367, allocations: 343.8 kB / 0.6936 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.8374, allocations: 459.7 kB / 0.6941 GB, free: 100.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.8381, allocations: 0.5807 MB / 0.6946 GB, free: 99.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.8389, allocations: 0.5624 MB / 0.6952 GB, free: 99.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8389, allocations: 0 / 0.6952 GB, free: 99.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01156/0.8504, allocations: 4.168 MB / 0.6992 GB, free: 98.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.8507, allocations: 1.206 MB / 0.7004 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.8507, allocations: 2.906 kB / 0.7004 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0053/0.856, allocations: 1.559 MB / 0.7019 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.8569, allocations: 163.1 kB / 0.7021 GB, free: 96.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.8705, allocations: 7.94 MB / 0.7099 GB, free: 91.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.8721, allocations: 191.9 kB / 0.71 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.8723, allocations: 35.7 kB / 0.7101 GB, free: 91.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.8723, allocations: 6.344 kB / 0.7101 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01148/0.8838, allocations: 4.041 MB / 0.714 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8839, allocations: 4 kB / 0.714 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005165/0.889, allocations: 1.545 MB / 0.7155 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.8899, allocations: 154.3 kB / 0.7157 GB, free: 87.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.9031, allocations: 7.928 MB / 0.7234 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.9048, allocations: 179.8 kB / 0.7236 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.905, allocations: 42.59 kB / 0.7236 GB, free: 79.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.9054, allocations: 194.6 kB / 0.7238 GB, free: 79.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/0.9059, allocations: 126.5 kB / 0.7239 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.9171, allocations: 4.056 MB / 0.7279 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.9171, allocations: 12 kB / 0.7279 GB, free: 75.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.9172, allocations: 4 kB / 0.7279 GB, free: 75.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.9172, allocations: 3.656 kB / 0.7279 GB, free: 75.96 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 postOpt removeSimpleEquations (simulation): time 0.01384/0.931, allocations: 5.723 MB / 0.7335 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9311, allocations: 0 / 0.7335 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.9319, allocations: 115.9 kB / 0.7336 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004303/0.9362, allocations: 1.426 MB / 0.735 GB, free: 69.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/0.9364, allocations: 23.98 kB / 0.735 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.9471, allocations: 5.724 MB / 0.7406 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9471, allocations: 2.188 kB / 0.7406 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.9595, allocations: 4.794 MB / 0.7453 GB, free: 58.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.96, allocations: 235.2 kB / 0.7455 GB, free: 58.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.9603, allocations: 20 kB / 0.7456 GB, free: 58.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.9618, allocations: 139.9 kB / 0.7457 GB, free: 58.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/0.9624, allocations: 180.7 kB / 0.7459 GB, free: 58.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.9625, allocations: 27.98 kB / 0.7459 GB, free: 58.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009841/0.9635, allocations: 0.7216 MB / 0.7466 GB, free: 57.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9635, allocations: 0 / 0.7466 GB, free: 57.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001971/0.9655, allocations: 0.6913 MB / 0.7473 GB, free: 56.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002981/0.9658, allocations: 158.7 kB / 0.7474 GB, free: 56.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008812/0.9746, allocations: 3.904 MB / 0.7512 GB, free: 52.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9746, allocations: 0 / 0.7512 GB, free: 52.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/0.9783, allocations: 1.47 MB / 0.7527 GB, free: 51.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.9794, allocations: 112 kB / 0.7528 GB, free: 51.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.983, allocations: 1.954 MB / 0.7547 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.9836, allocations: 1.17 MB / 0.7558 GB, free: 48.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009349/0.9845, allocations: 205.2 kB / 0.756 GB, free: 47.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.9847, allocations: 55.42 kB / 0.7561 GB, free: 47.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9848, allocations: 0 / 0.7561 GB, free: 47.79 MB / 490.7 MB Notification: Performance of Templates: time 0.03978/1.025, allocations: 28.99 MB / 0.7844 GB, free: 19.01 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)