Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 101.9 kB / 15.71 MB, free: 460 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.0008991/0.0008993, allocations: 181.7 kB / 16.59 MB, free: 6.137 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.596/1.596, allocations: 205.4 MB / 222.8 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05803/0.05803, allocations: 14.17 MB / 285.2 MB, free: 7.129 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.0004789/0.0004789, allocations: 16 kB / 346.8 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 51.11 MB / 397.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.009098/0.1212, allocations: 9.146 MB / 407.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.1284, allocations: 4.121 MB / 411.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009637/0.1294, allocations: 27.88 kB / 411.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1304, allocations: 397.8 kB / 411.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.1343, allocations: 1.57 MB / 413.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.1351, allocations: 327.1 kB / 413.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.1384, allocations: 2.758 MB / 416.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.1388, allocations: 167.4 kB / 416.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.1399, allocations: 0.7348 MB / 417.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.1407, allocations: 0.7467 MB / 417.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.984e-05/0.1408, allocations: 36 kB / 417.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.1416, allocations: 331.7 kB / 418.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1418, allocations: 167 kB / 418.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.1421, allocations: 301 kB / 418.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1434, allocations: 1.407 MB / 420.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1435, allocations: 0 / 420.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1435, allocations: 0 / 420.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1435, allocations: 0 / 420.1 MB, free: 10.44 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.00784/0.1513, allocations: 2.377 MB / 422.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1514, allocations: 12.02 kB / 422.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1524, allocations: 226.1 kB / 422.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1539, allocations: 0.8666 MB / 423.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.154, allocations: 86.02 kB / 423.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1542, allocations: 108 kB / 423.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.1559, allocations: 1.085 MB / 424.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.156, allocations: 4 kB / 424.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.1561, allocations: 44 kB / 424.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.1561, allocations: 31.98 kB / 424.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.1578, allocations: 1.05 MB / 426 MB, free: 4.395 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.2125/0.3703, allocations: 6.306 MB / 432.3 MB, free: 33.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.3732, allocations: 1.479 MB / 433.8 MB, free: 32.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.3739, allocations: 421.5 kB / 434.2 MB, free: 32.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.3741, allocations: 16.25 kB / 434.2 MB, free: 32.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3741, allocations: 56.72 kB / 434.3 MB, free: 32.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.989e-06/0.3741, allocations: 2.422 kB / 434.3 MB, free: 32.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003838/0.378, allocations: 1.71 MB / 436 MB, free: 32.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.378, allocations: 119.3 kB / 436.1 MB, free: 32.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3791, allocations: 0.6931 MB / 436.8 MB, free: 31.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.3792, allocations: 45.27 kB / 436.8 MB, free: 31.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.3796, allocations: 0.4887 MB / 437.3 MB, free: 31.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.3799, allocations: 404.8 kB / 437.7 MB, free: 31.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.38, allocations: 21.62 kB / 437.7 MB, free: 31.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3801, allocations: 351.5 kB / 438.1 MB, free: 30.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.3807, allocations: 326.9 kB / 438.4 MB, free: 30.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.3814, allocations: 496.7 kB / 438.9 MB, free: 30.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.382, allocations: 409.4 kB / 439.3 MB, free: 30.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3821, allocations: 1.281 kB / 439.3 MB, free: 30.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002014/0.3841, allocations: 1.181 MB / 440.5 MB, free: 29.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3841, allocations: 6.625 kB / 440.5 MB, free: 29.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3841, allocations: 3.719 kB / 440.5 MB, free: 29.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.3847, allocations: 169.4 kB / 440.6 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.386, allocations: 323.9 kB / 441 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.3891, allocations: 4.446 MB / 445.4 MB, free: 25.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.39, allocations: 83.84 kB / 445.5 MB, free: 25.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.3901, allocations: 42.23 kB / 445.5 MB, free: 25.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * 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: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004967/0.3906, allocations: 285.1 kB / 445.8 MB, free: 25.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.3908, allocations: 116.2 kB / 445.9 MB, free: 25.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.3929, allocations: 1.158 MB / 447.1 MB, free: 24.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3929, allocations: 16.27 kB / 447.1 MB, free: 24.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3929, allocations: 3.047 kB / 447.1 MB, free: 24.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.3929, allocations: 6.906 kB / 447.1 MB, free: 24.65 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 postOpt removeSimpleEquations (simulation): time 0.003618/0.3965, allocations: 2.725 MB / 449.8 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3966, allocations: 6.047 kB / 449.8 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.3977, allocations: 277.7 kB / 450.1 MB, free: 23.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.3981, allocations: 162.6 kB / 450.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.3982, allocations: 21.11 kB / 450.3 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.4012, allocations: 4.446 MB / 454.7 MB, free: 18.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4012, allocations: 0 / 454.7 MB, free: 18.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4031, allocations: 1.326 MB / 456.1 MB, free: 18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.4035, allocations: 269.4 kB / 456.3 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4036, allocations: 21.5 kB / 456.3 MB, free: 17.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/0.4043, allocations: 61.55 kB / 456.4 MB, free: 17.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.4045, allocations: 84.48 kB / 456.5 MB, free: 17.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.4046, allocations: 31.48 kB / 456.5 MB, free: 17.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.4052, allocations: 484.6 kB / 457 MB, free: 17.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4052, allocations: 0 / 457 MB, free: 17.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001337/0.4065, allocations: 381.4 kB / 457.4 MB, free: 17.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * 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: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000313/0.4069, allocations: 191.2 kB / 457.5 MB, free: 17.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.4087, allocations: 1.304 MB / 458.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4087, allocations: 0 / 458.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.4096, allocations: 0.869 MB / 459.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.4105, allocations: 145.1 kB / 459.9 MB, free: 16.03 MB / 318.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.003367/0.4139, allocations: 2.376 MB / 462.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.4143, allocations: 1.076 MB / 463.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.4146, allocations: 101.5 kB / 463.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4147, allocations: 0 / 463.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Templates: time 0.03065/0.4453, allocations: 29.27 MB / 492.7 MB, free: 1.145 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.Electrical.Test.LoadImpedancePQCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQCalcHelperMain.o] Error 1