Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, 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 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0008754/0.0008754, allocations: 94.62 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.06582/0.06582, 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.3581/0.3581, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.982e-05, allocations: 7.938 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09783, allocations: 69.34 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4601, allocations: 117.9 MB / 0.7046 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4604, allocations: 87.12 kB / 0.7047 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1432/0.6037, allocations: 51.92 MB / 0.7554 GB, free: 2.012 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6037, allocations: 0 / 0.7554 GB, free: 2.012 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.6038, allocations: 43.94 kB / 0.7554 GB, free: 1.969 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006322/0.6102, allocations: 2.472 MB / 0.7579 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.6102, allocations: 15.98 kB / 0.7579 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.6134, allocations: 0.6215 MB / 0.7585 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.6156, allocations: 1.253 MB / 0.7597 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/0.6162, allocations: 0.584 MB / 0.7603 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.6165, allocations: 132.4 kB / 0.7604 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.6192, allocations: 1.568 MB / 0.7619 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.6192, allocations: 0 / 0.7619 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6194, allocations: 51.38 kB / 0.762 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.6194, allocations: 35.95 kB / 0.762 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.6219, allocations: 1.388 MB / 0.7634 GB, free: 11.34 MB / 0.4948 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.01126/0.6331, allocations: 6.293 MB / 0.7695 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/0.6417, allocations: 3.474 MB / 0.7729 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.6433, allocations: 0.8578 MB / 0.7737 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.644, allocations: 0.7414 MB / 0.7745 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/0.6458, allocations: 1.032 MB / 0.7755 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=159): time 3.497e-06/0.6458, allocations: 0 / 0.7755 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=159): time 0.0163/0.6621, allocations: 5.2 MB / 0.7806 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.6622, allocations: 145.8 kB / 0.7807 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.6646, allocations: 1.435 MB / 0.7821 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.6649, allocations: 57.7 kB / 0.7822 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.6655, allocations: 0.8254 MB / 0.783 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/0.6661, allocations: 0.5623 MB / 0.7835 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.6662, allocations: 36 kB / 0.7835 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6664, allocations: 365.9 kB / 0.7839 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.6677, allocations: 0.7187 MB / 0.7846 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.6692, allocations: 0.9326 MB / 0.7855 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.6706, allocations: 0.7986 MB / 0.7863 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.6706, allocations: 4 kB / 0.7863 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004503/0.6752, allocations: 2.47 MB / 0.7887 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005376/0.6757, allocations: 1.749 MB / 0.7904 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.6757, allocations: 4 kB / 0.7904 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008385/0.6841, allocations: 2.511 MB / 0.7929 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.6856, allocations: 295.6 kB / 0.7931 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.6902, allocations: 2.269 MB / 0.7954 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.6929, allocations: 306.4 kB / 0.7957 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.6932, allocations: 63.98 kB / 0.7957 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.6932, allocations: 0 / 0.7957 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004189/0.6974, allocations: 2.256 MB / 0.7979 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6974, allocations: 4 kB / 0.7979 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008178/0.7056, allocations: 2.515 MB / 0.8004 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.707, allocations: 287.6 kB / 0.8006 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.7115, allocations: 2.265 MB / 0.8029 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.7139, allocations: 302.4 kB / 0.8032 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.714, allocations: 67.92 kB / 0.8032 GB, free: 2.129 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003835/0.7144, allocations: 180.7 kB / 0.8034 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.7148, allocations: 213.4 kB / 0.8036 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/0.7308, allocations: 5.397 MB / 0.8089 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.7309, allocations: 19.95 kB / 0.8089 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7309, allocations: 4 kB / 0.8089 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.7309, allocations: 11.97 kB / 0.8089 GB, free: 12.28 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 postOpt removeSimpleEquations (simulation): time 0.01969/0.7506, allocations: 7.829 MB / 0.8165 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.7507, allocations: 7.984 kB / 0.8165 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.7522, allocations: 223.7 kB / 0.8168 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/0.7587, allocations: 2.006 MB / 0.8187 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.7589, allocations: 35.92 kB / 0.8188 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/0.7765, allocations: 7.849 MB / 0.8264 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.7765, allocations: 7.953 kB / 0.8264 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/0.7942, allocations: 6.528 MB / 0.8328 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/0.795, allocations: 326 kB / 0.8331 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.7954, allocations: 31.98 kB / 0.8331 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.7974, allocations: 211.8 kB / 0.8333 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/0.7985, allocations: 293.4 kB / 0.8336 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/0.7987, allocations: 39.95 kB / 0.8337 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001821/0.8005, allocations: 1.11 MB / 0.8347 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8005, allocations: 0 / 0.8347 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002551/0.8031, allocations: 0.928 MB / 0.8357 GB, free: 492 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004541/0.8036, allocations: 208.6 kB / 0.8359 GB, free: 276 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01387/0.8174, allocations: 4.649 MB / 0.8404 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.8175, allocations: 0 / 0.8404 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/0.8234, allocations: 2.041 MB / 0.8424 GB, free: 9.547 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.8247, allocations: 178 kB / 0.8426 GB, free: 9.375 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.8304, allocations: 3.146 MB / 0.8456 GB, free: 6.188 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008791/0.8313, allocations: 1.442 MB / 0.847 GB, free: 4.719 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001503/0.8328, allocations: 316.9 kB / 0.8473 GB, free: 4.402 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.8331, allocations: 91.36 kB / 0.8474 GB, free: 4.312 MB / 0.573 GB Notification: Performance of SimCode: time 5.31e-07/0.8331, allocations: 0 / 0.8474 GB, free: 4.312 MB / 0.573 GB Notification: Performance of Templates: time 0.2863/1.119, allocations: 36.47 MB / 0.883 GB, free: 177.1 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)