Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001022/0.001022, allocations: 102.6 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.527/1.527, allocations: 223.3 MB / 239.7 MB, free: 5.621 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.001569/0.00157, allocations: 179.4 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5525/0.5525, allocations: 78.55 MB / 420.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 15.98 kB / 0.4887 GB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 69.35 MB / 0.5564 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.3412/0.5477, allocations: 5.817 MB / 0.5621 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.5529, allocations: 1.876 MB / 0.5639 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.5536, allocations: 12.09 kB / 0.5639 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.5543, allocations: 172.1 kB / 0.5641 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.5559, allocations: 0.5983 MB / 0.5647 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5572, allocations: 0.549 MB / 0.5652 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.5588, allocations: 1.314 MB / 0.5665 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.5592, allocations: 257.4 kB / 0.5668 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.5599, allocations: 0.5215 MB / 0.5673 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007271/0.5607, allocations: 0.6383 MB / 0.5679 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.5608, allocations: 54.25 kB / 0.5679 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.5613, allocations: 173.3 kB / 0.5681 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.5615, allocations: 226.7 kB / 0.5683 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.5617, allocations: 215.9 kB / 0.5685 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.563, allocations: 1.142 MB / 0.5696 GB, free: 35.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.563, allocations: 1.5 kB / 0.5696 GB, free: 35.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.563, allocations: 1.125 kB / 0.5696 GB, free: 35.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.563, allocations: 0 / 0.5696 GB, free: 35.86 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.007668/0.5707, allocations: 2.398 MB / 0.572 GB, free: 35.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.5708, allocations: 10.53 kB / 0.572 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005064/0.5759, allocations: 0.78 MB / 0.5728 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5777, allocations: 0.7717 MB / 0.5735 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.578, allocations: 230.4 kB / 0.5737 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5782, allocations: 81.06 kB / 0.5738 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.5804, allocations: 1.199 MB / 0.575 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.5804, allocations: 0 / 0.575 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.5805, allocations: 30.3 kB / 0.575 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5805, allocations: 20.47 kB / 0.575 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.5828, allocations: 1.161 MB / 0.5762 GB, free: 34.09 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.004817/0.5876, allocations: 3.208 MB / 0.5793 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.5902, allocations: 1.747 MB / 0.581 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.5915, allocations: 0.8302 MB / 0.5818 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5917, allocations: 18.92 kB / 0.5818 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5917, allocations: 44.09 kB / 0.5819 GB, free: 31.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.106e-06/0.5917, allocations: 0 / 0.5819 GB, free: 31.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.0266/0.6183, allocations: 8.735 MB / 0.5904 GB, free: 29.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.6184, allocations: 90.56 kB / 0.5905 GB, free: 29.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.62, allocations: 0.9343 MB / 0.5914 GB, free: 29.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.6203, allocations: 44.8 kB / 0.5914 GB, free: 29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.6206, allocations: 486.9 kB / 0.5919 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.6209, allocations: 341.9 kB / 0.5922 GB, free: 28.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.621, allocations: 25.06 kB / 0.5923 GB, free: 28.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.6211, allocations: 349.1 kB / 0.5926 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.6228, allocations: 0.7738 MB / 0.5933 GB, free: 27.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.6245, allocations: 0.9006 MB / 0.5942 GB, free: 27.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.6262, allocations: 0.832 MB / 0.595 GB, free: 27.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6262, allocations: 0 / 0.595 GB, free: 27.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01538/0.6416, allocations: 5.329 MB / 0.6002 GB, free: 25.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6418, allocations: 154.6 kB / 0.6004 GB, free: 25.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6418, allocations: 2.438 kB / 0.6004 GB, free: 25.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007082/0.6489, allocations: 2.23 MB / 0.6026 GB, free: 25.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6499, allocations: 177.5 kB / 0.6027 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.673, allocations: 10.25 MB / 0.6128 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6748, allocations: 214 kB / 0.613 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.675, allocations: 43.42 kB / 0.613 GB, free: 19.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.675, allocations: 8 kB / 0.613 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/0.6876, allocations: 5.171 MB / 0.6181 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.6877, allocations: 4 kB / 0.6181 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.6934, allocations: 2.228 MB / 0.6202 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/0.6943, allocations: 171.8 kB / 0.6204 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.7134, allocations: 10.22 MB / 0.6304 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.7151, allocations: 202.9 kB / 0.6306 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.7152, allocations: 44.64 kB / 0.6306 GB, free: 1.797 MB / 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.0006324/0.7159, allocations: 321.6 kB / 0.6309 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.7161, allocations: 114.6 kB / 0.631 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.7292, allocations: 5.015 MB / 0.6359 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.7292, allocations: 19.95 kB / 0.636 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7293, allocations: 0.5156 kB / 0.636 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.7293, allocations: 3.984 kB / 0.636 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.7452, allocations: 6.677 MB / 0.6425 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.7452, allocations: 1.625 kB / 0.6425 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/0.7459, allocations: 95.89 kB / 0.6426 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006102/0.752, allocations: 2.15 MB / 0.6447 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.7522, allocations: 16 kB / 0.6447 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.7713, allocations: 8.827 MB / 0.6533 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7714, allocations: 3.984 kB / 0.6533 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.7871, allocations: 6.029 MB / 0.6592 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.7877, allocations: 203.4 kB / 0.6594 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.7879, allocations: 23.94 kB / 0.6594 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.7889, allocations: 147.8 kB / 0.6596 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006842/0.7896, allocations: 197.2 kB / 0.6597 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.7897, allocations: 28.98 kB / 0.6598 GB, free: 3.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.7907, allocations: 0.6391 MB / 0.6604 GB, free: 2.949 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7907, allocations: 0 / 0.6604 GB, free: 2.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00254/0.7933, allocations: 0.7101 MB / 0.6611 GB, free: 2.238 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.0003507/0.7936, allocations: 132 kB / 0.6612 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/0.8057, allocations: 4.691 MB / 0.6658 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.8058, allocations: 0 / 0.6658 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.8106, allocations: 1.769 MB / 0.6675 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.8118, allocations: 102.3 kB / 0.6676 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.8165, allocations: 2.505 MB / 0.6701 GB, free: 9.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/0.8174, allocations: 1.105 MB / 0.6711 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.8177, allocations: 63.44 kB / 0.6712 GB, free: 7.812 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.8177, allocations: 3.938 kB / 0.6712 GB, free: 7.809 MB / 478.1 MB Notification: Performance of Templates: time 0.0353/0.853, allocations: 21.14 MB / 0.6919 GB, free: 2.793 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile make -j1 -f OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_testCalcHelperMain.o] Error 1