Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0007833/0.0007834, allocations: 95.3 kB / 16.34 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008407/0.0008408, allocations: 190.9 kB / 17.24 MB, free: 5.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.86/1.86, allocations: 205.4 MB / 223.4 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06225/0.06225, allocations: 14.18 MB / 285.8 MB, free: 7.199 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.0005662/0.0005663, allocations: 16 kB / 347.4 MB, free: 19.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1735, allocations: 51.12 MB / 398.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008372/0.182, allocations: 6.558 MB / 405.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007375/0.1894, allocations: 3.248 MB / 408.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.1901, allocations: 19.94 kB / 408.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.191, allocations: 310.4 kB / 408.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.1945, allocations: 1.259 MB / 410 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1956, allocations: 489.3 kB / 410.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00253/0.1981, allocations: 1.754 MB / 412.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.1985, allocations: 122.4 kB / 412.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.1991, allocations: 477.6 kB / 412.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.1998, allocations: 0.4978 MB / 413.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.1999, allocations: 24 kB / 413.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00089/0.2008, allocations: 351.7 kB / 413.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2009, allocations: 111.3 kB / 413.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.2012, allocations: 213.2 kB / 414 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2025, allocations: 1.009 MB / 415 MB, free: 256 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.2025, allocations: 0 / 415 MB, free: 256 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2025, allocations: 0 / 415 MB, free: 256 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2025, allocations: 0 / 415 MB, free: 256 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.004676/0.2072, allocations: 1.52 MB / 416.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.2073, allocations: 8.031 kB / 416.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.2079, allocations: 146.7 kB / 416.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.2092, allocations: 0.6248 MB / 417.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.2093, allocations: 61.94 kB / 417.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2094, allocations: 75.94 kB / 417.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2108, allocations: 0.7576 MB / 418.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.2108, allocations: 0 / 418.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.2109, allocations: 32 kB / 418.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.211, allocations: 20 kB / 418.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2123, allocations: 0.6987 MB / 418.9 MB, free: 12.18 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.006352/0.2187, allocations: 4.689 MB / 423.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.2205, allocations: 0.944 MB / 424.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.2211, allocations: 303.8 kB / 424.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.2211, allocations: 16.64 kB / 424.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.2212, allocations: 43.16 kB / 424.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.295e-06/0.2212, allocations: 4 kB / 424.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003116/0.2243, allocations: 1.222 MB / 426.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2244, allocations: 60.06 kB / 426.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.2252, allocations: 0.495 MB / 426.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.2252, allocations: 37.7 kB / 426.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.2256, allocations: 363.8 kB / 427.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.2259, allocations: 276 kB / 427.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2259, allocations: 16 kB / 427.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2261, allocations: 378.7 kB / 427.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2265, allocations: 213.9 kB / 427.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.227, allocations: 328.3 kB / 428.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2274, allocations: 274.9 kB / 428.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2274, allocations: 0 / 428.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001462/0.2289, allocations: 0.8528 MB / 429.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2289, allocations: 4 kB / 429.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2289, allocations: 4 kB / 429.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.2296, allocations: 180.2 kB / 429.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.2303, allocations: 203.8 kB / 429.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2918/0.5221, allocations: 2.329 MB / 432.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.523, allocations: 52.45 kB / 432.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.5231, allocations: 26.67 kB / 432.2 MB, free: 35.18 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.0004055/0.5235, allocations: 218.7 kB / 432.4 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5236, allocations: 75.41 kB / 432.4 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.5253, allocations: 0.8097 MB / 433.3 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5253, allocations: 8.281 kB / 433.3 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5253, allocations: 3.156 kB / 433.3 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5253, allocations: 3.562 kB / 433.3 MB, free: 34.99 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.002628/0.528, allocations: 1.722 MB / 435 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.528, allocations: 0 / 435 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.5287, allocations: 164.6 kB / 435.1 MB, free: 34.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005253/0.5292, allocations: 170.3 kB / 435.3 MB, free: 34.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.5293, allocations: 16.8 kB / 435.3 MB, free: 34.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.532, allocations: 2.317 MB / 437.6 MB, free: 32.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.532, allocations: 1.25 kB / 437.7 MB, free: 32.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5342, allocations: 1.796 MB / 439.4 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.5345, allocations: 204.8 kB / 439.6 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.5346, allocations: 11.72 kB / 439.7 MB, free: 30.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.535, allocations: 36.23 kB / 439.7 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.5351, allocations: 45.31 kB / 439.7 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.5351, allocations: 18.39 kB / 439.8 MB, free: 30.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004886/0.5356, allocations: 345.2 kB / 440.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5356, allocations: 0 / 440.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001519/0.5371, allocations: 286.5 kB / 440.4 MB, free: 30.77 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.0003638/0.5375, allocations: 170.7 kB / 440.5 MB, free: 30.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5391, allocations: 0.8029 MB / 441.3 MB, free: 30.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5392, allocations: 0 / 441.3 MB, free: 30.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.5401, allocations: 0.5193 MB / 441.9 MB, free: 30.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.5407, allocations: 88.52 kB / 441.9 MB, free: 29.97 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.003274/0.544, allocations: 2.01 MB / 444 MB, free: 28.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.5448, allocations: 0.9625 MB / 444.9 MB, free: 27.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.545, allocations: 53.88 kB / 445 MB, free: 27.96 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.545, allocations: 0 / 445 MB, free: 27.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01817/0.5632, allocations: 12.86 MB / 457.8 MB, free: 22.19 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineCalcHelperMain.o] Error 1