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.0009106/0.0009106, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.258/1.258, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001136/0.001136, allocations: 193 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4186/0.4186, allocations: 79.45 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 16 kB / 0.489 GB, free: 5.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 69.52 MB / 0.5569 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.1945/0.3127, allocations: 8.113 MB / 0.5648 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.3182, allocations: 2.931 MB / 0.5677 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3196, allocations: 19.47 kB / 0.5677 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.3204, allocations: 243.5 kB / 0.5679 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.3227, allocations: 0.9319 MB / 0.5688 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.3243, allocations: 0.8106 MB / 0.5696 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3263, allocations: 1.568 MB / 0.5712 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.3269, allocations: 453.8 kB / 0.5716 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.3278, allocations: 0.8357 MB / 0.5724 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.3286, allocations: 1.068 MB / 0.5734 GB, free: 33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.3288, allocations: 99.19 kB / 0.5735 GB, free: 33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006123/0.3294, allocations: 352.2 kB / 0.5739 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.3297, allocations: 399.2 kB / 0.5743 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.33, allocations: 339.3 kB / 0.5746 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3314, allocations: 2.031 MB / 0.5766 GB, free: 31.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.3314, allocations: 0 / 0.5766 GB, free: 31.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3314, allocations: 0 / 0.5766 GB, free: 31.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.3314, allocations: 0 / 0.5766 GB, free: 31.96 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.01126/0.3427, allocations: 3.668 MB / 0.5801 GB, free: 30.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3427, allocations: 8.906 kB / 0.5802 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.3473, allocations: 0.7934 MB / 0.5809 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.3495, allocations: 1.219 MB / 0.5821 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.3499, allocations: 0.5129 MB / 0.5826 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.3502, allocations: 128.9 kB / 0.5827 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.3531, allocations: 1.749 MB / 0.5845 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3532, allocations: 0 / 0.5845 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.3533, allocations: 49.88 kB / 0.5845 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3533, allocations: 29.81 kB / 0.5845 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.3565, allocations: 1.65 MB / 0.5861 GB, free: 27.85 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.009477/0.366, allocations: 5.981 MB / 0.592 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.3754, allocations: 3.831 MB / 0.5957 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.3758, allocations: 0.7351 MB / 0.5964 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002685/0.3785, allocations: 1.267 MB / 0.5977 GB, free: 21.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.227e-06/0.3786, allocations: 0.875 kB / 0.5977 GB, free: 21.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04572/0.4243, allocations: 12.91 MB / 0.6103 GB, free: 19.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4244, allocations: 150.1 kB / 0.6104 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.4268, allocations: 1.598 MB / 0.612 GB, free: 18.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003937/0.4272, allocations: 56.55 kB / 0.612 GB, free: 18.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.4276, allocations: 0.7074 MB / 0.6127 GB, free: 17.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.4281, allocations: 0.5152 MB / 0.6132 GB, free: 17.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.4282, allocations: 43.62 kB / 0.6133 GB, free: 17.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.4283, allocations: 388.2 kB / 0.6137 GB, free: 16.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.4307, allocations: 1.173 MB / 0.6148 GB, free: 16.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.4332, allocations: 1.41 MB / 0.6162 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.4357, allocations: 1.266 MB / 0.6174 GB, free: 14.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4357, allocations: 3.938 kB / 0.6174 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009311/0.445, allocations: 4.442 MB / 0.6218 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.4453, allocations: 1.533 MB / 0.6232 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4453, allocations: 7.938 kB / 0.6233 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009279/0.4546, allocations: 3.184 MB / 0.6264 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.4564, allocations: 367.5 kB / 0.6267 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.4627, allocations: 3.667 MB / 0.6303 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.4654, allocations: 346 kB / 0.6306 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.4656, allocations: 75.97 kB / 0.6307 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4656, allocations: 4 kB / 0.6307 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009873/0.4755, allocations: 4.232 MB / 0.6348 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4756, allocations: 4 kB / 0.6348 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009938/0.4855, allocations: 3.173 MB / 0.6379 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.4874, allocations: 359.5 kB / 0.6383 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.4947, allocations: 3.655 MB / 0.6419 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.4976, allocations: 318.3 kB / 0.6422 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.4978, allocations: 76.67 kB / 0.6422 GB, free: 4.598 MB / 446.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 ($whenCondition1,$whenCondition2,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 (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.0008537/0.4986, allocations: 424.6 kB / 0.6426 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.499, allocations: 181.7 kB / 0.6428 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.5165, allocations: 6.061 MB / 0.6487 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.5166, allocations: 12 kB / 0.6487 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.5166, allocations: 0 / 0.6487 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/0.5166, allocations: 17.98 kB / 0.6488 GB, free: 13.89 MB / 462.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.02121/0.5378, allocations: 8.443 MB / 0.657 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.5379, allocations: 0.9375 kB / 0.657 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.5391, allocations: 199.7 kB / 0.6572 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007972/0.5471, allocations: 2.507 MB / 0.6596 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/0.5475, allocations: 31.98 kB / 0.6597 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/0.5737, allocations: 10.89 MB / 0.6703 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5737, allocations: 4 kB / 0.6703 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/0.5944, allocations: 7.462 MB / 0.6776 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.5951, allocations: 299.4 kB / 0.6779 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/0.5958, allocations: 28 kB / 0.6779 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.5978, allocations: 207.8 kB / 0.6781 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009142/0.5988, allocations: 285.2 kB / 0.6784 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.5989, allocations: 39.98 kB / 0.6784 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.6008, allocations: 1.07 MB / 0.6795 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6008, allocations: 0 / 0.6795 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003276/0.6041, allocations: 0.9596 MB / 0.6804 GB, free: 13.14 MB / 494.1 MB 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 (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.0004727/0.6046, allocations: 164.6 kB / 0.6805 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01759/0.6222, allocations: 5.955 MB / 0.6864 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.6222, allocations: 0 / 0.6864 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007266/0.6295, allocations: 2.306 MB / 0.6886 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.6311, allocations: 140.9 kB / 0.6888 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/0.6391, allocations: 4.233 MB / 0.6929 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009489/0.6401, allocations: 1.358 MB / 0.6942 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001155/0.6413, allocations: 206.7 kB / 0.6944 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.6418, allocations: 107.4 kB / 0.6945 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.6418, allocations: 0 / 0.6945 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.05289/0.6947, allocations: 34.75 MB / 0.7284 GB, free: 12.04 MB / 0.5294 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)