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.0869/0.0869, allocations: 12.19 MB / 27.97 MB, free: 1.406 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 111.5 kB / 31.47 MB, free: 4.695 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.525/1.525, allocations: 205.1 MB / 240 MB, free: 11.64 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.001298/0.001298, allocations: 188.5 kB / 290.1 MB, free: 15.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4788/0.4788, allocations: 78.5 MB / 418.6 MB, free: 47.18 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.002213/0.002214, allocations: 131.8 kB / 498.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1453, allocations: 68.05 MB / 0.5536 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.28/0.4254, allocations: 6.363 MB / 0.5598 GB, free: 39.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.4301, allocations: 1.856 MB / 0.5616 GB, free: 38.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000621/0.4308, allocations: 16.91 kB / 0.5616 GB, free: 38.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007272/0.4316, allocations: 162.5 kB / 0.5618 GB, free: 38.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.4332, allocations: 0.6269 MB / 0.5624 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4344, allocations: 0.5162 MB / 0.5629 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.4359, allocations: 1.342 MB / 0.5642 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.4363, allocations: 243.5 kB / 0.5645 GB, free: 37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.4371, allocations: 0.5169 MB / 0.565 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.4378, allocations: 0.6191 MB / 0.5656 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.438, allocations: 59.47 kB / 0.5656 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.4385, allocations: 191.1 kB / 0.5658 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.4388, allocations: 229.4 kB / 0.566 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.4393, allocations: 0.5267 MB / 0.5665 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.4403, allocations: 1.046 MB / 0.5676 GB, free: 35.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4403, allocations: 1.031 kB / 0.5676 GB, free: 35.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4403, allocations: 0 / 0.5676 GB, free: 35.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4404, allocations: 0 / 0.5676 GB, free: 35.54 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.007172/0.4476, allocations: 2.235 MB / 0.5697 GB, free: 34.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4476, allocations: 13.55 kB / 0.5698 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/0.4509, allocations: 0.5614 MB / 0.5703 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4522, allocations: 0.7802 MB / 0.5711 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.4524, allocations: 213.4 kB / 0.5713 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.4525, allocations: 63.72 kB / 0.5713 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.4541, allocations: 0.8355 MB / 0.5721 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4541, allocations: 6.141 kB / 0.5722 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.4542, allocations: 26.91 kB / 0.5722 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.4542, allocations: 18.06 kB / 0.5722 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.4558, allocations: 0.8465 MB / 0.573 GB, free: 32.97 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.004637/0.4605, allocations: 3.05 MB / 0.576 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/0.466, allocations: 1.706 MB / 0.5777 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/0.4669, allocations: 0.5513 MB / 0.5782 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.467, allocations: 11.09 kB / 0.5782 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.4681, allocations: 0.6184 MB / 0.5788 GB, free: 30 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.4681, allocations: 0 / 0.5788 GB, free: 30 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01623/0.4844, allocations: 4.7 MB / 0.5834 GB, free: 28.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4844, allocations: 60.97 kB / 0.5835 GB, free: 28.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.4859, allocations: 0.9684 MB / 0.5844 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.4861, allocations: 39.77 kB / 0.5845 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4864, allocations: 471 kB / 0.5849 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.4866, allocations: 268.5 kB / 0.5852 GB, free: 27.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.4869, allocations: 179 kB / 0.5853 GB, free: 27.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.487, allocations: 343.4 kB / 0.5857 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4881, allocations: 0.5525 MB / 0.5862 GB, free: 27.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.4892, allocations: 0.6698 MB / 0.5868 GB, free: 26.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/0.5045, allocations: 4.045 MB / 0.5908 GB, free: 25.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.5045, allocations: 0 / 0.5908 GB, free: 25.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008463/0.513, allocations: 2.833 MB / 0.5936 GB, free: 25.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5131, allocations: 6.266 kB / 0.5936 GB, free: 25.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.5131, allocations: 2.375 kB / 0.5936 GB, free: 25.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/0.5179, allocations: 1.27 MB / 0.5948 GB, free: 24.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5191, allocations: 194.1 kB / 0.595 GB, free: 24.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.5316, allocations: 5.23 MB / 0.6001 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.5333, allocations: 156.8 kB / 0.6003 GB, free: 21.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.5336, allocations: 42.72 kB / 0.6003 GB, free: 21.88 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.0006335/0.5342, allocations: 224.5 kB / 0.6005 GB, free: 21.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.5346, allocations: 116.9 kB / 0.6006 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/0.5435, allocations: 2.654 MB / 0.6032 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5436, allocations: 8.781 kB / 0.6032 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5436, allocations: 0 / 0.6032 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5436, allocations: 4.766 kB / 0.6032 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5545, allocations: 4.022 MB / 0.6072 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5545, allocations: 4 kB / 0.6072 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.555, allocations: 91.16 kB / 0.6072 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004763/0.5598, allocations: 1.323 MB / 0.6085 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.961e-05/0.5599, allocations: 15.31 kB / 0.6086 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.5719, allocations: 5.469 MB / 0.6139 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5719, allocations: 0 / 0.6139 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009003/0.5809, allocations: 3.367 MB / 0.6172 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.5814, allocations: 199.6 kB / 0.6174 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.5816, allocations: 17.06 kB / 0.6174 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.5827, allocations: 87.89 kB / 0.6175 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/0.5831, allocations: 156.3 kB / 0.6176 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.5832, allocations: 20 kB / 0.6176 GB, free: 11.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.5842, allocations: 0.6592 MB / 0.6183 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5842, allocations: 0 / 0.6183 GB, free: 10.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001325/0.5856, allocations: 347.7 kB / 0.6186 GB, free: 10.12 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.0002533/0.5858, allocations: 123.2 kB / 0.6187 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.5903, allocations: 1.852 MB / 0.6205 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5903, allocations: 0 / 0.6205 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.5932, allocations: 1.19 MB / 0.6217 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.5941, allocations: 96.34 kB / 0.6218 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.5976, allocations: 2.216 MB / 0.624 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.598, allocations: 1.038 MB / 0.625 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.5983, allocations: 67.42 kB / 0.625 GB, free: 3.449 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5983, allocations: 0 / 0.625 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Templates: time 0.02664/0.625, allocations: 21.78 MB / 0.6463 GB, free: 13.67 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