Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, 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.267/1.267, 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.0008404/0.0008405, allocations: 97.27 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5931/0.5931, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.42e-05, allocations: 11.98 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3419, allocations: 69.33 MB / 0.548 GB, free: 20.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4648, allocations: 98.4 MB / 0.6441 GB, free: 2.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4651, allocations: 79.95 kB / 0.6442 GB, free: 2.105 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.382/0.8471, allocations: 35.11 MB / 0.6784 GB, free: 105.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.8471, allocations: 0 / 0.6784 GB, free: 105.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.828e-05/0.8472, allocations: 25.48 kB / 0.6785 GB, free: 105.4 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004285/0.8515, allocations: 1.686 MB / 0.6801 GB, free: 104.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8515, allocations: 13 kB / 0.6801 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.8553, allocations: 0.5593 MB / 0.6807 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.8572, allocations: 0.794 MB / 0.6814 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.8575, allocations: 228.4 kB / 0.6817 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.8577, allocations: 76.5 kB / 0.6817 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.8597, allocations: 0.9326 MB / 0.6826 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8597, allocations: 0.5625 kB / 0.6826 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.8598, allocations: 34.55 kB / 0.6827 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.8598, allocations: 19.48 kB / 0.6827 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.8615, allocations: 0.8404 MB / 0.6835 GB, free: 104 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.006836/0.8683, allocations: 3.838 MB / 0.6873 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/0.8754, allocations: 2.608 MB / 0.6898 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/0.8763, allocations: 0.5454 MB / 0.6903 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.8764, allocations: 16.48 kB / 0.6904 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.8764, allocations: 45.03 kB / 0.6904 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.066e-06/0.8764, allocations: 0 / 0.6904 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01155/0.888, allocations: 3.898 MB / 0.6942 GB, free: 102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8881, allocations: 139.2 kB / 0.6943 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.8893, allocations: 0.8755 MB / 0.6952 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.8895, allocations: 44.2 kB / 0.6952 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.8898, allocations: 0.5012 MB / 0.6957 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.89, allocations: 335.8 kB / 0.6961 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.8901, allocations: 19.59 kB / 0.6961 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.8902, allocations: 344.7 kB / 0.6964 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.8909, allocations: 440.9 kB / 0.6968 GB, free: 100.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.8916, allocations: 0.5635 MB / 0.6974 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.8923, allocations: 0.5359 MB / 0.6979 GB, free: 99.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8923, allocations: 5.422 kB / 0.6979 GB, free: 99.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01127/0.9036, allocations: 4.062 MB / 0.7019 GB, free: 98.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.9038, allocations: 1.197 MB / 0.703 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9039, allocations: 3.75 kB / 0.703 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004791/0.9086, allocations: 1.486 MB / 0.7045 GB, free: 97.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/0.9095, allocations: 163.3 kB / 0.7046 GB, free: 97.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.9217, allocations: 6.528 MB / 0.711 GB, free: 92.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.9234, allocations: 199.8 kB / 0.7112 GB, free: 92.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.9235, allocations: 35.94 kB / 0.7112 GB, free: 92.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.9235, allocations: 4 kB / 0.7112 GB, free: 92.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/0.9344, allocations: 3.932 MB / 0.7151 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.9345, allocations: 0 / 0.7151 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/0.9392, allocations: 1.483 MB / 0.7165 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.9401, allocations: 158.5 kB / 0.7167 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.9519, allocations: 6.512 MB / 0.723 GB, free: 82.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.9536, allocations: 180 kB / 0.7232 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/0.9537, allocations: 31.61 kB / 0.7232 GB, free: 82.09 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (87): * Single equations (assignments): 84 * 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: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.9541, allocations: 190.8 kB / 0.7234 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.9543, allocations: 122.5 kB / 0.7235 GB, free: 81.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9654, allocations: 4.003 MB / 0.7275 GB, free: 78.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.9655, allocations: 12 kB / 0.7275 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.9655, allocations: 11.94 kB / 0.7275 GB, free: 78.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.9655, allocations: 3.703 kB / 0.7275 GB, free: 78.61 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.01403/0.9796, allocations: 5.613 MB / 0.733 GB, free: 73.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.9796, allocations: 0 / 0.733 GB, free: 73.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.9804, allocations: 119.9 kB / 0.7331 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004316/0.9848, allocations: 1.414 MB / 0.7345 GB, free: 71.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.985, allocations: 23.89 kB / 0.7345 GB, free: 71.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.9953, allocations: 5.737 MB / 0.7401 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.9953, allocations: 2.188 kB / 0.7401 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.008, allocations: 4.715 MB / 0.7447 GB, free: 61.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/1.008, allocations: 223.3 kB / 0.7449 GB, free: 60.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.009, allocations: 31.56 kB / 0.7449 GB, free: 60.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.01, allocations: 135.9 kB / 0.7451 GB, free: 60.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/1.01, allocations: 176.5 kB / 0.7452 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/1.01, allocations: 27.98 kB / 0.7453 GB, free: 60.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008131/1.011, allocations: 0.6815 MB / 0.7459 GB, free: 59.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.011, allocations: 0 / 0.7459 GB, free: 59.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001726/1.013, allocations: 0.6709 MB / 0.7466 GB, free: 59.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/1.013, allocations: 144.6 kB / 0.7467 GB, free: 59.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008545/1.022, allocations: 3.626 MB / 0.7503 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.022, allocations: 0 / 0.7503 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/1.026, allocations: 1.443 MB / 0.7517 GB, free: 53.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/1.027, allocations: 105.7 kB / 0.7518 GB, free: 53.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/1.03, allocations: 1.779 MB / 0.7535 GB, free: 52.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/1.031, allocations: 1.158 MB / 0.7546 GB, free: 50.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009394/1.032, allocations: 205.1 kB / 0.7548 GB, free: 50.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.032, allocations: 55.44 kB / 0.7549 GB, free: 50.61 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/1.032, allocations: 0 / 0.7549 GB, free: 50.61 MB / 490.7 MB Notification: Performance of Templates: time 0.03581/1.068, allocations: 27.61 MB / 0.7819 GB, free: 23.24 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)