Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009679/0.0009679, allocations: 174.6 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.19/1.19, 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.0008876/0.0008876, allocations: 99.25 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.4295/0.4295, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.573e-05, allocations: 7.984 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 69.35 MB / 0.548 GB, free: 20.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3968, allocations: 98.4 MB / 0.644 GB, free: 2.043 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.3971, allocations: 79.95 kB / 0.6441 GB, free: 1.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3456/0.7427, allocations: 35.1 MB / 0.6784 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7427, allocations: 0 / 0.6784 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.416e-05/0.7428, allocations: 27.81 kB / 0.6784 GB, free: 105.3 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.004188/0.747, allocations: 1.691 MB / 0.6801 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.747, allocations: 13.28 kB / 0.6801 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.7506, allocations: 0.5568 MB / 0.6806 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.7521, allocations: 0.7877 MB / 0.6814 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.7523, allocations: 228.9 kB / 0.6816 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.7525, allocations: 77.42 kB / 0.6817 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.7543, allocations: 0.9344 MB / 0.6826 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7543, allocations: 0.875 kB / 0.6826 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.7544, allocations: 33.2 kB / 0.6826 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.7545, allocations: 18.38 kB / 0.6827 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.756, allocations: 0.8395 MB / 0.6835 GB, free: 103.9 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.006579/0.7626, allocations: 3.835 MB / 0.6872 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/0.7696, allocations: 2.611 MB / 0.6898 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.7703, allocations: 0.5444 MB / 0.6903 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.7705, allocations: 13.33 kB / 0.6903 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.7705, allocations: 48.42 kB / 0.6904 GB, free: 102.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.925e-06/0.7705, allocations: 0 / 0.6904 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01118/0.7817, allocations: 3.895 MB / 0.6942 GB, free: 101.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7818, allocations: 138.7 kB / 0.6943 GB, free: 101.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7829, allocations: 0.8739 MB / 0.6952 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.783, allocations: 45.83 kB / 0.6952 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.7833, allocations: 0.5008 MB / 0.6957 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.7835, allocations: 341.1 kB / 0.696 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.7836, allocations: 19.91 kB / 0.696 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.7837, allocations: 339.4 kB / 0.6964 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.7843, allocations: 441.9 kB / 0.6968 GB, free: 100.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.7851, allocations: 0.5649 MB / 0.6973 GB, free: 99.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.7858, allocations: 0.5413 MB / 0.6979 GB, free: 99.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7858, allocations: 0 / 0.6979 GB, free: 99.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01105/0.7969, allocations: 4.057 MB / 0.7018 GB, free: 98.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.7972, allocations: 1.204 MB / 0.703 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7972, allocations: 3.969 kB / 0.703 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/0.8019, allocations: 1.487 MB / 0.7045 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.8028, allocations: 161.6 kB / 0.7046 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.8145, allocations: 6.528 MB / 0.711 GB, free: 92.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.8161, allocations: 191.4 kB / 0.7112 GB, free: 92.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.8162, allocations: 35.38 kB / 0.7112 GB, free: 92.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.8162, allocations: 4 kB / 0.7112 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01057/0.8268, allocations: 3.935 MB / 0.715 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.8269, allocations: 4 kB / 0.7151 GB, free: 89.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004498/0.8314, allocations: 1.482 MB / 0.7165 GB, free: 88.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.8322, allocations: 155.3 kB / 0.7166 GB, free: 88.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.8437, allocations: 6.512 MB / 0.723 GB, free: 82.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.8453, allocations: 176.1 kB / 0.7232 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/0.8454, allocations: 35.66 kB / 0.7232 GB, free: 82.02 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.0002919/0.8457, allocations: 198.2 kB / 0.7234 GB, free: 81.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.8459, allocations: 125.6 kB / 0.7235 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.8566, allocations: 4.005 MB / 0.7274 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.8566, allocations: 8 kB / 0.7274 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8566, allocations: 8 kB / 0.7274 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.8567, allocations: 3.891 kB / 0.7274 GB, free: 78.54 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.01295/0.8696, allocations: 5.617 MB / 0.7329 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8697, allocations: 4.031 kB / 0.7329 GB, free: 73.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.8704, allocations: 111.9 kB / 0.733 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/0.8746, allocations: 1.41 MB / 0.7344 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.8748, allocations: 27.94 kB / 0.7344 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.8848, allocations: 5.734 MB / 0.74 GB, free: 65.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8849, allocations: 3.938 kB / 0.74 GB, free: 65.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.8968, allocations: 4.722 MB / 0.7447 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.8975, allocations: 223.3 kB / 0.7449 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.8979, allocations: 23.95 kB / 0.7449 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.899, allocations: 131.9 kB / 0.745 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004995/0.8995, allocations: 184.6 kB / 0.7452 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.8996, allocations: 24 kB / 0.7452 GB, free: 60.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007921/0.9004, allocations: 0.6815 MB / 0.7459 GB, free: 59.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9004, allocations: 0 / 0.7459 GB, free: 59.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001622/0.902, allocations: 0.6709 MB / 0.7465 GB, free: 59.08 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.0002899/0.9023, allocations: 156.5 kB / 0.7467 GB, free: 58.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008025/0.9104, allocations: 3.627 MB / 0.7502 GB, free: 55.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9104, allocations: 0 / 0.7502 GB, free: 55.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003345/0.9138, allocations: 1.431 MB / 0.7516 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.9146, allocations: 109.3 kB / 0.7517 GB, free: 53.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.9174, allocations: 1.781 MB / 0.7535 GB, free: 51.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.9179, allocations: 1.165 MB / 0.7546 GB, free: 50.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007693/0.9187, allocations: 193.7 kB / 0.7548 GB, free: 50.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.9188, allocations: 59.42 kB / 0.7549 GB, free: 50.44 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.9189, allocations: 0 / 0.7549 GB, free: 50.44 MB / 490.7 MB Notification: Performance of Templates: time 0.03682/0.9557, allocations: 27.62 MB / 0.7818 GB, free: 23.09 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)