Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestTransformerFixedRatioWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001314/0.001314, allocations: 189.9 kB / 17.2 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07925/0.07925, allocations: 16.68 MB / 307.7 MB, free: 14.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.67 kB / 372.3 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1017, allocations: 53.56 MB / 425.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF): time 0.3525/0.4542, allocations: 107.1 MB / 0.5205 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03733/0.4916, allocations: 19.92 MB / 0.5399 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.5052, allocations: 189.7 kB / 0.5401 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.5157, allocations: 2.914 MB / 0.543 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02777/0.5435, allocations: 8.355 MB / 0.5511 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.554, allocations: 3.314 MB / 0.5544 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02514/0.5791, allocations: 18.34 MB / 0.5723 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006682/0.5858, allocations: 2.975 MB / 0.5752 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/0.5992, allocations: 6.126 MB / 0.5812 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01321/0.6125, allocations: 6.471 MB / 0.5875 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003837/0.6164, allocations: 0.7852 MB / 0.5882 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.6275, allocations: 1.747 MB / 0.5899 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004298/0.6319, allocations: 1.852 MB / 0.5918 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01519/0.6471, allocations: 5.75 MB / 0.5974 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02735/0.6745, allocations: 13.41 MB / 0.6105 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6745, allocations: 0 / 0.6105 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6746, allocations: 0 / 0.6105 GB, free: 5.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004918/0.675, allocations: 0 / 0.6105 GB, free: 5.918 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1788 * Number of variables: 1788 Notification: Performance of Generate backend data structure: time 0.05667/0.7317, allocations: 14.32 MB / 0.6245 GB, free: 7.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.7318, allocations: 12.03 kB / 0.6245 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.7472, allocations: 2.331 MB / 0.6267 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/0.7639, allocations: 5.838 MB / 0.6324 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009151/0.7649, allocations: 0.6739 MB / 0.6331 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.7672, allocations: 0.7109 MB / 0.6338 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.7887, allocations: 8.258 MB / 0.6419 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003491/0.7891, allocations: 43.62 kB / 0.6419 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001817/0.7909, allocations: 312 kB / 0.6422 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.7912, allocations: 191.9 kB / 0.6424 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.8074, allocations: 6.924 MB / 0.6491 GB, free: 13.45 MB / 478.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.3044/1.112, allocations: 54.02 MB / 0.7019 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.126, allocations: 8.659 MB / 0.7103 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/1.131, allocations: 2.854 MB / 0.7131 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/1.131, allocations: 105.5 kB / 0.7132 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004579/1.136, allocations: 3.434 MB / 0.7166 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=727): time 9.458e-06/1.136, allocations: 0 / 0.7166 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=727): time 0.04667/1.182, allocations: 15.59 MB / 0.7318 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/1.182, allocations: 0.616 MB / 0.7324 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009424/1.192, allocations: 6.697 MB / 0.739 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/1.193, allocations: 172.8 kB / 0.7391 GB, free: 142 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.196, allocations: 3.429 MB / 0.7425 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003525/1.2, allocations: 2.808 MB / 0.7452 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00778/1.208, allocations: 3.519 MB / 0.7486 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/1.208, allocations: 301.1 kB / 0.7489 GB, free: 135 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008831/1.217, allocations: 5.242 MB / 0.7541 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.228, allocations: 7.053 MB / 0.7609 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/1.243, allocations: 10.57 MB / 0.7713 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.613e-05/1.244, allocations: 4 kB / 0.7713 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2563) (initialization): time 0.03564/1.279, allocations: 17.72 MB / 0.7886 GB, free: 94.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.279, allocations: 239.2 kB / 0.7888 GB, free: 94.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/1.279, allocations: 20 kB / 0.7888 GB, free: 94.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.291, allocations: 2.751 MB / 0.7915 GB, free: 91.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/1.306, allocations: 3.905 MB / 0.7953 GB, free: 87.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/1.338, allocations: 22.12 MB / 0.8169 GB, free: 64.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/1.356, allocations: 1.193 MB / 0.8181 GB, free: 63.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003154/1.359, allocations: 0.6093 MB / 0.8187 GB, free: 63.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 33 (TRBo.componentPF.breakerStatusInInternal,TRBc.componentPF.breakerStatusInInternal,TRBc.breakerStatusInInternal,CloseCommand.y,TRBo.breakerStatusInInternal,BL2.componentPF.isSlackBus,IB2.componentPF.isSlackBus,LoadBo.componentPF.isSlackBus,IBL2.componentPF.isSlackBus,$PRE.TRBo.breakerStatusInInternal,$PRE.TRBo.componentPF.breakerStatusInInternal,TRBo.componentPF.breakerStatus,$PRE.TRBo.componentPF.breakerStatus,$whenCondition8,$whenCondition7,TRBo.breakerStatus,$PRE.TRBo.breakerStatus,$whenCondition6,$whenCondition5,IBL1.componentPF.isSlackBus,BL1.componentPF.isSlackBus,LoadBc.componentPF.isSlackBus,IB1.componentPF.isSlackBus,$PRE.TRBc.componentPF.breakerStatusInInternal,TRBc.componentPF.breakerStatus,$PRE.TRBc.componentPF.breakerStatus,$whenCondition4,$whenCondition3,$PRE.TRBc.breakerStatusInInternal,TRBc.breakerStatus,$PRE.TRBc.breakerStatus,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2373): * Single equations (assignments): 2361 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(45,0), (50,0), (45,0), (50,0)} Notification: Performance of prepare postOptimizeDAE: time 0.006276/1.365, allocations: 1.838 MB / 0.8205 GB, free: 61.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003341/1.369, allocations: 0.8184 MB / 0.8213 GB, free: 60.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.383, allocations: 7.816 MB / 0.8289 GB, free: 52.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001234/1.383, allocations: 39.86 kB / 0.8289 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.383, allocations: 4 kB / 0.8289 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006647/1.389, allocations: 1.747 MB / 0.8307 GB, free: 50.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003302/1.393, allocations: 124 kB / 0.8308 GB, free: 50.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008789/1.402, allocations: 271.7 kB / 0.831 GB, free: 50.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/1.403, allocations: 0.562 MB / 0.8316 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02064/1.424, allocations: 8.398 MB / 0.8398 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.016/1.44, allocations: 8.733 MB / 0.8483 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00353/1.443, allocations: 2.288 MB / 0.8505 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008557/1.452, allocations: 4.025 MB / 0.8545 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of Backend: time 1.082e-06/1.452, allocations: 1.203 kB / 0.8545 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.03846/1.49, allocations: 14.1 MB / 0.8682 GB, free: 12.14 MB / 0.4981 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.243/1.734, allocations: 17.25 MB / 0.8851 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.4341/2.168, allocations: 194.4 MB / 1.075 GB, free: 156.2 MB / 0.4981 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF.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_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFCalcHelperMain.cpp In file included from OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFCalcHelperMain.cpp:29: ./OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFInitialize.cpp:1026:51: error: use of undeclared identifier '_omcQ_24PRE_P_TRBo_P_componentPF_P_breakerStatusInInternal_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_TRBo_P_componentPF_P_breakerStatusInInternal_, _TRBo_P_componentPF_P_breakerStatusStart_, true); ^ ./OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFInitialize.cpp:1027:51: error: use of undeclared identifier '_omcQ_24PRE_P_TRBo_P_breakerStatusInInternal_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_TRBo_P_breakerStatusInInternal_, _TRBo_P_breakerStatusStart_, true); ^ ./OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFInitialize.cpp:1028:51: error: use of undeclared identifier '_omcQ_24PRE_P_TRBc_P_breakerStatusInInternal_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_TRBc_P_breakerStatusInInternal_, _TRBc_P_breakerStatusStart_, true); ^ ./OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFInitialize.cpp:1029:51: error: use of undeclared identifier '_omcQ_24PRE_P_TRBc_P_componentPF_P_breakerStatusInInternal_' SystemDefaultImplementation::setBoolStartValue(_omcQ_24PRE_P_TRBc_P_componentPF_P_breakerStatusInInternal_, _TRBc_P_componentPF_P_breakerStatusStart_, true); ^ 4 errors generated. make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPFCalcHelperMain.o] Error 1