Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008897, allocations: 98.89 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.0009694/0.0009694, allocations: 177.7 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 2.097/2.097, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05969/0.05969, allocations: 14.16 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.0005801/0.0005801, allocations: 23.98 kB / 346.8 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.106, allocations: 51.11 MB / 397.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.00622/0.1123, allocations: 6.557 MB / 404.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.1171, allocations: 3.252 MB / 407.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.1176, allocations: 19.94 kB / 407.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.1183, allocations: 314.3 kB / 408.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.1212, allocations: 1.257 MB / 409.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.122, allocations: 474.4 kB / 409.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.1242, allocations: 1.766 MB / 411.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1244, allocations: 118.4 kB / 411.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.125, allocations: 477.6 kB / 412.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.1256, allocations: 0.4901 MB / 412.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.1257, allocations: 24 kB / 412.6 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.1265, allocations: 363.6 kB / 413 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1266, allocations: 107.3 kB / 413.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1268, allocations: 209.3 kB / 413.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1278, allocations: 1.009 MB / 414.3 MB, free: 272 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1278, allocations: 0 / 414.3 MB, free: 272 kB / 302.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1278, allocations: 4 kB / 414.3 MB, free: 268 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1279, allocations: 0 / 414.3 MB, free: 268 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.004029/0.1319, allocations: 1.516 MB / 415.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1319, allocations: 8.031 kB / 415.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/0.1325, allocations: 150.7 kB / 416 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.1334, allocations: 0.6365 MB / 416.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.1335, allocations: 54 kB / 416.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.1336, allocations: 72 kB / 416.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1347, allocations: 0.7576 MB / 417.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1347, allocations: 7.875 kB / 417.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.1348, allocations: 32 kB / 417.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1348, allocations: 16 kB / 417.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1359, allocations: 0.7026 MB / 418.3 MB, free: 12.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.004748/0.1406, allocations: 4.682 MB / 422.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.1423, allocations: 0.9554 MB / 423.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.1428, allocations: 307.8 kB / 424.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/0.1428, allocations: 8.656 kB / 424.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1429, allocations: 47.22 kB / 424.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.1429, allocations: 0 / 424.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002659/0.1455, allocations: 1.225 MB / 425.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1456, allocations: 64.06 kB / 425.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.1461, allocations: 0.4911 MB / 426 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.1462, allocations: 37.7 kB / 426.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1465, allocations: 363.8 kB / 426.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.1467, allocations: 268.1 kB / 426.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1467, allocations: 12 kB / 426.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1469, allocations: 382.7 kB / 427.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1472, allocations: 213.9 kB / 427.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.1477, allocations: 340.2 kB / 427.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.1481, allocations: 267 kB / 427.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1481, allocations: 4 kB / 427.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001364/0.1495, allocations: 0.8525 MB / 428.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1495, allocations: 7.984 kB / 428.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1495, allocations: 4 kB / 428.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.15, allocations: 173 kB / 428.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.1507, allocations: 199.7 kB / 429.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/0.3699, allocations: 2.316 MB / 431.4 MB, free: 25.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.3707, allocations: 50.58 kB / 431.5 MB, free: 25.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3707, allocations: 26.45 kB / 431.5 MB, free: 25.02 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.0003605/0.3711, allocations: 222.5 kB / 431.7 MB, free: 24.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3712, allocations: 78.45 kB / 431.8 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.3727, allocations: 0.804 MB / 432.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3727, allocations: 12.31 kB / 432.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3728, allocations: 2.844 kB / 432.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3728, allocations: 4.109 kB / 432.6 MB, free: 24.82 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.002508/0.3753, allocations: 1.719 MB / 434.3 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3753, allocations: 1.969 kB / 434.3 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.3759, allocations: 165.9 kB / 434.5 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/0.3765, allocations: 175 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.3765, allocations: 10.53 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.379, allocations: 2.318 MB / 437 MB, free: 23.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.379, allocations: 2.438 kB / 437 MB, free: 23.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3803, allocations: 0.8576 MB / 437.9 MB, free: 22.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.3806, allocations: 209.2 kB / 438.1 MB, free: 22.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.3807, allocations: 14.19 kB / 438.1 MB, free: 22.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.3811, allocations: 28.62 kB / 438.1 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3812, allocations: 49.33 kB / 438.2 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3812, allocations: 22.72 kB / 438.2 MB, free: 22.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004421/0.3817, allocations: 338.6 kB / 438.5 MB, free: 22.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3817, allocations: 0 / 438.5 MB, free: 22.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009665/0.3827, allocations: 281.3 kB / 438.8 MB, free: 22.64 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.0002869/0.383, allocations: 178.1 kB / 439 MB, free: 22.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3844, allocations: 0.8039 MB / 439.8 MB, free: 22.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3844, allocations: 2.719 kB / 439.8 MB, free: 22.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.3853, allocations: 0.5204 MB / 440.3 MB, free: 22.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.3859, allocations: 89.05 kB / 440.4 MB, free: 22.27 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.002307/0.3882, allocations: 1.578 MB / 441.9 MB, free: 21.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3887, allocations: 0.9439 MB / 442.9 MB, free: 20.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3889, allocations: 57.45 kB / 442.9 MB, free: 20.75 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3889, allocations: 0.6562 kB / 442.9 MB, free: 20.75 MB / 318.1 MB Notification: Performance of Templates: time 0.01836/0.4073, allocations: 12.85 MB / 455.8 MB, free: 16.19 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLineCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLineCalcHelperMain.o] Error 1