Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0008433/0.0008434, allocations: 98.88 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.48 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.001205/0.001205, allocations: 172.5 kB / 291.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4992/0.4992, allocations: 78.56 MB / 420.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 11.98 kB / 0.4893 GB, free: 5.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1536, allocations: 69.35 MB / 0.557 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.3084/0.4621, allocations: 5.868 MB / 0.5627 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.4665, allocations: 1.867 MB / 0.5646 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.4673, allocations: 14.53 kB / 0.5646 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.468, allocations: 158.6 kB / 0.5647 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.4697, allocations: 0.623 MB / 0.5653 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4708, allocations: 0.5052 MB / 0.5658 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.4722, allocations: 1.341 MB / 0.5671 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.4726, allocations: 252.9 kB / 0.5674 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006732/0.4733, allocations: 499.4 kB / 0.5679 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007237/0.474, allocations: 0.5941 MB / 0.5684 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.4742, allocations: 48.66 kB / 0.5685 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.4746, allocations: 183.7 kB / 0.5687 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.4749, allocations: 206.2 kB / 0.5689 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.4753, allocations: 0.5376 MB / 0.5694 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.4764, allocations: 1.027 MB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4764, allocations: 0 / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4764, allocations: 3.844 kB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4764, allocations: 0 / 0.5704 GB, free: 33.77 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.006336/0.4828, allocations: 2.071 MB / 0.5724 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4828, allocations: 11.78 kB / 0.5724 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.4861, allocations: 0.557 MB / 0.573 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4874, allocations: 0.7808 MB / 0.5737 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.4876, allocations: 222.2 kB / 0.5739 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.4878, allocations: 61.56 kB / 0.574 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.4895, allocations: 0.8848 MB / 0.5749 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4895, allocations: 0 / 0.5749 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.4896, allocations: 25.84 kB / 0.5749 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4896, allocations: 18.56 kB / 0.5749 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4914, allocations: 0.9174 MB / 0.5758 GB, free: 32.25 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.005287/0.4967, allocations: 3.105 MB / 0.5788 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.5029, allocations: 1.97 MB / 0.5808 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.5042, allocations: 0.5991 MB / 0.5813 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-05/0.5043, allocations: 17.98 kB / 0.5814 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.5057, allocations: 0.6676 MB / 0.582 GB, free: 30.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.848e-06/0.5058, allocations: 1.406 kB / 0.582 GB, free: 30.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01984/0.5256, allocations: 5.622 MB / 0.5875 GB, free: 29.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5257, allocations: 58.16 kB / 0.5876 GB, free: 29.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.5274, allocations: 0.9618 MB / 0.5885 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.5276, allocations: 40.95 kB / 0.5885 GB, free: 28.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.5279, allocations: 463.5 kB / 0.589 GB, free: 28.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.5282, allocations: 275.8 kB / 0.5892 GB, free: 28.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.5284, allocations: 87.98 kB / 0.5893 GB, free: 28.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.5285, allocations: 342.9 kB / 0.5897 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.5298, allocations: 0.602 MB / 0.5902 GB, free: 27.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.5312, allocations: 0.7174 MB / 0.5909 GB, free: 27.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/0.5491, allocations: 4.449 MB / 0.5953 GB, free: 26.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.5491, allocations: 1.781 kB / 0.5953 GB, free: 26.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01044/0.5596, allocations: 3.33 MB / 0.5985 GB, free: 25.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5596, allocations: 8.094 kB / 0.5985 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5596, allocations: 2.375 kB / 0.5985 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.5652, allocations: 1.485 MB / 0.6 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.5662, allocations: 193.1 kB / 0.6002 GB, free: 25.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.5802, allocations: 5.728 MB / 0.6058 GB, free: 22.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.5819, allocations: 175.6 kB / 0.6059 GB, free: 22.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.5821, allocations: 43.83 kB / 0.606 GB, free: 22.27 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 ($whenCondition2,$whenCondition1) * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006559/0.5827, allocations: 234 kB / 0.6062 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.5831, allocations: 115.1 kB / 0.6063 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.5937, allocations: 3.161 MB / 0.6094 GB, free: 21.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5937, allocations: 12.36 kB / 0.6094 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5937, allocations: 1 kB / 0.6094 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.5938, allocations: 3.656 kB / 0.6094 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.6061, allocations: 4.526 MB / 0.6138 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6061, allocations: 1.375 kB / 0.6138 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.6066, allocations: 105.1 kB / 0.6139 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/0.6115, allocations: 1.531 MB / 0.6154 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.334e-05/0.6116, allocations: 16 kB / 0.6155 GB, free: 17.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.6236, allocations: 5.894 MB / 0.6212 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6236, allocations: 0 / 0.6212 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6338, allocations: 3.934 MB / 0.6251 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.6343, allocations: 204.8 kB / 0.6252 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.6346, allocations: 16 kB / 0.6253 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.6357, allocations: 107.9 kB / 0.6254 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.6362, allocations: 165.8 kB / 0.6255 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.6363, allocations: 16 kB / 0.6255 GB, free: 7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.6374, allocations: 0.6592 MB / 0.6262 GB, free: 6.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6374, allocations: 3.938 kB / 0.6262 GB, free: 6.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001403/0.6388, allocations: 347.7 kB / 0.6265 GB, free: 5.988 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.6391, allocations: 127.2 kB / 0.6266 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004996/0.6442, allocations: 2.045 MB / 0.6286 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6442, allocations: 0 / 0.6286 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0033/0.6475, allocations: 1.334 MB / 0.6299 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6485, allocations: 100.2 kB / 0.63 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.6521, allocations: 2.233 MB / 0.6322 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.6529, allocations: 1.053 MB / 0.6332 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.6532, allocations: 67.42 kB / 0.6333 GB, free: 14.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6533, allocations: 0 / 0.6333 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Templates: time 0.0318/0.6851, allocations: 21.68 MB / 0.6545 GB, free: 9.398 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_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.FACTS.TCSC_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.o] Error 1