Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 100.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 239.7 MB, free: 5.637 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.001841/0.00184, allocations: 180.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5837/0.5837, allocations: 78.54 MB / 420.5 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004341, allocations: 15.94 kB / 0.4887 GB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 69.35 MB / 0.5564 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.3751/0.5536, allocations: 8.031 MB / 0.5643 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.5607, allocations: 2.747 MB / 0.5669 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.5634, allocations: 21.22 kB / 0.567 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.5647, allocations: 240.5 kB / 0.5672 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.5685, allocations: 1.02 MB / 0.5682 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.5705, allocations: 0.6761 MB / 0.5689 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.5742, allocations: 2.297 MB / 0.5711 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.575, allocations: 394.7 kB / 0.5715 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.5767, allocations: 0.8127 MB / 0.5723 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5783, allocations: 1.064 MB / 0.5733 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.5787, allocations: 95.5 kB / 0.5734 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5797, allocations: 340.5 kB / 0.5737 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.5801, allocations: 386.1 kB / 0.5741 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.5806, allocations: 315.8 kB / 0.5744 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.5827, allocations: 1.922 MB / 0.5763 GB, free: 32.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.5827, allocations: 2.781 kB / 0.5763 GB, free: 32.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5828, allocations: 0 / 0.5763 GB, free: 32.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.5828, allocations: 0.8438 kB / 0.5763 GB, free: 32.97 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01359/0.5964, allocations: 3.828 MB / 0.58 GB, free: 31.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5965, allocations: 9.906 kB / 0.58 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.6012, allocations: 0.7753 MB / 0.5808 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.6038, allocations: 1.168 MB / 0.5819 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/0.6042, allocations: 472.2 kB / 0.5824 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.6045, allocations: 128.2 kB / 0.5825 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.6076, allocations: 1.618 MB / 0.5841 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.6076, allocations: 6.594 kB / 0.5841 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6077, allocations: 43.23 kB / 0.5841 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.6078, allocations: 26.89 kB / 0.5841 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.6111, allocations: 1.527 MB / 0.5856 GB, free: 29.05 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.01062/0.6218, allocations: 5.546 MB / 0.5911 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009566/0.6314, allocations: 3.638 MB / 0.5946 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.6342, allocations: 1.048 MB / 0.5956 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/0.6347, allocations: 0.7347 MB / 0.5963 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002853/0.6376, allocations: 1.212 MB / 0.5975 GB, free: 22.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.677e-06/0.6376, allocations: 0 / 0.5975 GB, free: 22.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04443/0.6821, allocations: 12.21 MB / 0.6094 GB, free: 20.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.6822, allocations: 121.3 kB / 0.6096 GB, free: 20.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.6849, allocations: 1.532 MB / 0.6111 GB, free: 19.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.6855, allocations: 50.8 kB / 0.6111 GB, free: 19.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.6859, allocations: 0.6538 MB / 0.6117 GB, free: 19.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.6865, allocations: 0.4894 MB / 0.6122 GB, free: 18.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.6867, allocations: 38.44 kB / 0.6123 GB, free: 18.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6868, allocations: 379 kB / 0.6126 GB, free: 18.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.6892, allocations: 1.13 MB / 0.6137 GB, free: 18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.6919, allocations: 1.349 MB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.6944, allocations: 1.218 MB / 0.6162 GB, free: 16.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.6944, allocations: 0 / 0.6162 GB, free: 16.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009091/0.7035, allocations: 4.378 MB / 0.6205 GB, free: 12.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.7036, allocations: 11.92 kB / 0.6205 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.7036, allocations: 8.547 kB / 0.6205 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008471/0.7121, allocations: 3.052 MB / 0.6235 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.7141, allocations: 371.5 kB / 0.6239 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/0.7198, allocations: 3.002 MB / 0.6268 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.7228, allocations: 327.4 kB / 0.6271 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.723, allocations: 71.97 kB / 0.6272 GB, free: 5.195 MB / 430.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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0008684/0.7239, allocations: 323 kB / 0.6275 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.7242, allocations: 173.8 kB / 0.6277 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.7393, allocations: 5.966 MB / 0.6335 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.7394, allocations: 13.56 kB / 0.6335 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.7394, allocations: 7.953 kB / 0.6335 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/0.7395, allocations: 7.969 kB / 0.6335 GB, free: 14.69 MB / 446.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.02171/0.7612, allocations: 8.196 MB / 0.6415 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.7613, allocations: 0 / 0.6415 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.7625, allocations: 175.8 kB / 0.6417 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007468/0.7699, allocations: 2.51 MB / 0.6441 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.7703, allocations: 33.62 kB / 0.6442 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/0.7947, allocations: 10.31 MB / 0.6542 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.7947, allocations: 5.547 kB / 0.6542 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.8142, allocations: 7.279 MB / 0.6613 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.8155, allocations: 290.5 kB / 0.6616 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8159, allocations: 31.95 kB / 0.6616 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.8175, allocations: 195.8 kB / 0.6618 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008555/0.8183, allocations: 276.1 kB / 0.6621 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.8185, allocations: 35.98 kB / 0.6621 GB, free: 1.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.8201, allocations: 1.028 MB / 0.6631 GB, free: 20 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8201, allocations: 3.938 kB / 0.6631 GB, free: 16 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001781/0.8219, allocations: 0.5621 MB / 0.6637 GB, free: 15.45 MB / 478.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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0004092/0.8223, allocations: 171 kB / 0.6639 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009105/0.8314, allocations: 3.366 MB / 0.6671 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8315, allocations: 0 / 0.6671 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/0.8376, allocations: 2.245 MB / 0.6693 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8393, allocations: 153.8 kB / 0.6695 GB, free: 9.496 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.8462, allocations: 3.982 MB / 0.6734 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008707/0.8471, allocations: 1.278 MB / 0.6746 GB, free: 4.258 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.8476, allocations: 111.4 kB / 0.6747 GB, free: 4.148 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8476, allocations: 4 kB / 0.6747 GB, free: 4.145 MB / 478.1 MB Notification: Performance of Templates: time 0.04158/0.8892, allocations: 28.42 MB / 0.7025 GB, free: 7.785 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2ACalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2ACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2ACalcHelperMain.o] Error 1