Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 192.5 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.604/0.604, allocations: 92.62 MB / 433 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 80.2 kB / 0.5034 GB, free: 6.922 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3859, allocations: 71.39 MB / 0.5731 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.008675/0.3946, allocations: 9.315 MB / 0.5822 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007565/0.4023, allocations: 3.007 MB / 0.5851 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.4049, allocations: 18.28 kB / 0.5851 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.4063, allocations: 359 kB / 0.5855 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.4105, allocations: 1.041 MB / 0.5865 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.4133, allocations: 1.055 MB / 0.5875 GB, free: 26.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.4171, allocations: 2.596 MB / 0.5901 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.418, allocations: 0.5573 MB / 0.5906 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.4198, allocations: 1.023 MB / 0.5916 GB, free: 24.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.4215, allocations: 1.268 MB / 0.5928 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.422, allocations: 226.8 kB / 0.5931 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.4231, allocations: 0.4955 MB / 0.5935 GB, free: 24.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.4235, allocations: 0.5404 MB / 0.5941 GB, free: 23.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.4245, allocations: 1.066 MB / 0.5951 GB, free: 22.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.4278, allocations: 2.769 MB / 0.5978 GB, free: 21.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4278, allocations: 0 / 0.5978 GB, free: 21.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4278, allocations: 0 / 0.5978 GB, free: 21.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.731e-05/0.4279, allocations: 0 / 0.5978 GB, free: 21.76 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01546/0.4434, allocations: 3.929 MB / 0.6017 GB, free: 20.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4435, allocations: 10.22 kB / 0.6017 GB, free: 20.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/0.4489, allocations: 0.7812 MB / 0.6024 GB, free: 19.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.452, allocations: 1.283 MB / 0.6037 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.4525, allocations: 0.4973 MB / 0.6042 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.4528, allocations: 134.9 kB / 0.6043 GB, free: 18.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.4569, allocations: 1.667 MB / 0.6059 GB, free: 17.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.457, allocations: 5.219 kB / 0.6059 GB, free: 17.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.4571, allocations: 50.47 kB / 0.606 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4572, allocations: 28.34 kB / 0.606 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.4611, allocations: 1.553 MB / 0.6075 GB, free: 17.34 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01285/0.474, allocations: 5.774 MB / 0.6132 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009936/0.4839, allocations: 3.239 MB / 0.6163 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.4868, allocations: 1.019 MB / 0.6173 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.4873, allocations: 0.7317 MB / 0.618 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002739/0.4901, allocations: 1.183 MB / 0.6192 GB, free: 10.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.546e-06/0.4901, allocations: 0 / 0.6192 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04274/0.5329, allocations: 10.64 MB / 0.6296 GB, free: 3.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.533, allocations: 149.8 kB / 0.6297 GB, free: 2.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.5354, allocations: 1.614 MB / 0.6313 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005543/0.536, allocations: 57.7 kB / 0.6314 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.5364, allocations: 0.7067 MB / 0.632 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000516/0.5369, allocations: 0.5123 MB / 0.6325 GB, free: 48 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/0.5377, allocations: 387.8 kB / 0.6329 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5379, allocations: 305.1 kB / 0.6332 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.5406, allocations: 1.114 MB / 0.6343 GB, free: 14.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.5436, allocations: 1.33 MB / 0.6356 GB, free: 12.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/0.5491, allocations: 2.321 MB / 0.6379 GB, free: 10.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.5492, allocations: 4 kB / 0.6379 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.01972/0.5689, allocations: 5.766 MB / 0.6435 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.569, allocations: 10.03 kB / 0.6435 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.569, allocations: 4 kB / 0.6435 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.5799, allocations: 2.808 MB / 0.6463 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5819, allocations: 363.5 kB / 0.6466 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/0.5899, allocations: 3.371 MB / 0.6499 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.5931, allocations: 286.1 kB / 0.6502 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.5935, allocations: 67.98 kB / 0.6502 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003362/0.5968, allocations: 1.344 MB / 0.6515 GB, free: 12.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002887/0.5998, allocations: 1.326 MB / 0.6528 GB, free: 10.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00542/0.6052, allocations: 2.306 MB / 0.6551 GB, free: 8.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.206e-06/0.6052, allocations: 0 / 0.6551 GB, free: 8.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=271) (initialization_lambda0): time 0.01985/0.6251, allocations: 5.751 MB / 0.6607 GB, free: 2.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6252, allocations: 8 kB / 0.6607 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.6252, allocations: 4 kB / 0.6607 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.636, allocations: 2.805 MB / 0.6635 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.638, allocations: 355.5 kB / 0.6638 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007905/0.646, allocations: 3.372 MB / 0.6671 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/0.6492, allocations: 262.4 kB / 0.6673 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.6494, allocations: 71.97 kB / 0.6674 GB, free: 11.76 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005673/0.65, allocations: 275.9 kB / 0.6677 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/0.6505, allocations: 185.7 kB / 0.6678 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/0.6681, allocations: 5.006 MB / 0.6727 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.6682, allocations: 12 kB / 0.6727 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6682, allocations: 0 / 0.6727 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/0.6683, allocations: 11.97 kB / 0.6728 GB, free: 6.254 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02221/0.6905, allocations: 7.349 MB / 0.6799 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.6906, allocations: 3.938 kB / 0.6799 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.6919, allocations: 187.8 kB / 0.6801 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008188/0.7001, allocations: 2.15 MB / 0.6822 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/0.7006, allocations: 28 kB / 0.6822 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.7286, allocations: 10.08 MB / 0.6921 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7287, allocations: 0 / 0.6921 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/0.75, allocations: 6.287 MB / 0.6982 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7512, allocations: 298.4 kB / 0.6985 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.7516, allocations: 28 kB / 0.6985 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.7535, allocations: 159.8 kB / 0.6987 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009525/0.7545, allocations: 285.3 kB / 0.699 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.7546, allocations: 36 kB / 0.699 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0019/0.7565, allocations: 1.085 MB / 0.7001 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7565, allocations: 0 / 0.7001 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002925/0.7594, allocations: 0.9596 MB / 0.701 GB, free: 9.004 MB / 0.4981 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004875/0.7599, allocations: 174.9 kB / 0.7012 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01915/0.7791, allocations: 5.407 MB / 0.7064 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7791, allocations: 0 / 0.7064 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007211/0.7864, allocations: 2.075 MB / 0.7085 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7883, allocations: 165 kB / 0.7086 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008281/0.7966, allocations: 3.641 MB / 0.7122 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.7977, allocations: 1.32 MB / 0.7135 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/0.7986, allocations: 123.4 kB / 0.7136 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.7986, allocations: 0 / 0.7136 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.05183/0.8505, allocations: 33.99 MB / 0.7468 GB, free: 10 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)