Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.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.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007772/0.0007777, allocations: 100.5 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.476/1.476, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.001316/0.001316, allocations: 176.5 kB / 290.9 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.5221/0.5221, allocations: 79.47 MB / 421.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004061, allocations: 12 kB / 0.4897 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4292, allocations: 69.52 MB / 0.5576 GB, free: 37.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005623/0.4349, allocations: 5.823 MB / 0.5633 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4392, allocations: 1.896 MB / 0.5652 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007001/0.4399, allocations: 14.53 kB / 0.5652 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.4406, allocations: 168 kB / 0.5653 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4423, allocations: 0.597 MB / 0.5659 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4436, allocations: 0.5444 MB / 0.5665 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.4448, allocations: 1.307 MB / 0.5677 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.4452, allocations: 262.1 kB / 0.568 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.4459, allocations: 0.5172 MB / 0.5685 GB, free: 36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.4466, allocations: 0.6492 MB / 0.5691 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4467, allocations: 53 kB / 0.5692 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.4471, allocations: 175.6 kB / 0.5693 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.4473, allocations: 223.1 kB / 0.5696 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.4475, allocations: 220.4 kB / 0.5698 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.4486, allocations: 1.136 MB / 0.5709 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4486, allocations: 1.469 kB / 0.5709 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4486, allocations: 0 / 0.5709 GB, free: 35.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4486, allocations: 1.312 kB / 0.5709 GB, free: 35.47 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006739/0.4553, allocations: 2.393 MB / 0.5732 GB, free: 34.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4554, allocations: 8.531 kB / 0.5732 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.4599, allocations: 0.7868 MB / 0.574 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4611, allocations: 0.7739 MB / 0.5747 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.4613, allocations: 228.6 kB / 0.575 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4615, allocations: 83.42 kB / 0.575 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.4635, allocations: 1.196 MB / 0.5762 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4635, allocations: 0 / 0.5762 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.4636, allocations: 36.02 kB / 0.5762 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4636, allocations: 16.12 kB / 0.5763 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.4657, allocations: 1.165 MB / 0.5774 GB, free: 32.95 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.004574/0.4702, allocations: 3.21 MB / 0.5805 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.4728, allocations: 1.742 MB / 0.5822 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4741, allocations: 0.8314 MB / 0.583 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.4742, allocations: 12.42 kB / 0.5831 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4742, allocations: 48.84 kB / 0.5831 GB, free: 29.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.505e-06/0.4743, allocations: 0 / 0.5831 GB, free: 29.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02644/0.5007, allocations: 8.724 MB / 0.5916 GB, free: 28.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.5008, allocations: 91.47 kB / 0.5917 GB, free: 28.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.5025, allocations: 0.9406 MB / 0.5926 GB, free: 27.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.5027, allocations: 42.02 kB / 0.5927 GB, free: 27.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.5031, allocations: 495.9 kB / 0.5931 GB, free: 27.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.5035, allocations: 329.7 kB / 0.5935 GB, free: 27.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.5036, allocations: 29.91 kB / 0.5935 GB, free: 27.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.5037, allocations: 349.1 kB / 0.5938 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.5053, allocations: 0.7695 MB / 0.5946 GB, free: 26.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.507, allocations: 0.9082 MB / 0.5955 GB, free: 26.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.5086, allocations: 0.8242 MB / 0.5963 GB, free: 25.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5087, allocations: 5.312 kB / 0.5963 GB, free: 25.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01516/0.5238, allocations: 5.335 MB / 0.6015 GB, free: 24.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.524, allocations: 158.5 kB / 0.6016 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.524, allocations: 2.094 kB / 0.6016 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006887/0.5309, allocations: 2.223 MB / 0.6038 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.532, allocations: 181.4 kB / 0.604 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.555, allocations: 10.25 MB / 0.614 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.5568, allocations: 217.3 kB / 0.6142 GB, free: 18.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.557, allocations: 40.27 kB / 0.6142 GB, free: 18.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.557, allocations: 8.625 kB / 0.6142 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/0.5695, allocations: 5.186 MB / 0.6193 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.5696, allocations: 0 / 0.6193 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.5753, allocations: 2.215 MB / 0.6215 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.5762, allocations: 179.7 kB / 0.6216 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5957, allocations: 10.22 MB / 0.6316 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5974, allocations: 203 kB / 0.6318 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.5975, allocations: 40.92 kB / 0.6318 GB, free: 476 kB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006343/0.5981, allocations: 314.3 kB / 0.6321 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.5983, allocations: 120.2 kB / 0.6323 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.6119, allocations: 5.019 MB / 0.6372 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.6119, allocations: 15.89 kB / 0.6372 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.612, allocations: 4 kB / 0.6372 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.612, allocations: 3.984 kB / 0.6372 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.6281, allocations: 6.681 MB / 0.6437 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.6282, allocations: 0 / 0.6437 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.6288, allocations: 92.83 kB / 0.6438 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006101/0.635, allocations: 2.156 MB / 0.6459 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.6352, allocations: 16 kB / 0.6459 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/0.6547, allocations: 8.822 MB / 0.6545 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6548, allocations: 0 / 0.6545 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.6711, allocations: 6.028 MB / 0.6604 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.6718, allocations: 211.5 kB / 0.6606 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.672, allocations: 21.06 kB / 0.6606 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6731, allocations: 147.8 kB / 0.6608 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/0.6738, allocations: 200.6 kB / 0.661 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.6738, allocations: 23.98 kB / 0.661 GB, free: 2.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.6749, allocations: 0.643 MB / 0.6616 GB, free: 1.613 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6749, allocations: 4 kB / 0.6616 GB, free: 1.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002406/0.6773, allocations: 0.7101 MB / 0.6623 GB, free: 0.8984 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.6776, allocations: 124 kB / 0.6624 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01208/0.6897, allocations: 4.695 MB / 0.667 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6898, allocations: 0 / 0.667 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.6943, allocations: 1.769 MB / 0.6687 GB, free: 10.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6954, allocations: 98.8 kB / 0.6688 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.6999, allocations: 2.509 MB / 0.6713 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.7007, allocations: 1.101 MB / 0.6724 GB, free: 6.543 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.701, allocations: 71.36 kB / 0.6724 GB, free: 6.477 MB / 478.1 MB Notification: Performance of SimCode: time 1.763e-06/0.701, allocations: 0 / 0.6724 GB, free: 6.477 MB / 478.1 MB Notification: Performance of Templates: time 0.03249/0.7335, allocations: 21.13 MB / 0.6931 GB, free: 1.469 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.o] Error 1