Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 103.5 kB / 16.97 MB, free: 6.168 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.0009996/0.0009996, allocations: 186.3 kB / 17.89 MB, free: 5.266 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.317/1.317, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0625/0.0625, allocations: 14.17 MB / 285.3 MB, free: 13.92 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.001362/0.001362, allocations: 64.06 kB / 346.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2072, allocations: 50.14 MB / 396.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.007621/0.2149, allocations: 9.816 MB / 406.5 MB, free: 39.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006311/0.2212, allocations: 4.515 MB / 411 MB, free: 36.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2224, allocations: 83.81 kB / 411.1 MB, free: 36.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2237, allocations: 0.4979 MB / 411.6 MB, free: 35.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.2275, allocations: 1.834 MB / 413.4 MB, free: 34.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2288, allocations: 0.8299 MB / 414.2 MB, free: 33.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.2316, allocations: 2.948 MB / 417.2 MB, free: 31.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.2319, allocations: 180.3 kB / 417.3 MB, free: 30.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.2331, allocations: 1.168 MB / 418.5 MB, free: 29.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007843/0.2339, allocations: 0.9007 MB / 419.4 MB, free: 28.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.234, allocations: 96 kB / 419.5 MB, free: 28.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.2348, allocations: 407.7 kB / 419.9 MB, free: 28.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.235, allocations: 238.8 kB / 420.1 MB, free: 28.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.2354, allocations: 0.7384 MB / 420.9 MB, free: 27.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.2368, allocations: 1.814 MB / 422.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2368, allocations: 0 / 422.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2368, allocations: 0 / 422.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2368, allocations: 0 / 422.7 MB, free: 25.55 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004734/0.2416, allocations: 2.193 MB / 424.9 MB, free: 23.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2416, allocations: 8.031 kB / 424.9 MB, free: 23.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2428, allocations: 251 kB / 425.1 MB, free: 23.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.741e-06/0.2428, allocations: 192 / 425.1 MB, free: 23.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.2428, allocations: 82.38 kB / 425.2 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.243, allocations: 116.4 kB / 425.3 MB, free: 22.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2442, allocations: 0.9803 MB / 426.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.2442, allocations: 4.188 kB / 426.3 MB, free: 21.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.2443, allocations: 43.94 kB / 426.4 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2443, allocations: 24 kB / 426.4 MB, free: 21.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.2457, allocations: 0.9877 MB / 427.4 MB, free: 20.8 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.006296/0.252, allocations: 6.644 MB / 434 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2533, allocations: 1.454 MB / 435.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.2538, allocations: 367.9 kB / 435.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.811e-05/0.2539, allocations: 13 kB / 435.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2539, allocations: 43.56 kB / 435.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=106): time 3.897e-06/0.2539, allocations: 3.984 kB / 435.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.005477/0.2594, allocations: 2.781 MB / 438.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.2594, allocations: 71.19 kB / 438.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.26, allocations: 0.7741 MB / 439.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.2601, allocations: 53.7 kB / 439.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.2603, allocations: 0.5156 MB / 440.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.2605, allocations: 386.4 kB / 440.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.2608, allocations: 283.4 kB / 440.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.2608, allocations: 353.9 kB / 441.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.2615, allocations: 452.7 kB / 441.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.2622, allocations: 0.7667 MB / 442.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2634, allocations: 1.175 MB / 443.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2634, allocations: 4 kB / 443.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01151/0.2749, allocations: 2.531 MB / 446 MB, free: 0.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.275, allocations: 11.94 kB / 446 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.275, allocations: 8.875 kB / 446 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/0.2825, allocations: 0.9873 MB / 447 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.2838, allocations: 339.6 kB / 447.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.3017, allocations: 11.31 MB / 458.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.3027, allocations: 40 kB / 458.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.3028, allocations: 63.98 kB / 458.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001016/0.3038, allocations: 0.6015 MB / 459.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008555/0.3047, allocations: 0.7276 MB / 460.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.3062, allocations: 1.135 MB / 461.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.3062, allocations: 4 kB / 461.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization_lambda0): time 0.003679/0.3099, allocations: 1.913 MB / 463.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3099, allocations: 8 kB / 463.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3099, allocations: 8 kB / 463.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.3121, allocations: 0.5133 MB / 463.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3133, allocations: 359.5 kB / 464 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.3239, allocations: 11.84 MB / 475.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.3248, allocations: 48 kB / 475.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.3249, allocations: 59.98 kB / 476 MB, free: 0.8359 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (161): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (4,6), (4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.3252, allocations: 267.8 kB / 476.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3254, allocations: 126.4 kB / 476.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.3275, allocations: 1.061 MB / 477.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3275, allocations: 7.969 kB / 477.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3275, allocations: 3.938 kB / 477.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.3279, allocations: 243.6 kB / 477.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.328, allocations: 24 kB / 477.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.3284, allocations: 16 kB / 477.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.3286, allocations: 76.88 kB / 477.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002454/0.331, allocations: 1.092 MB / 478.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007306/0.3384, allocations: 5.21 MB / 484.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004461/0.3388, allocations: 299.8 kB / 484.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.3394, allocations: 0.4969 MB / 484.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of Backend: time 6.21e-07/0.3394, allocations: 0 / 484.9 MB, free: 7.738 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.006559/0.3459, allocations: 3.549 MB / 488.4 MB, free: 4.027 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: time 0.005278/0.3512, allocations: 4.889 MB / 493.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Templates: time 0.03531/0.3866, allocations: 29.9 MB / 0.5109 GB, free: 1.148 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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.Electrical.Test.SynchronousMachine4WindingsPowerSwingCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingCalcHelperMain.cpp In file included from OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingCalcHelperMain.cpp:31: ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:580:80: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(25) = ((_machine_P_rQ1Pu_ * _Ajac_x(13)) + (0.0031830988618379067 * (_omcQ_24DAE_5FCJ_ * _Ajac_x(1)))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:581:80: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(24) = ((_machine_P_rQ2Pu_ * _Ajac_x(14)) + (0.0031830988618379067 * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2)))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:582:79: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(23) = ((_machine_P_rDPu_ * _Ajac_x(24)) + (0.0031830988618379067 * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3)))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:583:44: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(22) = ((0.0031830988618379067 * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + (_machine_P_rfPu_ * _Ajac_x(25))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:601:53: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(0) = ((314.1592653589793 * _Ajac_x(0)) - (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingJacobian.cpp:603:45: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(26) = (_Ajac_tmp(15) + ((-12.0 * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0))) - _Ajac_tmp(39))); ^ 6 errors generated. make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwingCalcHelperMain.o] Error 1