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.001082/0.001082, allocations: 101.9 kB / 15.71 MB, free: 460 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.51/1.51, allocations: 223.3 MB / 239.7 MB, free: 5.465 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.001501/0.001501, allocations: 176.5 kB / 290.9 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5097/0.5097, allocations: 78.55 MB / 420.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 12 kB / 0.4887 GB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 69.37 MB / 0.5564 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.3452/0.5172, allocations: 5.52 MB / 0.5618 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.5225, allocations: 1.775 MB / 0.5635 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.5233, allocations: 11.38 kB / 0.5636 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.5239, allocations: 153 kB / 0.5637 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.5255, allocations: 0.581 MB / 0.5643 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.5266, allocations: 460.2 kB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.5279, allocations: 1.264 MB / 0.5659 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.5282, allocations: 222.7 kB / 0.5661 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.5288, allocations: 493.3 kB / 0.5666 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.5294, allocations: 0.5738 MB / 0.5672 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.5295, allocations: 48.53 kB / 0.5672 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.53, allocations: 178.5 kB / 0.5674 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5302, allocations: 202.4 kB / 0.5676 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.5303, allocations: 209.9 kB / 0.5678 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009249/0.5313, allocations: 1.015 MB / 0.5688 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5313, allocations: 2.75 kB / 0.5688 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5313, allocations: 0.9688 kB / 0.5688 GB, free: 35.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.5313, allocations: 0 / 0.5688 GB, free: 35.93 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.005809/0.5371, allocations: 2.089 MB / 0.5708 GB, free: 35.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5372, allocations: 9.812 kB / 0.5708 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.5402, allocations: 0.5617 MB / 0.5714 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5416, allocations: 0.7356 MB / 0.5721 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.5419, allocations: 219.5 kB / 0.5723 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.542, allocations: 64.78 kB / 0.5724 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5438, allocations: 0.8785 MB / 0.5732 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5438, allocations: 0.7969 kB / 0.5732 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.5439, allocations: 24.66 kB / 0.5733 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5439, allocations: 18.61 kB / 0.5733 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.5456, allocations: 0.9093 MB / 0.5742 GB, free: 34.46 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.005274/0.5509, allocations: 3.106 MB / 0.5772 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/0.5563, allocations: 1.971 MB / 0.5791 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.5574, allocations: 0.6007 MB / 0.5797 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.5575, allocations: 10.52 kB / 0.5797 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.5588, allocations: 0.6666 MB / 0.5804 GB, free: 31.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/0.5588, allocations: 4 kB / 0.5804 GB, free: 31.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01775/0.5766, allocations: 5.579 MB / 0.5858 GB, free: 30.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5767, allocations: 61.69 kB / 0.5859 GB, free: 30.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.5784, allocations: 0.9594 MB / 0.5868 GB, free: 30.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.5785, allocations: 43.77 kB / 0.5869 GB, free: 30.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.5789, allocations: 474.3 kB / 0.5873 GB, free: 29.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.5792, allocations: 265.7 kB / 0.5876 GB, free: 29.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.5792, allocations: 20.59 kB / 0.5876 GB, free: 29.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5793, allocations: 346.9 kB / 0.5879 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.5806, allocations: 0.5939 MB / 0.5885 GB, free: 28.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.582, allocations: 0.7169 MB / 0.5892 GB, free: 28.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.5834, allocations: 0.6451 MB / 0.5898 GB, free: 28.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5834, allocations: 1.031 kB / 0.5898 GB, free: 28.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009074/0.5925, allocations: 3.318 MB / 0.5931 GB, free: 27.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.5925, allocations: 6.938 kB / 0.5931 GB, free: 27.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5925, allocations: 2.219 kB / 0.5931 GB, free: 27.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.5975, allocations: 1.492 MB / 0.5945 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.5987, allocations: 187.8 kB / 0.5947 GB, free: 27.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.6115, allocations: 5.727 MB / 0.6003 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.6132, allocations: 179.2 kB / 0.6005 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.6133, allocations: 37.47 kB / 0.6005 GB, free: 24.3 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.0005392/0.6139, allocations: 233.3 kB / 0.6007 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6141, allocations: 116.2 kB / 0.6008 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/0.6236, allocations: 3.155 MB / 0.6039 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6237, allocations: 7.125 kB / 0.6039 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6237, allocations: 2.062 kB / 0.6039 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.6237, allocations: 4.266 kB / 0.6039 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.635, allocations: 4.525 MB / 0.6084 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6351, allocations: 0.9062 kB / 0.6084 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.6356, allocations: 99.14 kB / 0.6084 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/0.6408, allocations: 1.535 MB / 0.6099 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.6409, allocations: 19.78 kB / 0.61 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.653, allocations: 5.886 MB / 0.6157 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6531, allocations: 0 / 0.6157 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008847/0.6619, allocations: 3.922 MB / 0.6195 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.6625, allocations: 207.7 kB / 0.6197 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6626, allocations: 12 kB / 0.6198 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/0.6635, allocations: 117.5 kB / 0.6199 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.664, allocations: 152.4 kB / 0.62 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.664, allocations: 19.98 kB / 0.62 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009082/0.6649, allocations: 0.6592 MB / 0.6207 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6649, allocations: 7.875 kB / 0.6207 GB, free: 11.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001213/0.6662, allocations: 347.7 kB / 0.621 GB, free: 11.42 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.0002828/0.6665, allocations: 115.2 kB / 0.6211 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.6707, allocations: 2.043 MB / 0.6231 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6707, allocations: 0 / 0.6231 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/0.6734, allocations: 1.332 MB / 0.6244 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.6742, allocations: 96.92 kB / 0.6245 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.6772, allocations: 2.124 MB / 0.6266 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.6777, allocations: 1.051 MB / 0.6276 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.6779, allocations: 67.42 kB / 0.6277 GB, free: 4.48 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6779, allocations: 0 / 0.6277 GB, free: 4.48 MB / 430.1 MB Notification: Performance of Templates: time 0.02731/0.7053, allocations: 21.7 MB / 0.6489 GB, free: 14.93 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++ 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_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