Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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/Complex 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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008211/0.0008212, allocations: 95.3 kB / 16.34 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009135/0.0009136, allocations: 191.3 kB / 17.24 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05855/0.05855, allocations: 14.17 MB / 285.8 MB, free: 7.133 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.0005481/0.0005483, allocations: 15.98 kB / 350.1 MB, free: 17.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1092, allocations: 51.12 MB / 401.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01588/0.1251, allocations: 17.08 MB / 418.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1401, allocations: 7.134 MB / 425.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003806/0.144, allocations: 51.81 kB / 425.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.1473, allocations: 0.7304 MB / 426.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009595/0.1569, allocations: 2.623 MB / 428.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.159, allocations: 0.6425 MB / 429.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2311/0.3901, allocations: 5.485 MB / 435 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3912, allocations: 338 kB / 435.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/0.3952, allocations: 1.428 MB / 436.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.3988, allocations: 1.544 MB / 438.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.3992, allocations: 78.59 kB / 438.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4014, allocations: 0.5067 MB / 438.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.4018, allocations: 335.9 kB / 439.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.4029, allocations: 0.5703 MB / 439.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.408, allocations: 2.798 MB / 442.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.408, allocations: 0 / 442.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4081, allocations: 0 / 442.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.329e-05/0.4081, allocations: 0.9062 kB / 442.6 MB, free: 13.72 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01296/0.4211, allocations: 3.793 MB / 446.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4212, allocations: 9.625 kB / 446.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.4236, allocations: 457.4 kB / 446.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.4277, allocations: 1.599 MB / 448.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.4279, allocations: 161.6 kB / 448.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/0.4282, allocations: 212 kB / 448.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.4323, allocations: 2.13 MB / 450.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.4323, allocations: 11.8 kB / 450.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.4325, allocations: 86.34 kB / 451 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.4325, allocations: 53.31 kB / 451.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.4357, allocations: 2.152 MB / 453.2 MB, free: 11.19 MB / 318.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.01379/0.4495, allocations: 13.97 MB / 467.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.4536, allocations: 3.112 MB / 470.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.4547, allocations: 0.7863 MB / 471.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.4548, allocations: 33.81 kB / 471.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.4549, allocations: 54.31 kB / 471.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.017e-06/0.4549, allocations: 0 / 471.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008204/0.4631, allocations: 3.468 MB / 474.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.4632, allocations: 81.36 kB / 474.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.4657, allocations: 1.509 MB / 476.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4658, allocations: 61.7 kB / 476.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.4667, allocations: 1.073 MB / 477.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009459/0.4677, allocations: 0.7462 MB / 478.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4678, allocations: 48 kB / 478.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.468, allocations: 403.1 kB / 478.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.4692, allocations: 0.6493 MB / 479.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.471, allocations: 1.211 MB / 480.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.4724, allocations: 0.8496 MB / 481.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4724, allocations: 4 kB / 481.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00493/0.4774, allocations: 2.664 MB / 483.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.4774, allocations: 8 kB / 483.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4775, allocations: 16 kB / 483.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.4792, allocations: 0.5432 MB / 484.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4813, allocations: 0.5773 MB / 485.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.4908, allocations: 6.959 MB / 492 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.4939, allocations: 207.7 kB / 492.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.4941, allocations: 99.98 kB / 492.3 MB, free: 8.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 282 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {4 26,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.4953, allocations: 477.2 kB / 492.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.4957, allocations: 241.1 kB / 493 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.4997, allocations: 2.14 MB / 495.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.4997, allocations: 23.98 kB / 495.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4997, allocations: 0 / 495.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.4998, allocations: 7.969 kB / 495.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007737/0.5075, allocations: 4.871 MB / 0.4884 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5076, allocations: 10.84 kB / 0.4884 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.509, allocations: 395.8 kB / 0.4887 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.5105, allocations: 0.4987 MB / 0.4892 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.5106, allocations: 43.98 kB / 0.4893 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007931/0.5185, allocations: 6.833 MB / 0.4959 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5186, allocations: 7.938 kB / 0.4959 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/0.5244, allocations: 3.934 MB / 0.4998 GB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.5256, allocations: 462 kB / 0.5002 GB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.5259, allocations: 47.92 kB / 0.5003 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.527, allocations: 79.53 kB / 0.5004 GB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.5273, allocations: 149.7 kB / 0.5005 GB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.5274, allocations: 52 kB / 0.5005 GB, free: 3.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.5289, allocations: 0.9753 MB / 0.5015 GB, free: 2.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5289, allocations: 0 / 0.5015 GB, free: 2.836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002702/0.5316, allocations: 0.8121 MB / 0.5023 GB, free: 2.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 173 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004781/0.5321, allocations: 297.2 kB / 0.5026 GB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.536, allocations: 2.348 MB / 0.5049 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.536, allocations: 0 / 0.5049 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.538, allocations: 1.374 MB / 0.5062 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5397, allocations: 264.3 kB / 0.5065 GB, free: 13.67 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008025/0.5477, allocations: 5.624 MB / 0.512 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.5491, allocations: 1.557 MB / 0.5135 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/0.5498, allocations: 159.4 kB / 0.5136 GB, free: 6.258 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5498, allocations: 0 / 0.5136 GB, free: 6.258 MB / 382.1 MB Notification: Performance of Templates: time 0.069/0.6188, allocations: 57.41 MB / 0.5697 GB, free: 12.76 MB / 446.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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 OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.o] Error 1