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.09973/0.09973, allocations: 12.19 MB / 27.81 MB, free: 1.148 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.00103/0.001029, allocations: 107.5 kB / 31.32 MB, free: 4.633 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.512/1.512, allocations: 205.4 MB / 240.1 MB, free: 11.55 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.00115/0.00115, allocations: 176.5 kB / 291.3 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4977/0.4977, allocations: 78.53 MB / 420.8 MB, free: 48.63 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.0008806/0.0008808, allocations: 36 kB / 0.4901 GB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3979, allocations: 69.22 MB / 0.5577 GB, free: 43.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006431/0.4044, allocations: 5.57 MB / 0.5631 GB, free: 41.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.4089, allocations: 1.742 MB / 0.5648 GB, free: 40.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.4096, allocations: 15.81 kB / 0.5648 GB, free: 40.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.4103, allocations: 153.7 kB / 0.565 GB, free: 40.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.4119, allocations: 0.5795 MB / 0.5655 GB, free: 40.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.4131, allocations: 457 kB / 0.566 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.4148, allocations: 1.263 MB / 0.5672 GB, free: 39.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.4152, allocations: 226.3 kB / 0.5674 GB, free: 39.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.4159, allocations: 498.7 kB / 0.5679 GB, free: 38.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.4166, allocations: 0.5788 MB / 0.5685 GB, free: 38.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.4168, allocations: 53.61 kB / 0.5685 GB, free: 38.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.4173, allocations: 171.1 kB / 0.5687 GB, free: 38.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.4175, allocations: 206.5 kB / 0.5689 GB, free: 38.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.4177, allocations: 208.4 kB / 0.5691 GB, free: 38.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009267/0.4186, allocations: 1.014 MB / 0.5701 GB, free: 38.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4186, allocations: 0 / 0.5701 GB, free: 38.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4186, allocations: 0 / 0.5701 GB, free: 38.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4187, allocations: 1.281 kB / 0.5701 GB, free: 38.14 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.005861/0.4245, allocations: 2.084 MB / 0.5721 GB, free: 37.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4246, allocations: 16.8 kB / 0.5721 GB, free: 37.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.4276, allocations: 0.5609 MB / 0.5727 GB, free: 37.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.4289, allocations: 0.7444 MB / 0.5734 GB, free: 36.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.4291, allocations: 218.4 kB / 0.5736 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4292, allocations: 61.72 kB / 0.5737 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.4308, allocations: 0.8792 MB / 0.5745 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4308, allocations: 0 / 0.5745 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.4309, allocations: 27.05 kB / 0.5745 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4309, allocations: 14.5 kB / 0.5746 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.4325, allocations: 0.9097 MB / 0.5754 GB, free: 35.73 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.00474/0.4373, allocations: 3.103 MB / 0.5785 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/0.4424, allocations: 1.974 MB / 0.5804 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.4434, allocations: 0.599 MB / 0.581 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.4435, allocations: 8.844 kB / 0.581 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.4447, allocations: 0.6755 MB / 0.5817 GB, free: 32.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.887e-06/0.4447, allocations: 0 / 0.5817 GB, free: 32.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01601/0.4607, allocations: 5.575 MB / 0.5871 GB, free: 31.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4608, allocations: 60.22 kB / 0.5872 GB, free: 31.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4622, allocations: 0.9642 MB / 0.5881 GB, free: 31.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.4623, allocations: 40.58 kB / 0.5881 GB, free: 31.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.4626, allocations: 468.8 kB / 0.5886 GB, free: 30.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.4628, allocations: 268.6 kB / 0.5888 GB, free: 30.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.4629, allocations: 20.97 kB / 0.5889 GB, free: 30.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.463, allocations: 341.8 kB / 0.5892 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4641, allocations: 0.5999 MB / 0.5898 GB, free: 29.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4652, allocations: 0.7149 MB / 0.5905 GB, free: 29.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4664, allocations: 0.6381 MB / 0.5911 GB, free: 29.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4664, allocations: 7.156 kB / 0.5911 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008756/0.4751, allocations: 3.321 MB / 0.5943 GB, free: 28.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4752, allocations: 11.05 kB / 0.5944 GB, free: 28.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4752, allocations: 2.844 kB / 0.5944 GB, free: 28.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004823/0.48, allocations: 1.485 MB / 0.5958 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4811, allocations: 190.7 kB / 0.596 GB, free: 28.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.4937, allocations: 5.737 MB / 0.6016 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.4955, allocations: 180.5 kB / 0.6018 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.4956, allocations: 36.77 kB / 0.6018 GB, free: 25.22 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.0005843/0.4962, allocations: 244.4 kB / 0.602 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.4964, allocations: 114.5 kB / 0.6021 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009421/0.5058, allocations: 3.153 MB / 0.6052 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5059, allocations: 6.781 kB / 0.6052 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5059, allocations: 5.109 kB / 0.6052 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5059, allocations: 3.938 kB / 0.6052 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.5164, allocations: 4.522 MB / 0.6097 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5165, allocations: 3.938 kB / 0.6097 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.517, allocations: 97.34 kB / 0.6098 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004512/0.5215, allocations: 1.535 MB / 0.6113 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.5216, allocations: 15.98 kB / 0.6113 GB, free: 21.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.532, allocations: 5.886 MB / 0.617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5321, allocations: 3.984 kB / 0.617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008528/0.5406, allocations: 3.906 MB / 0.6208 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.5411, allocations: 203.7 kB / 0.621 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.5413, allocations: 19.95 kB / 0.621 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.5423, allocations: 119.9 kB / 0.6212 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/0.5427, allocations: 156.4 kB / 0.6213 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.5428, allocations: 16 kB / 0.6213 GB, free: 10.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009664/0.5438, allocations: 0.6553 MB / 0.622 GB, free: 9.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5438, allocations: 0 / 0.622 GB, free: 9.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5453, allocations: 355.8 kB / 0.6223 GB, free: 9.543 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.0003116/0.5456, allocations: 127 kB / 0.6224 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004485/0.5501, allocations: 2.036 MB / 0.6244 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5501, allocations: 0 / 0.6244 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.5529, allocations: 1.341 MB / 0.6257 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.5538, allocations: 92.41 kB / 0.6258 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.5575, allocations: 2.126 MB / 0.6279 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.5581, allocations: 1.045 MB / 0.6289 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.5584, allocations: 71.36 kB / 0.629 GB, free: 2.578 MB / 430.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5585, allocations: 4 kB / 0.629 GB, free: 2.574 MB / 430.1 MB Notification: Performance of Templates: time 0.02977/0.5882, allocations: 21.71 MB / 0.6502 GB, free: 12.86 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++ 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_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