Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001397, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008323/0.0008326, allocations: 82.25 kB / 261.4 MB, free: 13.45 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.07182/0.07182, allocations: 12.6 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2965/0.2965, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.254e-05/1.258e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5431, allocations: 117.2 MB / 0.6968 GB, free: 7.051 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5433, allocations: 86.27 kB / 0.6969 GB, free: 7.004 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.6756, allocations: 47.74 MB / 0.7435 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6756, allocations: 0 / 0.7435 GB, free: 15.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001606/0.6758, allocations: 32 kB / 0.7436 GB, free: 15.81 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.007306/0.6831, allocations: 2.287 MB / 0.7458 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6832, allocations: 12.03 kB / 0.7458 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.6866, allocations: 0.5803 MB / 0.7464 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.6892, allocations: 1.141 MB / 0.7475 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005788/0.6898, allocations: 464.2 kB / 0.7479 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.6901, allocations: 75.78 kB / 0.748 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002394/0.6925, allocations: 1.197 MB / 0.7492 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.6948, allocations: 1.22 MB / 0.7504 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6948, allocations: 352 / 0.7504 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.695, allocations: 3.953 kB / 0.7504 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.695, allocations: 28 kB / 0.7504 GB, free: 9.965 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.01057/0.7056, allocations: 5.369 MB / 0.7556 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008044/0.7137, allocations: 3.283 MB / 0.7588 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.715, allocations: 0.7446 MB / 0.7596 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/0.7157, allocations: 0.7375 MB / 0.7603 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.7174, allocations: 0.9124 MB / 0.7612 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 4.699e-06/0.7174, allocations: 0 / 0.7612 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.01569/0.7331, allocations: 5.032 MB / 0.7661 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.7332, allocations: 141.8 kB / 0.7662 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.7358, allocations: 1.168 MB / 0.7674 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.7362, allocations: 29.7 kB / 0.7674 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.7369, allocations: 0.7028 MB / 0.7681 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/0.7377, allocations: 476.8 kB / 0.7685 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.7379, allocations: 4 kB / 0.7685 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7381, allocations: 357.9 kB / 0.7689 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.7393, allocations: 0.6289 MB / 0.7695 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.7407, allocations: 0.8138 MB / 0.7703 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.7423, allocations: 0.7087 MB / 0.771 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.7423, allocations: 4 kB / 0.771 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004771/0.7471, allocations: 2.256 MB / 0.7732 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006192/0.7478, allocations: 1.538 MB / 0.7747 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7478, allocations: 8 kB / 0.7747 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007981/0.7558, allocations: 2.383 MB / 0.777 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.757, allocations: 235.7 kB / 0.7773 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.7626, allocations: 3.078 MB / 0.7803 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.7651, allocations: 254.6 kB / 0.7805 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.7654, allocations: 55.98 kB / 0.7806 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7654, allocations: 8 kB / 0.7806 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004445/0.7699, allocations: 2.042 MB / 0.7826 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7699, allocations: 4 kB / 0.7826 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007754/0.7777, allocations: 2.387 MB / 0.7849 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.7788, allocations: 227.6 kB / 0.7851 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.7843, allocations: 3.078 MB / 0.7881 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.7867, allocations: 250.7 kB / 0.7884 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.787, allocations: 51.98 kB / 0.7884 GB, free: 2.859 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.7875, allocations: 124.7 kB / 0.7885 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.7881, allocations: 177.8 kB / 0.7887 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.8036, allocations: 5.091 MB / 0.7937 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.8037, allocations: 16 kB / 0.7937 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.8037, allocations: 7.953 kB / 0.7937 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/0.8038, allocations: 3.984 kB / 0.7937 GB, free: 13.42 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 postOpt removeSimpleEquations (simulation): time 0.01985/0.8236, allocations: 7.247 MB / 0.8008 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8237, allocations: 0 / 0.8008 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.8249, allocations: 191.7 kB / 0.801 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006451/0.8314, allocations: 1.998 MB / 0.8029 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.8317, allocations: 15.98 kB / 0.8029 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.8493, allocations: 7.705 MB / 0.8104 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.8494, allocations: 8 kB / 0.8105 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/0.8674, allocations: 6.196 MB / 0.8165 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/0.8683, allocations: 290.5 kB / 0.8168 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/0.869, allocations: 8 kB / 0.8168 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.8711, allocations: 183.8 kB / 0.817 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000908/0.872, allocations: 285.2 kB / 0.8172 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.8722, allocations: 35.98 kB / 0.8173 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001498/0.8737, allocations: 0.8836 MB / 0.8181 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8737, allocations: 0 / 0.8181 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002468/0.8762, allocations: 0.772 MB / 0.8189 GB, free: 3.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0004578/0.8767, allocations: 175 kB / 0.8191 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0128/0.8895, allocations: 4.243 MB / 0.8232 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.8895, allocations: 0 / 0.8232 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/0.8956, allocations: 1.9 MB / 0.8251 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8972, allocations: 117.5 kB / 0.8252 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.9035, allocations: 2.72 MB / 0.8278 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.9046, allocations: 1.337 MB / 0.8291 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001611/0.9062, allocations: 274.4 kB / 0.8294 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.9066, allocations: 75.42 kB / 0.8295 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.9066, allocations: 0 / 0.8295 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of Templates: time 0.3307/1.237, allocations: 32.98 MB / 0.8617 GB, free: 169.9 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)