Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 102.7 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.0007958/0.0007958, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.604/1.604, allocations: 205.4 MB / 222.8 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05857/0.05857, allocations: 14.17 MB / 285.2 MB, free: 6.992 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.0004934/0.0004934, allocations: 16 kB / 346.8 MB, free: 19.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 51.13 MB / 397.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01109/0.1153, allocations: 12.61 MB / 410.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009888/0.1252, allocations: 5.522 MB / 416.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.1267, allocations: 35.88 kB / 416.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.1281, allocations: 0.5478 MB / 416.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.1335, allocations: 2.029 MB / 418.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1346, allocations: 0.5528 MB / 419.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004935/0.1395, allocations: 4.003 MB / 423.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005972/0.1402, allocations: 278.2 kB / 423.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.142, allocations: 0.9988 MB / 424.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1432, allocations: 1.077 MB / 425.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1434, allocations: 56 kB / 425.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1446, allocations: 443.7 kB / 426.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1448, allocations: 238.5 kB / 426.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.1454, allocations: 448.7 kB / 426.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1477, allocations: 2.295 MB / 429 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1477, allocations: 0 / 429 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1477, allocations: 0 / 429 MB, free: 1.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.1478, allocations: 8 kB / 429 MB, free: 1.488 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.2049/0.3527, allocations: 2.839 MB / 431.9 MB, free: 35.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3528, allocations: 9.625 kB / 431.9 MB, free: 35.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.3549, allocations: 339.1 kB / 432.2 MB, free: 35.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.3575, allocations: 1.287 MB / 433.5 MB, free: 34.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3576, allocations: 117.8 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.3579, allocations: 152.7 kB / 433.8 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.3608, allocations: 1.787 MB / 435.6 MB, free: 33.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.3609, allocations: 10.84 kB / 435.6 MB, free: 33.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.361, allocations: 66.22 kB / 435.6 MB, free: 33.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.3611, allocations: 40.72 kB / 435.7 MB, free: 33.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.3637, allocations: 1.489 MB / 437.2 MB, free: 33.29 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.01032/0.374, allocations: 12.06 MB / 449.2 MB, free: 22.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.3767, allocations: 1.858 MB / 451.1 MB, free: 21.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.3778, allocations: 0.6233 MB / 451.7 MB, free: 21.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.3779, allocations: 21.48 kB / 451.7 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.379, allocations: 0.7323 MB / 452.5 MB, free: 20.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 4.177e-06/0.379, allocations: 0 / 452.5 MB, free: 20.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.005809/0.3848, allocations: 2.627 MB / 455.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.3849, allocations: 232.8 kB / 455.3 MB, free: 19.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3863, allocations: 1.11 MB / 456.4 MB, free: 18.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.3864, allocations: 52.58 kB / 456.5 MB, free: 18.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.3869, allocations: 0.8039 MB / 457.3 MB, free: 17.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.3873, allocations: 0.5098 MB / 457.8 MB, free: 17.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.3874, allocations: 36.88 kB / 457.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3875, allocations: 376 kB / 458.2 MB, free: 17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.3883, allocations: 486.1 kB / 458.7 MB, free: 16.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.3892, allocations: 0.9581 MB / 459.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.39, allocations: 0.7048 MB / 460.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.39, allocations: 7.406 kB / 460.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.002613/0.3926, allocations: 2.042 MB / 462.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3927, allocations: 63.31 kB / 462.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3927, allocations: 15.75 kB / 462.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.3936, allocations: 406.6 kB / 462.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.3949, allocations: 418.7 kB / 463.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.3989, allocations: 3.668 MB / 466.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4003, allocations: 154.8 kB / 467.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.4004, allocations: 80.12 kB / 467.2 MB, free: 10.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.transmissionLine.busFault.fault,transmissionLine.busFault.fault,$whenCondition1,$whenCondition2,$PRE.transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.4012, allocations: 482.3 kB / 467.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.4013, allocations: 166 kB / 467.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.4037, allocations: 1.689 MB / 469.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4037, allocations: 15.94 kB / 469.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4037, allocations: 8 kB / 469.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4037, allocations: 8.016 kB / 469.5 MB, free: 8.352 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.0041/0.4078, allocations: 3.594 MB / 473.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4079, allocations: 0 / 473.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.4088, allocations: 271.7 kB / 473.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007772/0.4096, allocations: 352.6 kB / 473.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.4097, allocations: 24 kB / 473.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.4134, allocations: 3.64 MB / 477.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4134, allocations: 0 / 477.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.4161, allocations: 1.728 MB / 479.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.4168, allocations: 370.9 kB / 479.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.417, allocations: 31.98 kB / 479.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/0.4178, allocations: 55.69 kB / 479.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.4179, allocations: 93.17 kB / 479.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.418, allocations: 40 kB / 479.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.419, allocations: 0.7317 MB / 480.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.419, allocations: 0 / 480.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001748/0.4208, allocations: 0.58 MB / 481 MB, free: 12.59 MB / 334.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003959/0.4212, allocations: 249.2 kB / 481.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002926/0.4241, allocations: 1.777 MB / 483 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4242, allocations: 4.062 kB / 483 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.4256, allocations: 1.058 MB / 484.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.4265, allocations: 166.4 kB / 484.3 MB, free: 9.273 MB / 334.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.004865/0.4313, allocations: 3.335 MB / 487.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008508/0.4322, allocations: 1.254 MB / 488.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.4326, allocations: 111.4 kB / 488.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4326, allocations: 0 / 488.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Templates: time 0.03691/0.4695, allocations: 28.95 MB / 0.5058 GB, free: 7.566 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFaultCalcHelperMain.o] Error 1