Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.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.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102.8 kB / 16.97 MB, free: 5.926 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.001166/0.001166, allocations: 188.8 kB / 17.9 MB, free: 5.16 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.456/1.456, allocations: 205.1 MB / 223.8 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06268/0.06268, allocations: 14.18 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.001469/0.001469, allocations: 67.83 kB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 50.12 MB / 399.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.07812/0.3596, allocations: 106.8 MB / 0.4944 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3112/0.6709, allocations: 37.68 MB / 0.5312 GB, free: 56 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02471/0.6957, allocations: 320.6 kB / 0.5315 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02069/0.7164, allocations: 5.622 MB / 0.537 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05427/0.7708, allocations: 15.9 MB / 0.5525 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.7824, allocations: 1.997 MB / 0.5545 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0591/0.8415, allocations: 34.77 MB / 0.5884 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009703/0.8513, allocations: 2.42 MB / 0.5908 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02974/0.881, allocations: 11.52 MB / 0.6021 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02498/0.9061, allocations: 12.35 MB / 0.6141 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006836/0.9129, allocations: 1.207 MB / 0.6153 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01719/0.9301, allocations: 2.958 MB / 0.6182 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00675/0.9369, allocations: 3.035 MB / 0.6211 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0253/0.9623, allocations: 10.27 MB / 0.6312 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04336/1.006, allocations: 23.34 MB / 0.654 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.006, allocations: 0 / 0.654 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.006, allocations: 0 / 0.654 GB, free: 7.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008138/1.007, allocations: 4 kB / 0.654 GB, free: 7.938 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.1071/1.114, allocations: 26.06 MB / 0.6794 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.114, allocations: 12.02 kB / 0.6794 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/1.13, allocations: 2.732 MB / 0.6821 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03148/1.162, allocations: 9.847 MB / 0.6917 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001448/1.163, allocations: 1.062 MB / 0.6928 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004185/1.167, allocations: 1.299 MB / 0.694 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/1.208, allocations: 13.49 MB / 0.7072 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000801/1.209, allocations: 23.75 kB / 0.7072 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003536/1.212, allocations: 0.5508 MB / 0.7078 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003146/1.213, allocations: 336 kB / 0.7081 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2622/1.475, allocations: 13.71 MB / 0.7215 GB, free: 213.3 MB / 0.5294 GB 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.1486/1.623, allocations: 92.6 MB / 0.8119 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/1.659, allocations: 26.58 MB / 0.8379 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/1.671, allocations: 6.394 MB / 0.8441 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/1.673, allocations: 190.3 kB / 0.8443 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01369/1.687, allocations: 6.176 MB / 0.8503 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1464): time 3.938e-05/1.687, allocations: 3.938 kB / 0.8503 GB, free: 98.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1464): time 0.0451/1.732, allocations: 17.96 MB / 0.8679 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002715/1.732, allocations: 0.7407 MB / 0.8686 GB, free: 79.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02086/1.753, allocations: 9.257 MB / 0.8776 GB, free: 70.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002637/1.756, allocations: 261.7 kB / 0.8779 GB, free: 70.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006069/1.762, allocations: 6.294 MB / 0.884 GB, free: 64.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.007657/1.77, allocations: 5.006 MB / 0.8889 GB, free: 59.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009362/1.779, allocations: 2.586 MB / 0.8914 GB, free: 56.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/1.779, allocations: 305.1 kB / 0.8917 GB, free: 56.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009061/1.788, allocations: 4.21 MB / 0.8958 GB, free: 52.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/1.799, allocations: 7.825 MB / 0.9035 GB, free: 42.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02227/1.821, allocations: 13.35 MB / 0.9165 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.821, allocations: 32 kB / 0.9165 GB, free: 28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.04052/1.862, allocations: 17.77 MB / 0.9339 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002915/1.862, allocations: 162.8 kB / 0.934 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/1.863, allocations: 104 kB / 0.9341 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02553/1.888, allocations: 5.753 MB / 0.9398 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01548/1.904, allocations: 3.628 MB / 0.9433 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3001/2.204, allocations: 33.1 MB / 0.9756 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01622/2.22, allocations: 1.187 MB / 0.9768 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/2.222, allocations: 0.5991 MB / 0.9774 GB, free: 181.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$PRE.Tgen2.breakerStatusInInternal,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1720): * Single equations (assignments): 1714 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(338,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.006419/2.229, allocations: 2.443 MB / 0.9798 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004494/2.233, allocations: 1.409 MB / 0.9811 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02403/2.257, allocations: 14.94 MB / 0.9957 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002296/2.258, allocations: 67.03 kB / 0.9958 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/2.258, allocations: 3.75 kB / 0.9958 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008885/2.267, allocations: 2.76 MB / 0.9985 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004387/2.271, allocations: 246 kB / 0.9987 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01235/2.283, allocations: 385.3 kB / 0.9991 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002691/2.286, allocations: 1.109 MB / 1 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03737/2.323, allocations: 15.02 MB / 1.015 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1065/2.43, allocations: 51 MB / 1.065 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007802/2.438, allocations: 4.367 MB / 1.069 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01137/2.449, allocations: 5.934 MB / 1.075 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of Backend: time 7.61e-07/2.449, allocations: 4 kB / 1.075 GB, free: 110.6 MB / 0.5294 GB 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.04329/2.493, allocations: 15.22 MB / 1.09 GB, free: 95.39 MB / 0.5294 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.2881/2.781, allocations: 45.61 MB / 1.134 GB, free: 177 MB / 0.5294 GB Notification: Performance of Templates: time 0.4967/3.278, allocations: 256.3 MB / 1.384 GB, free: 126.4 MB / 0.5294 GB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.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.IEEE14bus.IEEE14busPowerFlowCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowCalcHelperMain.cpp In file included from OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowCalcHelperMain.cpp:29: ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowInitialize.cpp:2600:51: error: use of undeclared identifier '_omcQ_24PRE_P_L1to5_P_breakerStatusInternalA_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_L1to5_P_breakerStatusInternalA_, _L1to5_P_breakerAStatusStart_, true); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowInitialize.cpp:2601:51: error: use of undeclared identifier '_omcQ_24PRE_P_L1to5_P_breakerStatusInternalB_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_L1to5_P_breakerStatusInternalB_, _L1to5_P_breakerBStatusStart_, true); ^ ./OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowInitialize.cpp:2602:51: error: use of undeclared identifier '_omcQ_24PRE_P_Tgen2_P_breakerStatusInInternal_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_Tgen2_P_breakerStatusInInternal_, _Tgen2_P_breakerStatusStart_, true); ^ 3 errors generated. make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlowCalcHelperMain.o] Error 1