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.01124/0.01124, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 239.5 MB, free: 4.82 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.002173/0.002173, allocations: 192.5 kB / 289.8 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5198/0.5198, allocations: 78.51 MB / 418.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 67.89 kB / 497.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 68.18 MB / 0.5523 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.3307/0.4939, allocations: 6.318 MB / 0.5585 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.499, allocations: 1.891 MB / 0.5603 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008655/0.4999, allocations: 17 kB / 0.5603 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.501, allocations: 161.8 kB / 0.5605 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.503, allocations: 0.6215 MB / 0.5611 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5044, allocations: 0.5101 MB / 0.5616 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.506, allocations: 1.345 MB / 0.5629 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.5065, allocations: 251 kB / 0.5632 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.5071, allocations: 0.5081 MB / 0.5636 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.5078, allocations: 0.6181 MB / 0.5643 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.508, allocations: 62.31 kB / 0.5643 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.5085, allocations: 190.3 kB / 0.5645 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.5088, allocations: 230.6 kB / 0.5647 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.5092, allocations: 0.5338 MB / 0.5652 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.5103, allocations: 1.04 MB / 0.5662 GB, free: 34.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5103, allocations: 0 / 0.5662 GB, free: 34.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.5103, allocations: 0 / 0.5662 GB, free: 34.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.5103, allocations: 0 / 0.5662 GB, free: 34.82 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.007066/0.5174, allocations: 2.238 MB / 0.5684 GB, free: 33.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5175, allocations: 12.16 kB / 0.5684 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.5207, allocations: 0.5596 MB / 0.569 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.522, allocations: 0.7778 MB / 0.5698 GB, free: 33.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.5223, allocations: 217.4 kB / 0.57 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5224, allocations: 65.75 kB / 0.57 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.524, allocations: 0.8323 MB / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5241, allocations: 1.781 kB / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.5242, allocations: 24.56 kB / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5242, allocations: 20.34 kB / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.5259, allocations: 0.8484 MB / 0.5717 GB, free: 33.29 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.005212/0.5311, allocations: 3.052 MB / 0.5747 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/0.5368, allocations: 1.704 MB / 0.5764 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5379, allocations: 0.5506 MB / 0.5769 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-05/0.538, allocations: 11.5 kB / 0.5769 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.5392, allocations: 0.6237 MB / 0.5775 GB, free: 31.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 4.018e-06/0.5392, allocations: 0 / 0.5775 GB, free: 31.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01842/0.5576, allocations: 4.698 MB / 0.5821 GB, free: 30.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5577, allocations: 59.41 kB / 0.5822 GB, free: 30.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5595, allocations: 0.9718 MB / 0.5831 GB, free: 30.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.5597, allocations: 37.2 kB / 0.5831 GB, free: 30.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.56, allocations: 469.9 kB / 0.5836 GB, free: 29.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.5603, allocations: 270.5 kB / 0.5838 GB, free: 29.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.5607, allocations: 178.4 kB / 0.584 GB, free: 29.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.5608, allocations: 347.8 kB / 0.5843 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5621, allocations: 0.5514 MB / 0.5849 GB, free: 29.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.5634, allocations: 0.6676 MB / 0.5855 GB, free: 28.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/0.5807, allocations: 4.038 MB / 0.5895 GB, free: 27.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5807, allocations: 4 kB / 0.5895 GB, free: 27.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009673/0.5904, allocations: 2.828 MB / 0.5922 GB, free: 26.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5905, allocations: 7.641 kB / 0.5923 GB, free: 26.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5905, allocations: 2.312 kB / 0.5923 GB, free: 26.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00497/0.5955, allocations: 1.27 MB / 0.5935 GB, free: 26.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5967, allocations: 186.6 kB / 0.5937 GB, free: 26.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.6094, allocations: 5.234 MB / 0.5988 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.6112, allocations: 155.9 kB / 0.5989 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.6115, allocations: 40.33 kB / 0.599 GB, free: 23.81 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.000837/0.6123, allocations: 230.1 kB / 0.5992 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/0.6128, allocations: 115.2 kB / 0.5993 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009875/0.6227, allocations: 2.657 MB / 0.6019 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.6227, allocations: 13.94 kB / 0.6019 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6228, allocations: 0 / 0.6019 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.6228, allocations: 4.953 kB / 0.6019 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.6352, allocations: 4.022 MB / 0.6058 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6352, allocations: 0.8438 kB / 0.6058 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.6359, allocations: 94.17 kB / 0.6059 GB, free: 21.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005109/0.641, allocations: 1.319 MB / 0.6072 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.6412, allocations: 16.11 kB / 0.6072 GB, free: 20.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.6539, allocations: 5.463 MB / 0.6126 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.654, allocations: 5 kB / 0.6126 GB, free: 17.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009628/0.6636, allocations: 3.369 MB / 0.6159 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.6641, allocations: 199.8 kB / 0.6161 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.6645, allocations: 8.797 kB / 0.6161 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6656, allocations: 87.91 kB / 0.6161 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/0.6661, allocations: 160.3 kB / 0.6163 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.6662, allocations: 16 kB / 0.6163 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.6673, allocations: 0.6669 MB / 0.617 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6673, allocations: 0 / 0.617 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001355/0.6686, allocations: 355.6 kB / 0.6173 GB, free: 12.55 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.000276/0.6689, allocations: 120.8 kB / 0.6174 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004499/0.6734, allocations: 1.848 MB / 0.6192 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6735, allocations: 4.562 kB / 0.6192 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.6766, allocations: 1.192 MB / 0.6204 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6778, allocations: 96.11 kB / 0.6205 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.6818, allocations: 2.196 MB / 0.6226 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.6823, allocations: 1.05 MB / 0.6237 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.6827, allocations: 67.42 kB / 0.6237 GB, free: 5.883 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6827, allocations: 3.938 kB / 0.6237 GB, free: 5.879 MB / 430.1 MB Notification: Performance of Templates: time 0.02962/0.7123, allocations: 21.78 MB / 0.645 GB, free: 276 kB / 446.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