Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends") translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 98.91 kB / 16.96 MB, free: 5.832 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.001514/0.001514, allocations: 190.2 kB / 17.9 MB, free: 5.148 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.361/1.361, allocations: 205.1 MB / 223.8 MB, free: 12.33 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0627/0.0627, allocations: 14.17 MB / 285.3 MB, free: 13.94 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.001492/0.001493, allocations: 67.81 kB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2504, allocations: 50.13 MB / 399.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.009027/0.2594, allocations: 12.24 MB / 411.7 MB, free: 39.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007814/0.2673, allocations: 5.435 MB / 417.1 MB, free: 33.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.2687, allocations: 31.88 kB / 417.2 MB, free: 33.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.27, allocations: 0.6212 MB / 417.8 MB, free: 33.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.2747, allocations: 2.298 MB / 420.1 MB, free: 30.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2761, allocations: 0.8787 MB / 421 MB, free: 29.97 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2646:11-2646:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.003003/0.2791, allocations: 3.714 MB / 424.7 MB, free: 26.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.2795, allocations: 257.5 kB / 424.9 MB, free: 25.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2806, allocations: 1.265 MB / 426.2 MB, free: 24.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2818, allocations: 1.358 MB / 427.5 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.282, allocations: 156 kB / 427.7 MB, free: 23.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.283, allocations: 0.5661 MB / 428.3 MB, free: 22.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.2832, allocations: 386.3 kB / 428.6 MB, free: 22.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.2839, allocations: 1.1 MB / 429.7 MB, free: 21.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.2858, allocations: 2.699 MB / 432.4 MB, free: 18.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2858, allocations: 8 kB / 432.5 MB, free: 18.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2858, allocations: 0 / 432.5 MB, free: 18.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.2859, allocations: 0 / 432.5 MB, free: 18.43 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008654/0.2945, allocations: 3.06 MB / 435.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2946, allocations: 11.97 kB / 435.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.2956, allocations: 278.5 kB / 435.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.2974, allocations: 1.19 MB / 437 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.2975, allocations: 106.9 kB / 437.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.2976, allocations: 140.1 kB / 437.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2993, allocations: 1.28 MB / 438.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.2994, allocations: 0 / 438.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.2995, allocations: 52 kB / 438.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.2995, allocations: 32 kB / 438.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3013, allocations: 1.302 MB / 439.9 MB, free: 10.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 preOpt removeSimpleEquations (simulation): time 0.01/0.3113, allocations: 8.966 MB / 448.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.3136, allocations: 2.109 MB / 451 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.3144, allocations: 0.5368 MB / 451.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.3145, allocations: 21.45 kB / 451.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3146, allocations: 47.81 kB / 451.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=144): time 4.178e-06/0.3146, allocations: 3.938 kB / 451.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=145): time 0.01081/0.3254, allocations: 4.135 MB / 455.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3255, allocations: 72.72 kB / 455.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.3275, allocations: 1.152 MB / 456.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.3276, allocations: 57.7 kB / 457 MB, free: 8.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.3282, allocations: 0.6634 MB / 457.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.3287, allocations: 0.5044 MB / 458.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.3292, allocations: 371.5 kB / 458.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3294, allocations: 301.1 kB / 458.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009975/0.3304, allocations: 0.5664 MB / 459.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.3317, allocations: 1.014 MB / 460.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.3339, allocations: 1.625 MB / 462 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3339, allocations: 8 kB / 462 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005144/0.3391, allocations: 2.368 MB / 464.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3391, allocations: 8 kB / 464.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.3392, allocations: 16 kB / 464.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006315/0.3455, allocations: 1.151 MB / 465.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.3475, allocations: 475.3 kB / 466 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.3631, allocations: 13.52 MB / 479.5 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.3653, allocations: 95.58 kB / 479.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.3656, allocations: 87.86 kB / 479.7 MB, free: 116 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (237): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(23,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00089/0.3665, allocations: 361.3 kB / 480.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.367, allocations: 154.1 kB / 480.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.3705, allocations: 1.556 MB / 481.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3706, allocations: 7.969 kB / 481.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3706, allocations: 4 kB / 481.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009236/0.3715, allocations: 355 kB / 482.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.3718, allocations: 23.94 kB / 482.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.3729, allocations: 35.94 kB / 482.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.3732, allocations: 113.1 kB / 482.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004071/0.3772, allocations: 1.536 MB / 483.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01471/0.392, allocations: 7.428 MB / 491.3 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007541/0.3928, allocations: 446.3 kB / 491.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.3939, allocations: 0.7429 MB / 492.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of Backend: time 3.8e-07/0.3939, allocations: 0 / 492.5 MB, free: 3.18 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.005994/0.3999, allocations: 2.74 MB / 495.2 MB, free: 336 kB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.00827/0.4082, allocations: 6.087 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Templates: time 0.2063/0.6145, allocations: 47.65 MB / 0.5361 GB, free: 100.1 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsCalcHelperMain.cpp In file included from OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsCalcHelperMain.cpp:31: ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:509:53: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(0) = ((_Ajac_x(0) * _GEN_P_omegaBase_) - (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:546:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(37) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(4)) + (_GEN_P_rfPu_ * (_Ajac_x(39) * _GEN_P_omegaBase_))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:547:50: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(38) = ((_GEN_P_rDPu_ * _Ajac_x(38)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(3),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:548:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(39) = ((_GEN_P_rQ2Pu_ * _Ajac_x(28)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(2),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:549:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(40) = ((_GEN_P_rQ1Pu_ * _Ajac_x(27)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(1),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsJacobian.cpp:551:57: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(41) = (_Ajac_tmp(11) + ((-2.0 * (_GEN_P_H_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0)))) + ((-_Ajac_tmp(29)) - (_GEN_P_DPu_ * _Ajac_x(0))))); ^ 6 errors generated. make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtendsCalcHelperMain.o] Error 1