Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, 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.259/1.259, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008351/0.0008351, allocations: 82.66 kB / 266.6 MB, free: 9.277 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.0673/0.0673, allocations: 12.59 MB / 327.3 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.2978/0.2978, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.668e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 69.33 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4613, allocations: 104.4 MB / 0.6914 GB, free: 11.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.4616, allocations: 81.7 kB / 0.6915 GB, free: 11.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2493/0.7109, allocations: 98.32 MB / 0.7875 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.308e-06/0.7109, allocations: 0 / 0.7875 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00022/0.7112, allocations: 87.88 kB / 0.7876 GB, free: 2.98 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01743/0.7286, allocations: 5.798 MB / 0.7933 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7287, allocations: 15.97 kB / 0.7933 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.7461, allocations: 2.791 MB / 0.796 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/0.7517, allocations: 2.257 MB / 0.7982 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/0.7527, allocations: 0.9847 MB / 0.7992 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.7543, allocations: 344 kB / 0.7995 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.7687, allocations: 4.108 MB / 0.8035 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.61e-05/0.7688, allocations: 0 / 0.8035 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007108/0.7695, allocations: 140 kB / 0.8036 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.7697, allocations: 87.95 kB / 0.8037 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.7831, allocations: 3.636 MB / 0.8073 GB, free: 14.5 MB / 0.5417 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.06797/0.8512, allocations: 18.68 MB / 0.8255 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02176/0.873, allocations: 4.837 MB / 0.8302 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007895/0.8809, allocations: 2.241 MB / 0.8324 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008262/0.8818, allocations: 66.92 kB / 0.8325 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008849/0.8907, allocations: 2.628 MB / 0.8351 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 1.264e-05/0.8907, allocations: 0 / 0.8351 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.07037/0.9611, allocations: 17.62 MB / 0.8523 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.9612, allocations: 149.8 kB / 0.8524 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004413/0.9657, allocations: 2.686 MB / 0.855 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008668/0.9666, allocations: 89.7 kB / 0.8551 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.9681, allocations: 2.006 MB / 0.8571 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/0.97, allocations: 1.313 MB / 0.8583 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.9703, allocations: 72 kB / 0.8584 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.9706, allocations: 453.8 kB / 0.8588 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/0.9739, allocations: 1.851 MB / 0.8607 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.9777, allocations: 2.434 MB / 0.863 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00378/0.9815, allocations: 2.108 MB / 0.8651 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.9815, allocations: 7.953 kB / 0.8651 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.3169/1.298, allocations: 17.83 MB / 0.8825 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/1.299, allocations: 63.62 kB / 0.8826 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/1.299, allocations: 14.38 kB / 0.8826 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02274/1.321, allocations: 7.061 MB / 0.8895 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.324, allocations: 0.5547 MB / 0.89 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0545/1.379, allocations: 27.12 MB / 0.9165 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/1.384, allocations: 0.7075 MB / 0.9172 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005191/1.385, allocations: 136.5 kB / 0.9173 GB, free: 127.1 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 (334): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007956/1.386, allocations: 329.2 kB / 0.9176 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/1.386, allocations: 458.8 kB / 0.9181 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04879/1.435, allocations: 18.18 MB / 0.9358 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/1.435, allocations: 39.66 kB / 0.9359 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.435, allocations: 28 kB / 0.9359 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.755e-05/1.435, allocations: 18.42 kB / 0.9359 GB, free: 123.9 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.05709/1.493, allocations: 23.17 MB / 0.9585 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/1.493, allocations: 0 / 0.9585 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/1.495, allocations: 396.1 kB / 0.9589 GB, free: 115 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02146/1.516, allocations: 7.026 MB / 0.9658 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006869/1.517, allocations: 71.8 kB / 0.9659 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05097/1.568, allocations: 24.52 MB / 0.9898 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.568, allocations: 0 / 0.9898 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05431/1.623, allocations: 21.02 MB / 1.01 GB, free: 70.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.624, allocations: 0.5725 MB / 1.011 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009469/1.625, allocations: 64 kB / 1.011 GB, free: 69.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004404/1.629, allocations: 498.6 kB / 1.011 GB, free: 69.39 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002782/1.632, allocations: 0.7868 MB / 1.012 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/1.633, allocations: 91.42 kB / 1.012 GB, free: 68.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002548/1.635, allocations: 2.041 MB / 1.014 GB, free: 66.99 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.9e-07/1.635, allocations: 0 / 1.014 GB, free: 66.99 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004461/1.64, allocations: 1.781 MB / 1.016 GB, free: 65.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.0005272/1.64, allocations: 214.7 kB / 1.016 GB, free: 65.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02023/1.66, allocations: 8.391 MB / 1.024 GB, free: 57.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.66, allocations: 0.5 kB / 1.024 GB, free: 57.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01697/1.677, allocations: 6.148 MB / 1.03 GB, free: 51.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.68, allocations: 305 kB / 1.031 GB, free: 51.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.691, allocations: 6.076 MB / 1.037 GB, free: 46.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.692, allocations: 2.548 MB / 1.039 GB, free: 44.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00165/1.694, allocations: 305.3 kB / 1.039 GB, free: 44.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/1.695, allocations: 195 kB / 1.04 GB, free: 43.84 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/1.695, allocations: 0 / 1.04 GB, free: 43.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.3675/2.062, allocations: 78.88 MB / 1.117 GB, free: 144 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)