Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_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.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1034/0.1034, allocations: 12.2 MB / 27.81 MB, free: 1.051 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.0007937/0.0007935, allocations: 107.5 kB / 31.32 MB, free: 4.629 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.54/1.54, allocations: 205.4 MB / 240.1 MB, free: 13.61 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.001252/0.001252, allocations: 195.2 kB / 291.3 MB, free: 11.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4573/0.4573, allocations: 78.54 MB / 420.8 MB, free: 11.64 MB / 302.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.0008804/0.0008805, allocations: 28 kB / 0.4901 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4099, allocations: 69.22 MB / 0.5577 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004263/0.4143, allocations: 4.858 MB / 0.5624 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.4164, allocations: 1.335 MB / 0.5637 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.4167, allocations: 4 kB / 0.5637 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.417, allocations: 119.1 kB / 0.5638 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.4176, allocations: 293.9 kB / 0.5641 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.4185, allocations: 0.526 MB / 0.5646 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.4192, allocations: 0.9568 MB / 0.5656 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.4195, allocations: 185.6 kB / 0.5657 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.4198, allocations: 374.3 kB / 0.5661 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.4203, allocations: 473.8 kB / 0.5666 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.4203, allocations: 40 kB / 0.5666 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.4205, allocations: 95.97 kB / 0.5667 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.4207, allocations: 159.1 kB / 0.5668 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4208, allocations: 173.2 kB / 0.567 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.4213, allocations: 0.7932 MB / 0.5678 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4213, allocations: 4 kB / 0.5678 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4213, allocations: 0 / 0.5678 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.4213, allocations: 0 / 0.5678 GB, free: 10.64 MB / 382.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.003688/0.425, allocations: 1.644 MB / 0.5694 GB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4251, allocations: 19.92 kB / 0.5694 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.4273, allocations: 438.4 kB / 0.5698 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.428, allocations: 0.6005 MB / 0.5704 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.4282, allocations: 213.8 kB / 0.5706 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.4283, allocations: 52 kB / 0.5707 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.4295, allocations: 0.8188 MB / 0.5715 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4296, allocations: 4 kB / 0.5715 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.4296, allocations: 20 kB / 0.5715 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.4296, allocations: 15.98 kB / 0.5715 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.4309, allocations: 0.7625 MB / 0.5722 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.4343, allocations: 2.711 MB / 0.5749 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.4355, allocations: 1.094 MB / 0.576 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.4364, allocations: 0.5226 MB / 0.5765 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.4364, allocations: 28.41 kB / 0.5765 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.4375, allocations: 0.6427 MB / 0.5771 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.4375, allocations: 0 / 0.5771 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.01696/0.4545, allocations: 5.589 MB / 0.5826 GB, free: 11.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.4546, allocations: 85.67 kB / 0.5827 GB, free: 10.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/0.4555, allocations: 0.7003 MB / 0.5833 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.4556, allocations: 41.64 kB / 0.5834 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.4559, allocations: 380.8 kB / 0.5838 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4561, allocations: 228.6 kB / 0.584 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.4562, allocations: 12 kB / 0.584 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4563, allocations: 326 kB / 0.5843 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008909/0.4572, allocations: 457.1 kB / 0.5847 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.4582, allocations: 0.5527 MB / 0.5853 GB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.4591, allocations: 482 kB / 0.5857 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4591, allocations: 0 / 0.5857 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00814/0.4673, allocations: 3.149 MB / 0.5888 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4673, allocations: 11.95 kB / 0.5888 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4673, allocations: 0 / 0.5888 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/0.4711, allocations: 1.287 MB / 0.5901 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.4715, allocations: 103.9 kB / 0.5902 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.4853, allocations: 6.882 MB / 0.5969 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.4862, allocations: 139.4 kB / 0.597 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.4863, allocations: 35.92 kB / 0.5971 GB, free: 11.96 MB / 414.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.0003469/0.4866, allocations: 193.8 kB / 0.5972 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4868, allocations: 90.83 kB / 0.5973 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008187/0.495, allocations: 3.185 MB / 0.6004 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.495, allocations: 11.95 kB / 0.6005 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.495, allocations: 0 / 0.6005 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.495, allocations: 3.984 kB / 0.6005 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009234/0.5043, allocations: 4.396 MB / 0.6047 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5043, allocations: 0 / 0.6047 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.5047, allocations: 91.88 kB / 0.6048 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/0.5083, allocations: 1.266 MB / 0.6061 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.5083, allocations: 16 kB / 0.6061 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.5202, allocations: 6.023 MB / 0.612 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5202, allocations: 4 kB / 0.612 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009155/0.5294, allocations: 3.837 MB / 0.6157 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.5297, allocations: 175.8 kB / 0.6159 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.5298, allocations: 12 kB / 0.6159 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.5305, allocations: 111.8 kB / 0.616 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.5309, allocations: 144.3 kB / 0.6161 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.5309, allocations: 19.98 kB / 0.6162 GB, free: 8.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006179/0.5315, allocations: 499 kB / 0.6166 GB, free: 7.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5316, allocations: 4 kB / 0.6166 GB, free: 7.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008944/0.5325, allocations: 291.7 kB / 0.6169 GB, free: 7.289 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.0001917/0.5327, allocations: 115.2 kB / 0.617 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.5364, allocations: 1.66 MB / 0.6187 GB, free: 5.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5365, allocations: 0 / 0.6187 GB, free: 5.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.5391, allocations: 1.176 MB / 0.6198 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.5397, allocations: 75.38 kB / 0.6199 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.5427, allocations: 1.927 MB / 0.6218 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.5432, allocations: 0.9787 MB / 0.6227 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.5434, allocations: 47.44 kB / 0.6228 GB, free: 1.215 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5434, allocations: 0 / 0.6228 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Templates: time 0.01717/0.5606, allocations: 14.11 MB / 0.6365 GB, free: 3.102 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_TestCalcHelperMain.o] Error 1