Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09161/0.09161, allocations: 12.2 MB / 27.98 MB, free: 0.9492 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 107.5 kB / 31.48 MB, free: 4.477 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 240 MB, free: 11.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001424, allocations: 192.5 kB / 290.1 MB, free: 15.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4531/0.4531, allocations: 78.5 MB / 418.6 MB, free: 47.14 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.00244, allocations: 127.8 kB / 498.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.169, allocations: 68.05 MB / 0.5536 GB, free: 404 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2969/0.4659, allocations: 8.634 MB / 0.5621 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.472, allocations: 2.567 MB / 0.5646 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4738, allocations: 14.88 kB / 0.5646 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.4748, allocations: 247.2 kB / 0.5648 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.4782, allocations: 1.087 MB / 0.5659 GB, free: 35.18 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.48, allocations: 0.6324 MB / 0.5665 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.4832, allocations: 2.215 MB / 0.5686 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.4838, allocations: 383.2 kB / 0.569 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.485, allocations: 0.7865 MB / 0.5698 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.486, allocations: 1.064 MB / 0.5708 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.4862, allocations: 108.8 kB / 0.5709 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.487, allocations: 321.7 kB / 0.5712 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.4873, allocations: 401.2 kB / 0.5716 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.4879, allocations: 0.8234 MB / 0.5724 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4892, allocations: 1.74 MB / 0.5741 GB, free: 31.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4892, allocations: 0 / 0.5741 GB, free: 31.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4892, allocations: 0 / 0.5741 GB, free: 31.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.4892, allocations: 0 / 0.5741 GB, free: 31.32 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01295/0.5022, allocations: 3.761 MB / 0.5778 GB, free: 29.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5022, allocations: 12.27 kB / 0.5778 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.5066, allocations: 0.7457 MB / 0.5785 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.5084, allocations: 1.109 MB / 0.5796 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.5088, allocations: 435 kB / 0.58 GB, free: 28.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.509, allocations: 118.5 kB / 0.5801 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5115, allocations: 1.428 MB / 0.5815 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5115, allocations: 4 kB / 0.5815 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5117, allocations: 42.53 kB / 0.5816 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.5117, allocations: 23.78 kB / 0.5816 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.5143, allocations: 1.342 MB / 0.5829 GB, free: 27.46 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.007957/0.5223, allocations: 4.939 MB / 0.5877 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.5296, allocations: 2.89 MB / 0.5906 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.5315, allocations: 0.9192 MB / 0.5915 GB, free: 23.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.5316, allocations: 32.41 kB / 0.5915 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/0.5335, allocations: 1.053 MB / 0.5925 GB, free: 22.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.675e-06/0.5335, allocations: 0 / 0.5925 GB, free: 22.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04202/0.5755, allocations: 9.791 MB / 0.6021 GB, free: 21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.5757, allocations: 116.4 kB / 0.6022 GB, free: 20.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.5783, allocations: 1.414 MB / 0.6036 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003939/0.5787, allocations: 55.38 kB / 0.6036 GB, free: 20.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.5791, allocations: 0.598 MB / 0.6042 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/0.5796, allocations: 468.7 kB / 0.6047 GB, free: 19.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/0.5803, allocations: 335.4 kB / 0.605 GB, free: 19.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.5803, allocations: 305.1 kB / 0.6053 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.5824, allocations: 0.9657 MB / 0.6062 GB, free: 18.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.5846, allocations: 1.179 MB / 0.6074 GB, free: 17.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.5885, allocations: 2.076 MB / 0.6094 GB, free: 16.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.5886, allocations: 5.688 kB / 0.6094 GB, free: 16.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008965/0.5975, allocations: 3.705 MB / 0.613 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5976, allocations: 6.688 kB / 0.613 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.5976, allocations: 7.359 kB / 0.613 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009227/0.6068, allocations: 2.967 MB / 0.6159 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.6082, allocations: 271.6 kB / 0.6162 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.6143, allocations: 2.992 MB / 0.6191 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.6168, allocations: 254.2 kB / 0.6193 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.617, allocations: 63.98 kB / 0.6194 GB, free: 9.273 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.6176, allocations: 301.5 kB / 0.6197 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.6179, allocations: 166 kB / 0.6198 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.6316, allocations: 4.811 MB / 0.6245 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.6316, allocations: 19.31 kB / 0.6246 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6316, allocations: 0 / 0.6246 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/0.6317, allocations: 11.91 kB / 0.6246 GB, free: 3.941 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 postOpt removeSimpleEquations (simulation): time 0.0175/0.6492, allocations: 6.892 MB / 0.6313 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.6493, allocations: 8.031 kB / 0.6313 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/0.6503, allocations: 135.8 kB / 0.6314 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007164/0.6575, allocations: 2.142 MB / 0.6335 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/0.6578, allocations: 27.98 kB / 0.6336 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.68, allocations: 9.174 MB / 0.6425 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6801, allocations: 4.625 kB / 0.6425 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.6978, allocations: 5.95 MB / 0.6483 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.6986, allocations: 274.7 kB / 0.6486 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.6988, allocations: 24 kB / 0.6486 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.7004, allocations: 139.8 kB / 0.6488 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008553/0.7012, allocations: 261.2 kB / 0.649 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7014, allocations: 35.98 kB / 0.649 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.7028, allocations: 0.9503 MB / 0.65 GB, free: 9.602 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7028, allocations: 0 / 0.65 GB, free: 9.602 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001539/0.7044, allocations: 0.5191 MB / 0.6505 GB, free: 9.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.0003732/0.7047, allocations: 162.7 kB / 0.6506 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008362/0.7131, allocations: 2.851 MB / 0.6534 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7132, allocations: 0 / 0.6534 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00589/0.7191, allocations: 1.887 MB / 0.6553 GB, free: 4.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7206, allocations: 133.2 kB / 0.6554 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.7265, allocations: 3.614 MB / 0.6589 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.7272, allocations: 1.227 MB / 0.6601 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.7277, allocations: 91.42 kB / 0.6602 GB, free: 15.06 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7278, allocations: 0 / 0.6602 GB, free: 15.06 MB / 478.1 MB Notification: Performance of Templates: time 0.03838/0.7661, allocations: 25.69 MB / 0.6853 GB, free: 5.367 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRXCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRXCalcHelperMain.o] Error 1