Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 175 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.343/1.343, 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.0008102/0.0008103, allocations: 91.53 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.4409/0.4409, allocations: 78.91 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.972e-05, allocations: 8 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 69.5 MB / 0.5491 GB, free: 19.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4446, allocations: 99.49 MB / 0.6463 GB, free: 136 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4449, allocations: 75.97 kB / 0.6463 GB, free: 60 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.462/0.9069, allocations: 37.01 MB / 0.6825 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9069, allocations: 0 / 0.6825 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001382/0.9071, allocations: 27.11 kB / 0.6825 GB, free: 106.1 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005181/0.9123, allocations: 1.699 MB / 0.6842 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9123, allocations: 12.47 kB / 0.6842 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.9162, allocations: 0.559 MB / 0.6847 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.9183, allocations: 0.7779 MB / 0.6855 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.9187, allocations: 261.9 kB / 0.6857 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.919, allocations: 83.22 kB / 0.6858 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.9214, allocations: 0.939 MB / 0.6867 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.9214, allocations: 0.5 kB / 0.6867 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9215, allocations: 32.33 kB / 0.6868 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.9215, allocations: 21.44 kB / 0.6868 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.923, allocations: 0.8375 MB / 0.6876 GB, free: 104.6 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.006489/0.9295, allocations: 3.834 MB / 0.6913 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.9362, allocations: 2.661 MB / 0.6939 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.937, allocations: 0.542 MB / 0.6945 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.9371, allocations: 16.25 kB / 0.6945 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009749/0.9381, allocations: 0.6815 MB / 0.6952 GB, free: 102.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.9381, allocations: 0 / 0.6952 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01157/0.9497, allocations: 4.013 MB / 0.6991 GB, free: 101.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.9497, allocations: 121.1 kB / 0.6992 GB, free: 101.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.951, allocations: 0.8752 MB / 0.7 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.9511, allocations: 44.61 kB / 0.7001 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.9514, allocations: 0.5047 MB / 0.7006 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.9518, allocations: 346.3 kB / 0.7009 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.9518, allocations: 19.84 kB / 0.7009 GB, free: 100.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.9519, allocations: 348.2 kB / 0.7013 GB, free: 100 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.9526, allocations: 461.1 kB / 0.7017 GB, free: 99.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.9534, allocations: 0.5795 MB / 0.7023 GB, free: 99.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.9543, allocations: 0.5494 MB / 0.7028 GB, free: 99.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.9543, allocations: 3.953 kB / 0.7028 GB, free: 99.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01155/0.9658, allocations: 4.095 MB / 0.7068 GB, free: 97.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.9659, allocations: 65.12 kB / 0.7069 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9659, allocations: 0 / 0.7069 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005044/0.971, allocations: 1.519 MB / 0.7084 GB, free: 96.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.9721, allocations: 187.3 kB / 0.7085 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.9865, allocations: 6.749 MB / 0.7151 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.9882, allocations: 199 kB / 0.7153 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.9885, allocations: 46.42 kB / 0.7154 GB, free: 90.23 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.9888, allocations: 184.3 kB / 0.7155 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.9892, allocations: 130.4 kB / 0.7157 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.001, allocations: 4.146 MB / 0.7197 GB, free: 86.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.001, allocations: 12 kB / 0.7197 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.001, allocations: 8 kB / 0.7197 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.001, allocations: 11.55 kB / 0.7197 GB, free: 86.63 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.01296/1.014, allocations: 5.705 MB / 0.7253 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.014, allocations: 0 / 0.7253 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/1.014, allocations: 99.83 kB / 0.7254 GB, free: 81.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/1.019, allocations: 1.5 MB / 0.7269 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.019, allocations: 24 kB / 0.7269 GB, free: 79.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.031, allocations: 7.694 MB / 0.7344 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.031, allocations: 4 kB / 0.7344 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.044, allocations: 4.881 MB / 0.7392 GB, free: 66.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/1.044, allocations: 227.3 kB / 0.7394 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/1.045, allocations: 20 kB / 0.7394 GB, free: 66.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.046, allocations: 143.9 kB / 0.7395 GB, free: 66.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/1.047, allocations: 188.7 kB / 0.7397 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.047, allocations: 31.98 kB / 0.7398 GB, free: 66.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001064/1.048, allocations: 0.6856 MB / 0.7404 GB, free: 65.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 0.7404 GB, free: 65.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001543/1.05, allocations: 439.5 kB / 0.7408 GB, free: 65.05 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/1.05, allocations: 151.1 kB / 0.741 GB, free: 64.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004525/1.055, allocations: 2.065 MB / 0.743 GB, free: 62.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.055, allocations: 0 / 0.743 GB, free: 62.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/1.058, allocations: 1.584 MB / 0.7446 GB, free: 61.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/1.059, allocations: 116.1 kB / 0.7447 GB, free: 61.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/1.062, allocations: 1.733 MB / 0.7464 GB, free: 59.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.063, allocations: 1.147 MB / 0.7475 GB, free: 58.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004288/1.063, allocations: 94.42 kB / 0.7476 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/1.064, allocations: 67.42 kB / 0.7476 GB, free: 57.98 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/1.064, allocations: 0 / 0.7476 GB, free: 57.98 MB / 490.7 MB Notification: Performance of Templates: time 0.03013/1.094, allocations: 20.49 MB / 0.7676 GB, free: 37.72 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)