Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008309, allocations: 102.7 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.538/1.538, allocations: 223.3 MB / 239.7 MB, free: 5.477 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.001151/0.001151, allocations: 184.5 kB / 290.9 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5839/0.5839, allocations: 78.56 MB / 420.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 12 kB / 0.4887 GB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 69.37 MB / 0.5564 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.3565/0.5107, allocations: 7.362 MB / 0.5636 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.5172, allocations: 2.442 MB / 0.566 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.5191, allocations: 13.66 kB / 0.566 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009949/0.5201, allocations: 216.8 kB / 0.5662 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.5235, allocations: 0.973 MB / 0.5672 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.5251, allocations: 0.55 MB / 0.5677 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003051/0.5282, allocations: 2.027 MB / 0.5697 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.5288, allocations: 321 kB / 0.57 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.5303, allocations: 0.7382 MB / 0.5707 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.5315, allocations: 0.9797 MB / 0.5717 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.5317, allocations: 88.25 kB / 0.5718 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007797/0.5325, allocations: 295.8 kB / 0.572 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.5329, allocations: 349.3 kB / 0.5724 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.5332, allocations: 282.3 kB / 0.5726 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5346, allocations: 1.647 MB / 0.5743 GB, free: 34.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.5346, allocations: 4 kB / 0.5743 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5346, allocations: 0 / 0.5743 GB, free: 34.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5347, allocations: 1.344 kB / 0.5743 GB, free: 34.14 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01132/0.546, allocations: 3.515 MB / 0.5777 GB, free: 32.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.546, allocations: 9.812 kB / 0.5777 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.5507, allocations: 0.7577 MB / 0.5784 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.553, allocations: 1.048 MB / 0.5795 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.5534, allocations: 437.5 kB / 0.5799 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.5536, allocations: 104.8 kB / 0.58 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.5563, allocations: 1.46 MB / 0.5814 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.5564, allocations: 0 / 0.5814 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.5565, allocations: 52.47 kB / 0.5815 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.5566, allocations: 22.84 kB / 0.5815 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.5593, allocations: 1.39 MB / 0.5828 GB, free: 30.61 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.00866/0.5679, allocations: 4.901 MB / 0.5876 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008415/0.5764, allocations: 3.415 MB / 0.591 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.5784, allocations: 0.9797 MB / 0.5919 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5785, allocations: 20.8 kB / 0.5919 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/0.5807, allocations: 1.115 MB / 0.593 GB, free: 25.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.855e-06/0.5807, allocations: 0 / 0.593 GB, free: 25.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04284/0.6236, allocations: 11.69 MB / 0.6044 GB, free: 23.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.6237, allocations: 117.3 kB / 0.6046 GB, free: 23.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.6267, allocations: 1.379 MB / 0.6059 GB, free: 23.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003924/0.6271, allocations: 51.98 kB / 0.6059 GB, free: 23.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.6276, allocations: 0.581 MB / 0.6065 GB, free: 22.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.6281, allocations: 448.1 kB / 0.6069 GB, free: 22.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6282, allocations: 35.03 kB / 0.607 GB, free: 22.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6284, allocations: 375.9 kB / 0.6073 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.6307, allocations: 1.034 MB / 0.6083 GB, free: 21.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.6333, allocations: 1.236 MB / 0.6096 GB, free: 21.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.6357, allocations: 1.104 MB / 0.6106 GB, free: 20.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6357, allocations: 3.875 kB / 0.6106 GB, free: 20.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01638/0.6521, allocations: 6.435 MB / 0.6169 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.6521, allocations: 4 kB / 0.6169 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.6522, allocations: 4 kB / 0.6169 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008526/0.6607, allocations: 3.25 MB / 0.6201 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.6621, allocations: 279.6 kB / 0.6204 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.668, allocations: 3.166 MB / 0.6235 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.6703, allocations: 298.3 kB / 0.6237 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.6705, allocations: 67.98 kB / 0.6238 GB, free: 8.824 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.6711, allocations: 294 kB / 0.6241 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6714, allocations: 158 kB / 0.6242 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.6855, allocations: 5.769 MB / 0.6299 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.6856, allocations: 12 kB / 0.6299 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.6856, allocations: 4 kB / 0.6299 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/0.6856, allocations: 4.484 kB / 0.6299 GB, free: 2.566 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.0192/0.7048, allocations: 7.839 MB / 0.6375 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/0.7049, allocations: 11.97 kB / 0.6376 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/0.7059, allocations: 132.3 kB / 0.6377 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007648/0.7136, allocations: 2.51 MB / 0.6401 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003118/0.7139, allocations: 27.98 kB / 0.6402 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/0.7384, allocations: 10.31 MB / 0.6502 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.7384, allocations: 11.92 kB / 0.6502 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.7572, allocations: 6.964 MB / 0.657 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.7581, allocations: 282.7 kB / 0.6573 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/0.7585, allocations: 20 kB / 0.6573 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.7601, allocations: 179.8 kB / 0.6575 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008668/0.7609, allocations: 263.4 kB / 0.6578 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7611, allocations: 36.86 kB / 0.6578 GB, free: 5.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.7627, allocations: 0.9262 MB / 0.6587 GB, free: 4.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7627, allocations: 0 / 0.6587 GB, free: 4.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001972/0.7647, allocations: 0.5229 MB / 0.6592 GB, free: 4.207 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.0004553/0.7652, allocations: 147.1 kB / 0.6593 GB, free: 4.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008904/0.7741, allocations: 3.169 MB / 0.6624 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7741, allocations: 0 / 0.6624 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006384/0.7805, allocations: 2.145 MB / 0.6645 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.7826, allocations: 131.9 kB / 0.6647 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.7898, allocations: 3.517 MB / 0.6681 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.7911, allocations: 1.207 MB / 0.6693 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.7919, allocations: 99.41 kB / 0.6694 GB, free: 9.805 MB / 478.1 MB Notification: Performance of SimCode: time 2.735e-06/0.7919, allocations: 1.031 kB / 0.6694 GB, free: 9.805 MB / 478.1 MB Notification: Performance of Templates: time 0.04121/0.8331, allocations: 25.02 MB / 0.6938 GB, free: 0.8906 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXSCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXSCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXSCalcHelperMain.o] Error 1