Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 97.14 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06638/0.06638, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2806/0.2806, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.149e-05, allocations: 8 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4587, allocations: 103 MB / 0.6901 GB, free: 12.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4589, allocations: 76.7 kB / 0.6902 GB, free: 12.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.7115, allocations: 96.84 MB / 0.7847 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7116, allocations: 0 / 0.7847 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003774/0.7119, allocations: 87.94 kB / 0.7848 GB, free: 5.828 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01916/0.7311, allocations: 5.747 MB / 0.7904 GB, free: 4 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.7312, allocations: 16.03 kB / 0.7904 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.749, allocations: 2.783 MB / 0.7932 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00547/0.7546, allocations: 2.214 MB / 0.7953 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/0.7556, allocations: 0.9924 MB / 0.7963 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.7567, allocations: 339.9 kB / 0.7966 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008631/0.7654, allocations: 4.084 MB / 0.8006 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/0.7655, allocations: 0 / 0.8006 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/0.7659, allocations: 144 kB / 0.8007 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.766, allocations: 87.98 kB / 0.8008 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008026/0.7741, allocations: 3.609 MB / 0.8043 GB, free: 1.492 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.03766/0.8118, allocations: 18.58 MB / 0.8225 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.8233, allocations: 4.797 MB / 0.8272 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.8273, allocations: 2.221 MB / 0.8293 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.8278, allocations: 74.89 kB / 0.8294 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004965/0.8328, allocations: 2.6 MB / 0.832 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.781e-06/0.8328, allocations: 0 / 0.832 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.0561/0.8889, allocations: 17.57 MB / 0.8491 GB, free: 2.262 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.889, allocations: 141.8 kB / 0.8493 GB, free: 2.098 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.8932, allocations: 2.65 MB / 0.8518 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000776/0.894, allocations: 85.7 kB / 0.8519 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.8955, allocations: 2.006 MB / 0.8539 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.8971, allocations: 1.301 MB / 0.8552 GB, free: 12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.8974, allocations: 68 kB / 0.8552 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.8977, allocations: 449.8 kB / 0.8556 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.9011, allocations: 1.831 MB / 0.8574 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.9048, allocations: 2.415 MB / 0.8598 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.9086, allocations: 2.088 MB / 0.8618 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.9086, allocations: 7.953 kB / 0.8618 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.3136/1.222, allocations: 17.73 MB / 0.8791 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/1.222, allocations: 71.02 kB / 0.8792 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.222, allocations: 15.12 kB / 0.8792 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/1.246, allocations: 6.976 MB / 0.886 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.249, allocations: 0.5565 MB / 0.8866 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05728/1.306, allocations: 25.78 MB / 0.9118 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.312, allocations: 0.7041 MB / 0.9124 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006903/1.313, allocations: 139.1 kB / 0.9126 GB, free: 128.6 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008543/1.313, allocations: 329.7 kB / 0.9129 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.314, allocations: 455.4 kB / 0.9133 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05034/1.365, allocations: 18.12 MB / 0.931 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.365, allocations: 34.22 kB / 0.9311 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/1.365, allocations: 30.25 kB / 0.9311 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.583e-05/1.365, allocations: 22.56 kB / 0.9311 GB, free: 126.8 MB / 0.5886 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.05502/1.42, allocations: 23.07 MB / 0.9536 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.42, allocations: 0 / 0.9536 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/1.422, allocations: 395.4 kB / 0.954 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02152/1.444, allocations: 7.036 MB / 0.9609 GB, free: 115 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009103/1.445, allocations: 75.61 kB / 0.961 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05203/1.497, allocations: 24.49 MB / 0.9849 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.497, allocations: 3.375 kB / 0.9849 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05309/1.55, allocations: 20.94 MB / 1.005 GB, free: 75.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.552, allocations: 0.5573 MB / 1.006 GB, free: 75.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.553, allocations: 68 kB / 1.006 GB, free: 75.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004658/1.557, allocations: 0.4918 MB / 1.006 GB, free: 74.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002892/1.56, allocations: 0.776 MB / 1.007 GB, free: 74.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003928/1.561, allocations: 95.61 kB / 1.007 GB, free: 74.42 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002646/1.563, allocations: 2.01 MB / 1.009 GB, free: 72.56 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.61e-07/1.563, allocations: 0 / 1.009 GB, free: 72.56 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004808/1.568, allocations: 1.753 MB / 1.011 GB, free: 70.87 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006187/1.569, allocations: 217 kB / 1.011 GB, free: 70.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02032/1.589, allocations: 8.215 MB / 1.019 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.589, allocations: 0 / 1.019 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01747/1.607, allocations: 6.104 MB / 1.025 GB, free: 57.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.61, allocations: 305.7 kB / 1.025 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.623, allocations: 5.83 MB / 1.031 GB, free: 52.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/1.625, allocations: 2.53 MB / 1.034 GB, free: 50.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001844/1.627, allocations: 293 kB / 1.034 GB, free: 50.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.628, allocations: 202.8 kB / 1.034 GB, free: 49.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/1.628, allocations: 1.203 kB / 1.034 GB, free: 49.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.3719/2, allocations: 78.02 MB / 1.11 GB, free: 146.7 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)