Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.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.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 102.7 kB / 16.97 MB, free: 6.188 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.001008/0.001008, allocations: 188.8 kB / 17.9 MB, free: 5.289 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.373/1.373, allocations: 205.1 MB / 223.8 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06304/0.06304, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.002311/0.002311, allocations: 63.91 kB / 349.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2441, allocations: 50.13 MB / 399.5 MB, free: 48.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals): time 0.008567/0.2527, allocations: 12.54 MB / 412 MB, free: 38.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.26, allocations: 5.495 MB / 417.5 MB, free: 33.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.2614, allocations: 31.88 kB / 417.5 MB, free: 33.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.2627, allocations: 0.6368 MB / 418.2 MB, free: 32.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.2671, allocations: 2.307 MB / 420.5 MB, free: 30.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2684, allocations: 0.8977 MB / 421.4 MB, free: 29.41 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.003026/0.2715, allocations: 3.782 MB / 425.2 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.2718, allocations: 266.8 kB / 425.4 MB, free: 25.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.273, allocations: 1.285 MB / 426.7 MB, free: 24.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.2742, allocations: 1.397 MB / 428.1 MB, free: 22.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.2744, allocations: 164 kB / 428.3 MB, free: 22.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.2754, allocations: 0.5817 MB / 428.8 MB, free: 21.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.2756, allocations: 390.3 kB / 429.2 MB, free: 21.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.2762, allocations: 1.143 MB / 430.4 MB, free: 20.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.278, allocations: 2.761 MB / 433.1 MB, free: 17.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.278, allocations: 4 kB / 433.1 MB, free: 17.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.278, allocations: 0 / 433.1 MB, free: 17.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.278, allocations: 0 / 433.1 MB, free: 17.6 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.008307/0.2864, allocations: 3.185 MB / 436.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2864, allocations: 8.031 kB / 436.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.2875, allocations: 306.4 kB / 436.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.2892, allocations: 1.21 MB / 437.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.2893, allocations: 118.7 kB / 437.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2895, allocations: 152 kB / 438.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.2911, allocations: 1.324 MB / 439.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.2912, allocations: 0 / 439.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2913, allocations: 60 kB / 439.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.2913, allocations: 32 kB / 439.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2931, allocations: 1.353 MB / 440.9 MB, free: 9.684 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.01013/0.3033, allocations: 9.122 MB / 450 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.306, allocations: 2.206 MB / 452.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/0.3068, allocations: 0.5904 MB / 452.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.3069, allocations: 21.31 kB / 452.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.308, allocations: 0.7572 MB / 453.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=162): time 8.255e-06/0.3081, allocations: 0 / 453.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.01201/0.3201, allocations: 4.899 MB / 458.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3202, allocations: 230.9 kB / 458.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.3217, allocations: 1.131 MB / 459.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3218, allocations: 57.7 kB / 459.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.3223, allocations: 0.6255 MB / 460.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.3227, allocations: 0.5661 MB / 461.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.3232, allocations: 351.6 kB / 461.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3233, allocations: 317.1 kB / 461.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.3244, allocations: 0.5976 MB / 462.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3256, allocations: 0.9491 MB / 463.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.3278, allocations: 1.667 MB / 464.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.3279, allocations: 0 / 464.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004801/0.3327, allocations: 2.422 MB / 467.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.3327, allocations: 67.39 kB / 467.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3327, allocations: 11.94 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006116/0.3389, allocations: 1.157 MB / 468.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3407, allocations: 467.3 kB / 469 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.3538, allocations: 13.52 MB / 482.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.3556, allocations: 83.83 kB / 482.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.3558, allocations: 72 kB / 482.7 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 2 * 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.0006551/0.3564, allocations: 420.7 kB / 483.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.3568, allocations: 174 kB / 483.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.3602, allocations: 1.822 MB / 485.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.3602, allocations: 7.969 kB / 485.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3602, allocations: 0 / 485.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/0.3609, allocations: 366.9 kB / 485.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.3611, allocations: 32 kB / 485.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.3621, allocations: 43.92 kB / 485.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3623, allocations: 129.1 kB / 485.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004313/0.3667, allocations: 1.89 MB / 487.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01475/0.3814, allocations: 8.474 MB / 496 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008214/0.3823, allocations: 0.5061 MB / 496.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.3833, allocations: 0.738 MB / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Backend: time 1.763e-06/0.3833, allocations: 0 / 497.3 MB, free: 14.05 MB / 382.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.005518/0.3888, allocations: 2.861 MB / 0.4884 GB, free: 11.06 MB / 382.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.008491/0.3974, allocations: 6.587 MB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of Templates: time 0.2041/0.6014, allocations: 49.18 MB / 0.5429 GB, free: 121.7 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.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.LoadChangeByInputSignalsCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsCalcHelperMain.cpp In file included from OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsCalcHelperMain.cpp:31: ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsJacobian.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.LoadChangeByInputSignalsJacobian.cpp:580:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(39) = ((_GEN_P_rQ2Pu_ * _Ajac_x(41)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(4),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsJacobian.cpp:581:51: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(40) = ((_GEN_P_rQ1Pu_ * _Ajac_x(40)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(3),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsJacobian.cpp:582:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(41) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(2)) + (_GEN_P_rfPu_ * (_Ajac_x(34) * _GEN_P_omegaBase_))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsJacobian.cpp:583:50: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(42) = ((_GEN_P_rDPu_ * _Ajac_x(33)) + (_omcQ_24DAE_5FCJ_ * division(_Ajac_x(1),_GEN_P_omegaBase_,!_initial,"GEN.omegaBase"))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsJacobian.cpp:585:57: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(43) = (_Ajac_tmp(11) + ((-2.0 * (_GEN_P_H_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0)))) + ((-_Ajac_tmp(50)) - (_GEN_P_DPu_ * _Ajac_x(0))))); ^ 6 errors generated. make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignalsCalcHelperMain.o] Error 1