Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 99.05 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.001015/0.001015, allocations: 183.2 kB / 16.59 MB, free: 6.879 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.968/1.968, allocations: 205.4 MB / 222.7 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06579/0.06579, allocations: 14.18 MB / 285.2 MB, free: 7.352 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.0004967/0.0004968, allocations: 16 kB / 346.8 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 51.12 MB / 397.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.007224/0.1129, allocations: 6.561 MB / 404.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.1183, allocations: 3.248 MB / 407.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.119, allocations: 19.88 kB / 407.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.1199, allocations: 314.4 kB / 408.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.1231, allocations: 1.262 MB / 409.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.124, allocations: 470.6 kB / 409.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.1264, allocations: 1.766 MB / 411.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1267, allocations: 114.4 kB / 411.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.1273, allocations: 477.6 kB / 412.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.1279, allocations: 0.4939 MB / 412.6 MB, free: 2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.128, allocations: 28 kB / 412.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/0.1289, allocations: 351.7 kB / 413 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.129, allocations: 115.3 kB / 413.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1292, allocations: 209.2 kB / 413.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.1304, allocations: 1.005 MB / 414.3 MB, free: 304 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1304, allocations: 0 / 414.3 MB, free: 304 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1304, allocations: 0 / 414.3 MB, free: 304 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1304, allocations: 0 / 414.3 MB, free: 304 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004255/0.1347, allocations: 1.524 MB / 415.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1347, allocations: 12.03 kB / 415.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.1353, allocations: 150.7 kB / 416 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1364, allocations: 0.6287 MB / 416.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.1365, allocations: 58 kB / 416.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.1366, allocations: 72 kB / 416.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1378, allocations: 0.7615 MB / 417.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1378, allocations: 0 / 417.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1378, allocations: 32 kB / 417.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1379, allocations: 16 kB / 417.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1389, allocations: 0.7026 MB / 418.3 MB, free: 12.22 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.004759/0.1437, allocations: 4.681 MB / 422.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.1453, allocations: 0.9518 MB / 423.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.1458, allocations: 307.8 kB / 424.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.1459, allocations: 12.64 kB / 424.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1459, allocations: 47.16 kB / 424.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 3.227e-06/0.1459, allocations: 0 / 424.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002705/0.1486, allocations: 1.222 MB / 425.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1487, allocations: 60.06 kB / 425.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.1492, allocations: 0.4951 MB / 426 MB, free: 3.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1493, allocations: 37.7 kB / 426.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.1496, allocations: 367.8 kB / 426.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.1498, allocations: 268.1 kB / 426.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1498, allocations: 16 kB / 426.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.15, allocations: 382.7 kB / 427.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1503, allocations: 217.8 kB / 427.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1508, allocations: 332.3 kB / 427.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.1512, allocations: 270.9 kB / 427.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1512, allocations: 0 / 427.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001374/0.1526, allocations: 0.8527 MB / 428.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1526, allocations: 8 kB / 428.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1526, allocations: 4 kB / 428.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.1532, allocations: 176.7 kB / 428.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.1539, allocations: 199.9 kB / 429.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2186/0.3725, allocations: 2.316 MB / 431.4 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.3732, allocations: 56.19 kB / 431.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3733, allocations: 27.52 kB / 431.5 MB, free: 35.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003564/0.3737, allocations: 219.3 kB / 431.7 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3738, allocations: 77.86 kB / 431.8 MB, free: 35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.3753, allocations: 0.7997 MB / 432.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3753, allocations: 7.906 kB / 432.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3753, allocations: 5.469 kB / 432.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3754, allocations: 4.406 kB / 432.6 MB, free: 34.93 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.002446/0.3778, allocations: 1.725 MB / 434.3 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3778, allocations: 0 / 434.3 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.3785, allocations: 165 kB / 434.5 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.3789, allocations: 168.3 kB / 434.7 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.379, allocations: 18.34 kB / 434.7 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.3815, allocations: 2.311 MB / 437 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3815, allocations: 0.7969 kB / 437 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3829, allocations: 0.8609 MB / 437.9 MB, free: 31.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.3832, allocations: 204 kB / 438.1 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.3832, allocations: 15.14 kB / 438.1 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.3836, allocations: 26.5 kB / 438.1 MB, free: 31.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.3837, allocations: 56.61 kB / 438.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3837, allocations: 16.19 kB / 438.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004404/0.3842, allocations: 341.3 kB / 438.5 MB, free: 31.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3842, allocations: 0 / 438.5 MB, free: 31.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009537/0.3852, allocations: 279.3 kB / 438.8 MB, free: 31.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (63): * Single equations (assignments): 62 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.3854, allocations: 180.6 kB / 439 MB, free: 31.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.3869, allocations: 0.8038 MB / 439.8 MB, free: 30.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3869, allocations: 0 / 439.8 MB, free: 30.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.3877, allocations: 0.5217 MB / 440.3 MB, free: 30.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.3883, allocations: 82.52 kB / 440.4 MB, free: 30.66 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.0022/0.3905, allocations: 1.6 MB / 442 MB, free: 29.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.391, allocations: 0.9372 MB / 442.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3912, allocations: 53.58 kB / 442.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3912, allocations: 0.5312 kB / 442.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01852/0.4097, allocations: 12.84 MB / 455.8 MB, free: 23.28 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLineCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineCalcHelperMain.o] Error 1