Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 100.5 kB / 15.71 MB, free: 452 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.514/1.514, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.001433/0.001433, allocations: 188.5 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.564/0.564, allocations: 79.47 MB / 421.5 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12 kB / 0.4897 GB, free: 5.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 69.51 MB / 0.5576 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.3974/0.6013, allocations: 4.816 MB / 0.5623 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.6047, allocations: 1.358 MB / 0.5636 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.6052, allocations: 8.25 kB / 0.5637 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.6056, allocations: 120.5 kB / 0.5638 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.6064, allocations: 293.5 kB / 0.564 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6077, allocations: 0.5202 MB / 0.5646 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6087, allocations: 0.9626 MB / 0.5655 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.6091, allocations: 184.3 kB / 0.5657 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.6095, allocations: 372.8 kB / 0.566 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.6102, allocations: 484.9 kB / 0.5665 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.137e-05/0.6103, allocations: 38.94 kB / 0.5665 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.6105, allocations: 95.67 kB / 0.5666 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.6107, allocations: 160.3 kB / 0.5668 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.6108, allocations: 173.5 kB / 0.5669 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.6116, allocations: 0.7866 MB / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6116, allocations: 0 / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6116, allocations: 0 / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.6117, allocations: 2.594 kB / 0.5677 GB, free: 36.23 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004075/0.6157, allocations: 1.642 MB / 0.5693 GB, free: 35.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.6158, allocations: 13.44 kB / 0.5693 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.6182, allocations: 447.5 kB / 0.5697 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.619, allocations: 0.6074 MB / 0.5703 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.6193, allocations: 206.8 kB / 0.5705 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.6194, allocations: 54.31 kB / 0.5706 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6208, allocations: 0.8127 MB / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6209, allocations: 0 / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.621, allocations: 22.41 kB / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.621, allocations: 16.3 kB / 0.5714 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.6226, allocations: 0.7634 MB / 0.5722 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.6268, allocations: 2.723 MB / 0.5748 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.6281, allocations: 1.082 MB / 0.5759 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.629, allocations: 0.5288 MB / 0.5764 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.6291, allocations: 14.55 kB / 0.5764 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.6303, allocations: 0.6439 MB / 0.577 GB, free: 32.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.514e-06/0.6303, allocations: 0 / 0.577 GB, free: 32.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01701/0.6473, allocations: 5.584 MB / 0.5825 GB, free: 31.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.6474, allocations: 89.28 kB / 0.5826 GB, free: 31.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.6487, allocations: 0.6985 MB / 0.5833 GB, free: 31.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.6488, allocations: 35.77 kB / 0.5833 GB, free: 31.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.6491, allocations: 385.9 kB / 0.5837 GB, free: 30.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.6493, allocations: 232.8 kB / 0.5839 GB, free: 30.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.6494, allocations: 10.59 kB / 0.5839 GB, free: 30.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.6495, allocations: 329.8 kB / 0.5842 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/0.6504, allocations: 459.1 kB / 0.5846 GB, free: 30.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.6515, allocations: 0.549 MB / 0.5852 GB, free: 29.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.6525, allocations: 483.4 kB / 0.5856 GB, free: 29.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6525, allocations: 0 / 0.5856 GB, free: 29.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008991/0.6615, allocations: 3.145 MB / 0.5887 GB, free: 29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.6616, allocations: 9.109 kB / 0.5887 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.6616, allocations: 4.188 kB / 0.5887 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004505/0.6661, allocations: 1.283 MB / 0.59 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.6666, allocations: 108 kB / 0.5901 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.6823, allocations: 6.887 MB / 0.5968 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.6836, allocations: 146.2 kB / 0.597 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.6838, allocations: 27.67 kB / 0.597 GB, free: 25.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.6843, allocations: 201.9 kB / 0.5972 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6847, allocations: 90.58 kB / 0.5973 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009852/0.6945, allocations: 3.191 MB / 0.6004 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.6946, allocations: 11.19 kB / 0.6004 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6946, allocations: 2.344 kB / 0.6004 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.6946, allocations: 3.797 kB / 0.6004 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.7068, allocations: 4.392 MB / 0.6047 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.7069, allocations: 1.219 kB / 0.6047 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.7074, allocations: 87.92 kB / 0.6048 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00439/0.7118, allocations: 1.265 MB / 0.606 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.712, allocations: 17.44 kB / 0.606 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.7266, allocations: 6.022 MB / 0.6119 GB, free: 19.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.7266, allocations: 1.469 kB / 0.6119 GB, free: 19.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.7369, allocations: 3.842 MB / 0.6156 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.7374, allocations: 175.9 kB / 0.6158 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.7376, allocations: 8 kB / 0.6158 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/0.7385, allocations: 109.3 kB / 0.6159 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/0.739, allocations: 148.3 kB / 0.6161 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.7391, allocations: 20 kB / 0.6161 GB, free: 16.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007234/0.7398, allocations: 495 kB / 0.6166 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7399, allocations: 0 / 0.6166 GB, free: 15.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001352/0.7412, allocations: 299.7 kB / 0.6168 GB, free: 15.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.7414, allocations: 112 kB / 0.617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.7453, allocations: 1.668 MB / 0.6186 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7453, allocations: 0 / 0.6186 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.7481, allocations: 1.177 MB / 0.6197 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/0.749, allocations: 79.3 kB / 0.6198 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.7524, allocations: 1.922 MB / 0.6217 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.7528, allocations: 0.9709 MB / 0.6226 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.7531, allocations: 55.42 kB / 0.6227 GB, free: 9.621 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7531, allocations: 4 kB / 0.6227 GB, free: 9.617 MB / 430.1 MB Notification: Performance of Templates: time 0.02207/0.7751, allocations: 14.11 MB / 0.6365 GB, free: 11.66 MB / 446.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_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_dev_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.o] Error 1