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.0008062/0.0008062, allocations: 99.27 kB / 16.02 MB, free: 76 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.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.5 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.001004/0.001004, allocations: 176.5 kB / 291.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.487/0.487, allocations: 78.56 MB / 420.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 15.98 kB / 0.4893 GB, free: 5.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 69.35 MB / 0.557 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2977/0.4531, allocations: 6.179 MB / 0.5631 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.4574, allocations: 1.984 MB / 0.565 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.4583, allocations: 12.12 kB / 0.565 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.459, allocations: 178.2 kB / 0.5652 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.4608, allocations: 0.6365 MB / 0.5658 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4623, allocations: 0.6121 MB / 0.5664 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.4638, allocations: 1.383 MB / 0.5678 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.4643, allocations: 285.6 kB / 0.568 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.465, allocations: 0.5298 MB / 0.5685 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.4657, allocations: 0.6642 MB / 0.5692 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.4659, allocations: 52.19 kB / 0.5692 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.4664, allocations: 180.7 kB / 0.5694 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.4666, allocations: 235.4 kB / 0.5696 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.4671, allocations: 0.5755 MB / 0.5702 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.4681, allocations: 1.138 MB / 0.5713 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4681, allocations: 1.875 kB / 0.5713 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4681, allocations: 0.625 kB / 0.5713 GB, free: 33.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4682, allocations: 0 / 0.5713 GB, free: 33.55 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.007534/0.4757, allocations: 2.381 MB / 0.5736 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4758, allocations: 9.188 kB / 0.5736 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.4806, allocations: 0.778 MB / 0.5744 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.4822, allocations: 0.8197 MB / 0.5752 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4825, allocations: 225.5 kB / 0.5754 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4826, allocations: 85.38 kB / 0.5755 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.4849, allocations: 1.201 MB / 0.5767 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4849, allocations: 3.938 kB / 0.5767 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.485, allocations: 32.22 kB / 0.5767 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4851, allocations: 17.38 kB / 0.5767 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.4873, allocations: 1.169 MB / 0.5779 GB, free: 31.93 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.005472/0.4928, allocations: 3.216 MB / 0.581 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.4958, allocations: 1.747 MB / 0.5827 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4973, allocations: 0.8338 MB / 0.5835 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.3e-05/0.4974, allocations: 14.73 kB / 0.5835 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4974, allocations: 48.81 kB / 0.5836 GB, free: 29.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.446e-06/0.4974, allocations: 0 / 0.5836 GB, free: 29.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.03092/0.5283, allocations: 8.781 MB / 0.5922 GB, free: 28.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.5285, allocations: 91.97 kB / 0.5923 GB, free: 28.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.5304, allocations: 0.9478 MB / 0.5932 GB, free: 27.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.5307, allocations: 41.55 kB / 0.5932 GB, free: 27.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.5311, allocations: 490.1 kB / 0.5937 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.5314, allocations: 333.5 kB / 0.594 GB, free: 27.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.5316, allocations: 104 kB / 0.5941 GB, free: 27.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5318, allocations: 345.9 kB / 0.5944 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.5335, allocations: 0.7829 MB / 0.5952 GB, free: 26.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.5354, allocations: 0.9047 MB / 0.5961 GB, free: 26.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02076/0.5562, allocations: 5.223 MB / 0.6012 GB, free: 24.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.5563, allocations: 0.875 kB / 0.6012 GB, free: 24.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01874/0.575, allocations: 5.374 MB / 0.6064 GB, free: 23.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.5752, allocations: 158.4 kB / 0.6066 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.5752, allocations: 3.391 kB / 0.6066 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008192/0.5834, allocations: 2.221 MB / 0.6088 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5846, allocations: 182.3 kB / 0.6089 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/0.6093, allocations: 10.28 MB / 0.619 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.6112, allocations: 206.9 kB / 0.6192 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.6116, allocations: 47.92 kB / 0.6192 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6116, allocations: 4 kB / 0.6192 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01427/0.6259, allocations: 5.21 MB / 0.6243 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.6259, allocations: 0 / 0.6243 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.6324, allocations: 2.22 MB / 0.6265 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.6334, allocations: 179 kB / 0.6266 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.6565, allocations: 10.24 MB / 0.6366 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.6585, allocations: 204.1 kB / 0.6368 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.6588, allocations: 39.94 kB / 0.6369 GB, free: 11.57 MB / 446.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 (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 {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0009044/0.6597, allocations: 328.2 kB / 0.6372 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.6602, allocations: 114.6 kB / 0.6373 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/0.6754, allocations: 5.034 MB / 0.6422 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.6755, allocations: 12 kB / 0.6422 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6755, allocations: 0 / 0.6422 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/0.6755, allocations: 7.922 kB / 0.6422 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.6939, allocations: 6.681 MB / 0.6488 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.694, allocations: 0 / 0.6488 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.6946, allocations: 95.84 kB / 0.6489 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007033/0.7017, allocations: 2.159 MB / 0.651 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.702, allocations: 16 kB / 0.651 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.7241, allocations: 8.838 MB / 0.6596 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7241, allocations: 0 / 0.6596 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.7414, allocations: 6.036 MB / 0.6655 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.742, allocations: 209.4 kB / 0.6657 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/0.7424, allocations: 21.19 kB / 0.6657 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7438, allocations: 143.9 kB / 0.6659 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007005/0.7446, allocations: 188.7 kB / 0.666 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.7447, allocations: 24 kB / 0.6661 GB, free: 13.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.7458, allocations: 0.6508 MB / 0.6667 GB, free: 12.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7459, allocations: 0 / 0.6667 GB, free: 12.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002688/0.7485, allocations: 0.7179 MB / 0.6674 GB, free: 11.97 MB / 478.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 (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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003642/0.7489, allocations: 133.5 kB / 0.6675 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01309/0.762, allocations: 4.711 MB / 0.6721 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7621, allocations: 0 / 0.6721 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.7672, allocations: 1.768 MB / 0.6739 GB, free: 5.332 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7687, allocations: 104.3 kB / 0.674 GB, free: 5.227 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.7739, allocations: 2.627 MB / 0.6765 GB, free: 2.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/0.7749, allocations: 1.101 MB / 0.6776 GB, free: 1.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.7752, allocations: 71.42 kB / 0.6777 GB, free: 1.398 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7752, allocations: 0 / 0.6777 GB, free: 1.398 MB / 478.1 MB Notification: Performance of Templates: time 0.0337/0.8089, allocations: 21.11 MB / 0.6983 GB, free: 12.41 MB / 0.4981 GB 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++ -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_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