Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.0008996/0.0008998, allocations: 99.98 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 179.8 kB / 16.58 MB, free: 6.422 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.489/1.489, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06023/0.06023, allocations: 14.17 MB / 285.2 MB, free: 7.125 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.0005278/0.0005281, allocations: 12 kB / 349.5 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09033, allocations: 51.12 MB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01414/0.1045, allocations: 17.08 MB / 417.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.116, allocations: 7.13 MB / 424.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.1184, allocations: 51.81 kB / 424.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.1204, allocations: 0.7343 MB / 425.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.1283, allocations: 2.613 MB / 428.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1298, allocations: 0.6535 MB / 428.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2081/0.3379, allocations: 5.477 MB / 434.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000915/0.3389, allocations: 338.9 kB / 434.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.3421, allocations: 1.428 MB / 436.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.3446, allocations: 1.544 MB / 437.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.3448, allocations: 79.12 kB / 437.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.3467, allocations: 0.5066 MB / 438.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.3471, allocations: 341.8 kB / 438.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.3481, allocations: 0.5663 MB / 439.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.3522, allocations: 2.795 MB / 441.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.3523, allocations: 1.406 kB / 441.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3523, allocations: 0 / 441.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.3523, allocations: 0 / 441.9 MB, free: 13.8 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.01238/0.3647, allocations: 3.799 MB / 445.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3648, allocations: 13.61 kB / 445.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.367, allocations: 460.3 kB / 446.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.3703, allocations: 1.602 MB / 447.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.3704, allocations: 160.6 kB / 447.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.3706, allocations: 209.9 kB / 448.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.374, allocations: 2.126 MB / 450.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.374, allocations: 7.156 kB / 450.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3742, allocations: 85.72 kB / 450.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.3743, allocations: 55.28 kB / 450.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.3773, allocations: 2.15 MB / 452.6 MB, free: 11.24 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.01343/0.3907, allocations: 13.98 MB / 466.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.3947, allocations: 3.102 MB / 469.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.3958, allocations: 0.7898 MB / 470.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3959, allocations: 25.91 kB / 470.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.396, allocations: 57.3 kB / 470.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 5.761e-06/0.396, allocations: 4 kB / 470.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.00799/0.404, allocations: 3.474 MB / 474 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.404, allocations: 77.41 kB / 474.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.4062, allocations: 1.517 MB / 475.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.4063, allocations: 57.7 kB / 475.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.4072, allocations: 1.068 MB / 476.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007638/0.4079, allocations: 0.7415 MB / 477.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4081, allocations: 52 kB / 477.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4083, allocations: 399.1 kB / 477.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.4093, allocations: 0.6532 MB / 478.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.4108, allocations: 1.209 MB / 479.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.4121, allocations: 0.8496 MB / 480.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.4121, allocations: 4 kB / 480.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004531/0.4167, allocations: 2.661 MB / 483.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4167, allocations: 12 kB / 483.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.4167, allocations: 20.34 kB / 483.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.4184, allocations: 0.5454 MB / 483.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.4203, allocations: 0.5734 MB / 484.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.4287, allocations: 6.959 MB / 491.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.4316, allocations: 206.3 kB / 491.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.4318, allocations: 96 kB / 491.7 MB, free: 8.859 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.001214/0.433, allocations: 485.1 kB / 492.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/0.4334, allocations: 237.2 kB / 492.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.4373, allocations: 2.128 MB / 494.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.4373, allocations: 23.95 kB / 494.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4373, allocations: 8 kB / 494.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.4374, allocations: 11.95 kB / 494.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007585/0.445, allocations: 4.871 MB / 499.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.445, allocations: 4 kB / 499.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.4464, allocations: 396 kB / 499.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.4479, allocations: 0.5052 MB / 0.4886 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/0.448, allocations: 40 kB / 0.4886 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008079/0.4561, allocations: 6.837 MB / 0.4953 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.4561, allocations: 8.094 kB / 0.4953 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.4602, allocations: 2.292 MB / 0.4976 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.4614, allocations: 462 kB / 0.498 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.4616, allocations: 40 kB / 0.498 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4627, allocations: 79.52 kB / 0.4981 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.463, allocations: 153.7 kB / 0.4983 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.4631, allocations: 56 kB / 0.4983 GB, free: 5.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.4645, allocations: 0.9686 MB / 0.4993 GB, free: 4.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4645, allocations: 0 / 0.4993 GB, free: 4.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002586/0.4671, allocations: 0.8043 MB / 0.5 GB, free: 3.754 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.0004835/0.4676, allocations: 300.3 kB / 0.5003 GB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.4714, allocations: 2.343 MB / 0.5026 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4714, allocations: 0 / 0.5026 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4734, allocations: 1.386 MB / 0.504 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.4753, allocations: 257.9 kB / 0.5042 GB, free: 15.41 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.007019/0.4823, allocations: 4.614 MB / 0.5087 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.4835, allocations: 1.486 MB / 0.5102 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.4841, allocations: 159.4 kB / 0.5103 GB, free: 9.094 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4841, allocations: 4 kB / 0.5103 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Templates: time 0.06988/0.554, allocations: 57.41 MB / 0.5664 GB, free: 15.6 MB / 446.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile make -j1 -f PowerGrids_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_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.o OMCppPowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlowCalcHelperMain.o] Error 1