Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09089/0.09089, allocations: 12.19 MB / 28.12 MB, free: 1.422 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007215/0.0007214, allocations: 101.7 kB / 31.65 MB, free: 4.762 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 240.5 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 184.5 kB / 291.6 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4721/0.4721, allocations: 78.53 MB / 421.1 MB, free: 48.51 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008467/0.0008467, allocations: 31.73 kB / 0.4907 GB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4069, allocations: 69.23 MB / 0.5583 GB, free: 43.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006555/0.4135, allocations: 5.92 MB / 0.5641 GB, free: 41.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.4175, allocations: 1.835 MB / 0.5659 GB, free: 40.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.4181, allocations: 11.72 kB / 0.5659 GB, free: 40.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.4187, allocations: 169.5 kB / 0.5661 GB, free: 40.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.4203, allocations: 0.6167 MB / 0.5667 GB, free: 39.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.4216, allocations: 0.5061 MB / 0.5672 GB, free: 39.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.423, allocations: 1.345 MB / 0.5685 GB, free: 38.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.4234, allocations: 245.8 kB / 0.5687 GB, free: 38.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.4241, allocations: 500 kB / 0.5692 GB, free: 38.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.4247, allocations: 0.5988 MB / 0.5698 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.4248, allocations: 50.03 kB / 0.5698 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.4253, allocations: 175.8 kB / 0.57 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.4255, allocations: 220.4 kB / 0.5702 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.4259, allocations: 0.5327 MB / 0.5707 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008556/0.4268, allocations: 1.015 MB / 0.5717 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4268, allocations: 0 / 0.5717 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4268, allocations: 0 / 0.5717 GB, free: 37.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4268, allocations: 6.844 kB / 0.5717 GB, free: 37.48 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.005996/0.4328, allocations: 2.072 MB / 0.5737 GB, free: 36.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4329, allocations: 12.05 kB / 0.5738 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.436, allocations: 0.5642 MB / 0.5743 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.4371, allocations: 0.7827 MB / 0.5751 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.4373, allocations: 217.5 kB / 0.5753 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4374, allocations: 72.09 kB / 0.5753 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.439, allocations: 0.8847 MB / 0.5762 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4391, allocations: 0 / 0.5762 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.4392, allocations: 26.09 kB / 0.5762 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4392, allocations: 18.06 kB / 0.5763 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4408, allocations: 0.9112 MB / 0.5771 GB, free: 35.01 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.004571/0.4454, allocations: 3.097 MB / 0.5802 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.4514, allocations: 1.987 MB / 0.5821 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4524, allocations: 0.594 MB / 0.5827 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.4525, allocations: 8.562 kB / 0.5827 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.4537, allocations: 0.6703 MB / 0.5834 GB, free: 31.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.334e-06/0.4537, allocations: 0 / 0.5834 GB, free: 31.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01861/0.4723, allocations: 5.606 MB / 0.5888 GB, free: 30.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4724, allocations: 69.25 kB / 0.5889 GB, free: 30.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.474, allocations: 0.9677 MB / 0.5898 GB, free: 30.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.4741, allocations: 40.77 kB / 0.5899 GB, free: 30.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.4745, allocations: 468.5 kB / 0.5903 GB, free: 29.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.4747, allocations: 261.8 kB / 0.5906 GB, free: 29.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4748, allocations: 89.89 kB / 0.5907 GB, free: 29.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.4749, allocations: 344 kB / 0.591 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.4761, allocations: 0.6057 MB / 0.5916 GB, free: 29.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4773, allocations: 0.7185 MB / 0.5923 GB, free: 28.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/0.4951, allocations: 4.442 MB / 0.5966 GB, free: 27.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4951, allocations: 4 kB / 0.5966 GB, free: 27.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01043/0.5056, allocations: 3.344 MB / 0.5999 GB, free: 26.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.5056, allocations: 5.75 kB / 0.5999 GB, free: 26.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5056, allocations: 2.312 kB / 0.5999 GB, free: 26.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/0.5111, allocations: 1.477 MB / 0.6013 GB, free: 26.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5123, allocations: 195.5 kB / 0.6015 GB, free: 26.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.5257, allocations: 5.741 MB / 0.6071 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5275, allocations: 176.9 kB / 0.6073 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.5276, allocations: 36.33 kB / 0.6073 GB, free: 23.55 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.0005382/0.5282, allocations: 225.7 kB / 0.6075 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5284, allocations: 120.2 kB / 0.6077 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009801/0.5382, allocations: 3.159 MB / 0.6107 GB, free: 21.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.5382, allocations: 6.656 kB / 0.6108 GB, free: 21.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5382, allocations: 1.688 kB / 0.6108 GB, free: 21.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.5382, allocations: 3.984 kB / 0.6108 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5489, allocations: 4.536 MB / 0.6152 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5489, allocations: 0 / 0.6152 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.5494, allocations: 91.89 kB / 0.6153 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004719/0.5541, allocations: 1.538 MB / 0.6168 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.5542, allocations: 12 kB / 0.6168 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.5656, allocations: 5.905 MB / 0.6226 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5657, allocations: 3.984 kB / 0.6226 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009969/0.5756, allocations: 3.922 MB / 0.6264 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.5762, allocations: 207.6 kB / 0.6266 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.5765, allocations: 16 kB / 0.6266 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.5778, allocations: 111.9 kB / 0.6267 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.5782, allocations: 152.3 kB / 0.6269 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/0.5783, allocations: 27.92 kB / 0.6269 GB, free: 5.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.5795, allocations: 0.6592 MB / 0.6275 GB, free: 4.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5795, allocations: 0 / 0.6275 GB, free: 4.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001488/0.581, allocations: 355.6 kB / 0.6279 GB, free: 4.184 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.0003463/0.5813, allocations: 120.4 kB / 0.628 GB, free: 4.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.5865, allocations: 2.052 MB / 0.63 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5865, allocations: 0.5625 kB / 0.63 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.5898, allocations: 1.345 MB / 0.6313 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.5907, allocations: 88.92 kB / 0.6314 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.5943, allocations: 2.241 MB / 0.6336 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.595, allocations: 1.046 MB / 0.6346 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5953, allocations: 67.42 kB / 0.6347 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5953, allocations: 3.938 kB / 0.6347 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Templates: time 0.02924/0.6246, allocations: 21.67 MB / 0.6558 GB, free: 7.434 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_TestCalcHelperMain.o] Error 1