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.09083/0.09083, allocations: 12.19 MB / 27.96 MB, free: 1.441 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.001073/0.001073, allocations: 111.4 kB / 31.47 MB, free: 4.711 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.1 MB / 240 MB, free: 11.01 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.001457/0.001457, allocations: 188.5 kB / 290.1 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4645/0.4645, allocations: 78.51 MB / 418.6 MB, free: 31.82 MB / 318.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.002549/0.002549, allocations: 131.8 kB / 498.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4052, allocations: 68.04 MB / 0.5536 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005618/0.4109, allocations: 5.572 MB / 0.559 GB, free: 33.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.4137, allocations: 1.412 MB / 0.5604 GB, free: 32.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.4143, allocations: 8 kB / 0.5604 GB, free: 32.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.4147, allocations: 127.9 kB / 0.5605 GB, free: 32.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.4153, allocations: 278 kB / 0.5608 GB, free: 32.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.4166, allocations: 0.6109 MB / 0.5614 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.4176, allocations: 1.01 MB / 0.5624 GB, free: 31.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.4179, allocations: 204.6 kB / 0.5626 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.4183, allocations: 401.4 kB / 0.563 GB, free: 31.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.4189, allocations: 0.5094 MB / 0.5635 GB, free: 30.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.419, allocations: 49.38 kB / 0.5635 GB, free: 30.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.4192, allocations: 102.8 kB / 0.5636 GB, free: 30.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.4194, allocations: 173 kB / 0.5638 GB, free: 30.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.4197, allocations: 441 kB / 0.5642 GB, free: 30.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.4204, allocations: 0.817 MB / 0.565 GB, free: 30.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4204, allocations: 0 / 0.565 GB, free: 30.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4204, allocations: 0 / 0.565 GB, free: 30.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.4204, allocations: 4 kB / 0.565 GB, free: 30.15 MB / 414.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.004583/0.425, allocations: 1.762 MB / 0.5667 GB, free: 29.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.425, allocations: 11.95 kB / 0.5667 GB, free: 29.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.4275, allocations: 450.2 kB / 0.5672 GB, free: 29.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.4284, allocations: 0.626 MB / 0.5678 GB, free: 28.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.4286, allocations: 203.7 kB / 0.568 GB, free: 28.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4287, allocations: 56.16 kB / 0.568 GB, free: 28.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4302, allocations: 0.7633 MB / 0.5688 GB, free: 28.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4302, allocations: 0 / 0.5688 GB, free: 28.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.4303, allocations: 25.25 kB / 0.5688 GB, free: 28.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4303, allocations: 17.06 kB / 0.5688 GB, free: 28.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.4317, allocations: 0.7009 MB / 0.5695 GB, free: 27.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.436, allocations: 2.676 MB / 0.5721 GB, free: 26.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4373, allocations: 1.04 MB / 0.5731 GB, free: 25.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008484/0.4382, allocations: 491.4 kB / 0.5736 GB, free: 25.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.4382, allocations: 15.52 kB / 0.5736 GB, free: 25.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.4395, allocations: 0.5922 MB / 0.5742 GB, free: 25.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.4395, allocations: 0 / 0.5742 GB, free: 25.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.01946/0.4589, allocations: 4.595 MB / 0.5787 GB, free: 24.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.4591, allocations: 85.2 kB / 0.5788 GB, free: 24.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4605, allocations: 0.7127 MB / 0.5795 GB, free: 23.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.4606, allocations: 36.22 kB / 0.5795 GB, free: 23.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.461, allocations: 381 kB / 0.5798 GB, free: 23.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.4612, allocations: 227.7 kB / 0.5801 GB, free: 23.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.4615, allocations: 106.1 kB / 0.5802 GB, free: 23.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.4616, allocations: 331.5 kB / 0.5805 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/0.4626, allocations: 403.1 kB / 0.5809 GB, free: 22.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.4636, allocations: 0.5049 MB / 0.5814 GB, free: 22.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.4654, allocations: 0.9187 MB / 0.5823 GB, free: 22.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4655, allocations: 5.062 kB / 0.5823 GB, free: 22.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008955/0.4744, allocations: 2.593 MB / 0.5848 GB, free: 21.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4745, allocations: 6.688 kB / 0.5848 GB, free: 21.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4745, allocations: 8.062 kB / 0.5848 GB, free: 21.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004072/0.4786, allocations: 1.123 MB / 0.5859 GB, free: 21.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4791, allocations: 97.88 kB / 0.586 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.4931, allocations: 6.223 MB / 0.5921 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.4942, allocations: 107.3 kB / 0.5922 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.4943, allocations: 21.06 kB / 0.5922 GB, free: 16.88 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 ($whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003592/0.4947, allocations: 202.4 kB / 0.5924 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4948, allocations: 98.22 kB / 0.5925 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008197/0.5031, allocations: 2.625 MB / 0.595 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5031, allocations: 10.88 kB / 0.5951 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5031, allocations: 0.9688 kB / 0.5951 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.5031, allocations: 5.109 kB / 0.5951 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/0.512, allocations: 3.843 MB / 0.5988 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5121, allocations: 0 / 0.5988 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.5125, allocations: 79.89 kB / 0.5989 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.5158, allocations: 1.082 MB / 0.6 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.5159, allocations: 12 kB / 0.6 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.5267, allocations: 5.48 MB / 0.6053 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5267, allocations: 0 / 0.6053 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008399/0.5351, allocations: 3.219 MB / 0.6085 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.5356, allocations: 179.8 kB / 0.6086 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.5358, allocations: 12 kB / 0.6086 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.5366, allocations: 87.78 kB / 0.6087 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/0.5371, allocations: 140.3 kB / 0.6089 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.5371, allocations: 19.98 kB / 0.6089 GB, free: 1.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.5378, allocations: 0.4912 MB / 0.6094 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5378, allocations: 0 / 0.6094 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001145/0.5389, allocations: 295.7 kB / 0.6096 GB, free: 0.5977 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.5392, allocations: 115.6 kB / 0.6097 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004034/0.5432, allocations: 1.501 MB / 0.6112 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5432, allocations: 4.125 kB / 0.6112 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002893/0.5461, allocations: 1.028 MB / 0.6122 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.5469, allocations: 79.38 kB / 0.6123 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.5509, allocations: 1.942 MB / 0.6142 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.5516, allocations: 0.9747 MB / 0.6151 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.5519, allocations: 55.44 kB / 0.6152 GB, free: 10.82 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5519, allocations: 0 / 0.6152 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Templates: time 0.02295/0.5748, allocations: 14.21 MB / 0.6291 GB, free: 12.6 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++ -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.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