Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 103 kB / 15.71 MB, free: 460 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.547/1.547, allocations: 223.3 MB / 239.7 MB, free: 5.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.001422/0.001422, allocations: 188.5 kB / 290.9 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6149/0.6149, allocations: 78.56 MB / 420.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 8 kB / 0.4887 GB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 69.37 MB / 0.5564 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.3845/0.553, allocations: 8.293 MB / 0.5645 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007316/0.5604, allocations: 2.853 MB / 0.5673 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.5627, allocations: 19.62 kB / 0.5673 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.5638, allocations: 249 kB / 0.5676 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.5674, allocations: 1.019 MB / 0.5686 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.5697, allocations: 0.7292 MB / 0.5693 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.5734, allocations: 2.371 MB / 0.5716 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.5743, allocations: 432 kB / 0.572 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.5759, allocations: 0.8244 MB / 0.5728 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.5771, allocations: 1.091 MB / 0.5739 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.5773, allocations: 98.75 kB / 0.574 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.5783, allocations: 350 kB / 0.5743 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.5787, allocations: 402.8 kB / 0.5747 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.579, allocations: 328 kB / 0.575 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.5811, allocations: 2.016 MB / 0.577 GB, free: 32.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.5811, allocations: 4 kB / 0.577 GB, free: 32.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5811, allocations: 2.375 kB / 0.577 GB, free: 32.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.5811, allocations: 0 / 0.577 GB, free: 32.72 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01292/0.5941, allocations: 3.907 MB / 0.5808 GB, free: 31.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5941, allocations: 6.938 kB / 0.5808 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.5989, allocations: 0.7881 MB / 0.5816 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.6017, allocations: 1.2 MB / 0.5827 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.6021, allocations: 0.5014 MB / 0.5832 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.6024, allocations: 131.1 kB / 0.5834 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.6056, allocations: 1.706 MB / 0.585 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.6057, allocations: 0.7812 kB / 0.585 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6058, allocations: 43.05 kB / 0.5851 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.6059, allocations: 27.88 kB / 0.5851 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003812/0.6097, allocations: 1.609 MB / 0.5867 GB, free: 28.66 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.01149/0.6212, allocations: 5.711 MB / 0.5922 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.6321, allocations: 3.757 MB / 0.5959 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/0.6358, allocations: 1.1 MB / 0.597 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/0.6365, allocations: 0.735 MB / 0.5977 GB, free: 22.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00311/0.6396, allocations: 1.258 MB / 0.5989 GB, free: 22.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 3.677e-06/0.6397, allocations: 1.438 kB / 0.5989 GB, free: 22.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04758/0.6873, allocations: 12.06 MB / 0.6107 GB, free: 20.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.6874, allocations: 143.9 kB / 0.6108 GB, free: 20.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/0.6907, allocations: 1.558 MB / 0.6124 GB, free: 19.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005843/0.6913, allocations: 56.58 kB / 0.6124 GB, free: 19.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.6918, allocations: 0.6764 MB / 0.6131 GB, free: 18.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/0.6925, allocations: 0.4976 MB / 0.6136 GB, free: 18.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.6927, allocations: 40.56 kB / 0.6136 GB, free: 18.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6928, allocations: 386.7 kB / 0.614 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/0.6957, allocations: 1.161 MB / 0.6151 GB, free: 17.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/0.6984, allocations: 1.406 MB / 0.6165 GB, free: 16.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.7007, allocations: 1.24 MB / 0.6177 GB, free: 14.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.7008, allocations: 0 / 0.6177 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.009236/0.71, allocations: 4.423 MB / 0.622 GB, free: 10.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.7102, allocations: 209.2 kB / 0.6222 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.7102, allocations: 4 kB / 0.6222 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008673/0.7189, allocations: 3.181 MB / 0.6253 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.7208, allocations: 356.2 kB / 0.6257 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/0.7272, allocations: 3.68 MB / 0.6292 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.7305, allocations: 326.1 kB / 0.6296 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/0.7309, allocations: 83.97 kB / 0.6296 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.731, allocations: 4 kB / 0.6296 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00951/0.7405, allocations: 4.192 MB / 0.6337 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.7406, allocations: 5.375 kB / 0.6337 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.7511, allocations: 3.167 MB / 0.6368 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.7537, allocations: 351.5 kB / 0.6372 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.7641, allocations: 3.663 MB / 0.6407 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.7678, allocations: 311.1 kB / 0.641 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006307/0.7685, allocations: 71.97 kB / 0.6411 GB, free: 6.73 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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.00175/0.7703, allocations: 413.6 kB / 0.6415 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009942/0.7713, allocations: 177.8 kB / 0.6417 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02193/0.7932, allocations: 6.12 MB / 0.6477 GB, free: 0 / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/0.7933, allocations: 16.05 kB / 0.6477 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.7934, allocations: 0.6094 kB / 0.6477 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-05/0.7934, allocations: 11.88 kB / 0.6477 GB, free: 15.97 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.02425/0.8177, allocations: 8.321 MB / 0.6558 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.8178, allocations: 1.875 kB / 0.6558 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.8191, allocations: 192.5 kB / 0.656 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007947/0.8271, allocations: 2.515 MB / 0.6584 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000526/0.8277, allocations: 35.98 kB / 0.6585 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02667/0.8544, allocations: 10.31 MB / 0.6685 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.8544, allocations: 3.953 kB / 0.6685 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02193/0.8764, allocations: 7.395 MB / 0.6758 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.8775, allocations: 299.3 kB / 0.6761 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008994/0.8784, allocations: 31.95 kB / 0.6761 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/0.8808, allocations: 203.8 kB / 0.6763 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/0.882, allocations: 281.2 kB / 0.6765 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/0.8824, allocations: 43.98 kB / 0.6766 GB, free: 2.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002369/0.8847, allocations: 1.037 MB / 0.6776 GB, free: 1.016 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8848, allocations: 3.938 kB / 0.6776 GB, free: 1.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004502/0.8893, allocations: 0.9363 MB / 0.6785 GB, free: 76 kB / 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,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 () * Number of clocked 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.0006705/0.89, allocations: 165.8 kB / 0.6787 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01857/0.9086, allocations: 5.882 MB / 0.6844 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.9086, allocations: 0 / 0.6844 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007361/0.916, allocations: 2.279 MB / 0.6866 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.9192, allocations: 167.1 kB / 0.6868 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/0.9286, allocations: 4.146 MB / 0.6909 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.9298, allocations: 1.3 MB / 0.6921 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/0.9308, allocations: 115.4 kB / 0.6922 GB, free: 2.039 MB / 494.1 MB Notification: Performance of SimCode: time 1.693e-06/0.9309, allocations: 0 / 0.6922 GB, free: 2.039 MB / 494.1 MB Notification: Performance of Templates: time 0.0523/0.9832, allocations: 32.84 MB / 0.7243 GB, free: 1.246 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1ACalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1ACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1ACalcHelperMain.o] Error 1