Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_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.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009543, allocations: 102.3 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.523/1.523, allocations: 223.3 MB / 239.7 MB, free: 5.441 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.001439/0.00144, allocations: 188.5 kB / 290.9 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5234/0.5234, allocations: 79.47 MB / 421.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005699/0.0005701, allocations: 12 kB / 0.4897 GB, free: 5.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5044, allocations: 69.51 MB / 0.5576 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006315/0.5108, allocations: 5.527 MB / 0.563 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.5157, allocations: 1.78 MB / 0.5647 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.5167, allocations: 16.56 kB / 0.5648 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.5174, allocations: 155.1 kB / 0.5649 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.5193, allocations: 0.5769 MB / 0.5655 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5205, allocations: 457.8 kB / 0.5659 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.522, allocations: 1.265 MB / 0.5671 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.5225, allocations: 229.8 kB / 0.5674 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.5232, allocations: 499.9 kB / 0.5678 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.5238, allocations: 0.5723 MB / 0.5684 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.5239, allocations: 51.03 kB / 0.5685 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.5244, allocations: 176.1 kB / 0.5686 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.5246, allocations: 204.3 kB / 0.5688 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.5249, allocations: 202.2 kB / 0.569 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.5261, allocations: 1.019 MB / 0.57 GB, free: 35.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5262, allocations: 1.469 kB / 0.57 GB, free: 35.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5262, allocations: 1.281 kB / 0.57 GB, free: 35.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5262, allocations: 0 / 0.57 GB, free: 35.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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00604/0.5322, allocations: 2.093 MB / 0.572 GB, free: 34.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5323, allocations: 13.25 kB / 0.5721 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.5356, allocations: 0.5562 MB / 0.5726 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.5371, allocations: 0.7403 MB / 0.5733 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.5373, allocations: 222.2 kB / 0.5735 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.5375, allocations: 66.06 kB / 0.5736 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.5393, allocations: 0.8741 MB / 0.5745 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5393, allocations: 0.875 kB / 0.5745 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.5394, allocations: 33.25 kB / 0.5745 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.5395, allocations: 15.97 kB / 0.5745 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.5411, allocations: 0.9067 MB / 0.5754 GB, free: 33.68 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.005134/0.5463, allocations: 3.102 MB / 0.5784 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.5517, allocations: 1.973 MB / 0.5803 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.5529, allocations: 0.601 MB / 0.5809 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.952e-05/0.553, allocations: 8.75 kB / 0.5809 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/0.5542, allocations: 0.6616 MB / 0.5816 GB, free: 30.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.196e-06/0.5542, allocations: 0 / 0.5816 GB, free: 30.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01849/0.5727, allocations: 5.586 MB / 0.587 GB, free: 29.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5728, allocations: 59 kB / 0.5871 GB, free: 29.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.5747, allocations: 0.9648 MB / 0.588 GB, free: 29.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002468/0.5749, allocations: 41.02 kB / 0.5881 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.5753, allocations: 467 kB / 0.5885 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.5756, allocations: 265 kB / 0.5888 GB, free: 28.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.5757, allocations: 20.12 kB / 0.5888 GB, free: 28.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.5758, allocations: 347.5 kB / 0.5891 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.5771, allocations: 0.6021 MB / 0.5897 GB, free: 27.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.5784, allocations: 0.7126 MB / 0.5904 GB, free: 27.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.5798, allocations: 0.6417 MB / 0.591 GB, free: 27.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5798, allocations: 1.219 kB / 0.591 GB, free: 27.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009308/0.5891, allocations: 3.324 MB / 0.5943 GB, free: 26.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.5892, allocations: 6.062 kB / 0.5943 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5892, allocations: 3.219 kB / 0.5943 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/0.5944, allocations: 1.479 MB / 0.5957 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5956, allocations: 197.9 kB / 0.5959 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.6092, allocations: 5.731 MB / 0.6015 GB, free: 23.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.611, allocations: 175.6 kB / 0.6017 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/0.6113, allocations: 36.88 kB / 0.6017 GB, free: 23.21 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008539/0.6122, allocations: 241.1 kB / 0.602 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.6126, allocations: 112 kB / 0.6021 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00982/0.6225, allocations: 3.156 MB / 0.6051 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.6225, allocations: 8.719 kB / 0.6052 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6225, allocations: 0 / 0.6052 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.007e-05/0.6226, allocations: 5.094 kB / 0.6052 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.6351, allocations: 4.526 MB / 0.6096 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.6351, allocations: 0.8125 kB / 0.6096 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.6357, allocations: 94.34 kB / 0.6097 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.641, allocations: 1.539 MB / 0.6112 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.6412, allocations: 13.72 kB / 0.6112 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.6538, allocations: 5.889 MB / 0.6169 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6539, allocations: 4 kB / 0.6169 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009412/0.6633, allocations: 3.91 MB / 0.6208 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.6639, allocations: 207.7 kB / 0.621 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.6643, allocations: 13.69 kB / 0.621 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6655, allocations: 112.5 kB / 0.6211 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005609/0.6661, allocations: 157.7 kB / 0.6212 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.6662, allocations: 16 kB / 0.6212 GB, free: 11.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.6674, allocations: 0.6553 MB / 0.6219 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6674, allocations: 7.938 kB / 0.6219 GB, free: 10.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001765/0.6692, allocations: 351.8 kB / 0.6222 GB, free: 10.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/0.6696, allocations: 119.2 kB / 0.6223 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.6742, allocations: 2.042 MB / 0.6243 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6742, allocations: 64 / 0.6243 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003102/0.6773, allocations: 1.336 MB / 0.6256 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6786, allocations: 96.36 kB / 0.6257 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.6823, allocations: 2.12 MB / 0.6278 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.6829, allocations: 1.057 MB / 0.6288 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.6832, allocations: 67.42 kB / 0.6289 GB, free: 3.156 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.6832, allocations: 0 / 0.6289 GB, free: 3.156 MB / 430.1 MB Notification: Performance of Templates: time 0.03241/0.7156, allocations: 21.7 MB / 0.6501 GB, free: 13.61 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_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.FACTS.TCSC_TestCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.o] Error 1