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.001105/0.001105, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001352/0.001352, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07845/0.07845, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 68.77 kB / 372.4 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 53.56 MB / 426 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakersPF): time 0.3673/0.4925, allocations: 107.1 MB / 0.5206 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04266/0.5353, allocations: 19.92 MB / 0.5401 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.5514, allocations: 191.6 kB / 0.5402 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0143/0.5658, allocations: 2.909 MB / 0.5431 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04352/0.6093, allocations: 8.341 MB / 0.5512 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.6224, allocations: 3.315 MB / 0.5545 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02539/0.6478, allocations: 18.34 MB / 0.5724 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007644/0.6555, allocations: 2.979 MB / 0.5753 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01524/0.6708, allocations: 6.124 MB / 0.5813 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.6841, allocations: 6.463 MB / 0.5876 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00484/0.6889, allocations: 0.789 MB / 0.5883 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.7002, allocations: 1.755 MB / 0.5901 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004645/0.7048, allocations: 1.854 MB / 0.5919 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01581/0.7207, allocations: 5.736 MB / 0.5975 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02531/0.746, allocations: 13.42 MB / 0.6106 GB, free: 5.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.7461, allocations: 0 / 0.6106 GB, free: 5.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7461, allocations: 3.938 kB / 0.6106 GB, free: 5.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000558/0.7467, allocations: 0 / 0.6106 GB, free: 5.848 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.05753/0.8042, allocations: 14.32 MB / 0.6246 GB, free: 7.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.8043, allocations: 8.031 kB / 0.6246 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.8196, allocations: 2.327 MB / 0.6268 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.8358, allocations: 5.843 MB / 0.6326 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007286/0.8366, allocations: 0.67 MB / 0.6332 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.8387, allocations: 0.707 MB / 0.6339 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.8572, allocations: 8.268 MB / 0.642 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.8574, allocations: 43.56 kB / 0.642 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009746/0.8584, allocations: 312 kB / 0.6423 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.8586, allocations: 195.9 kB / 0.6425 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.8716, allocations: 6.926 MB / 0.6493 GB, free: 13.37 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.3715/1.243, allocations: 54.01 MB / 0.702 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/1.257, allocations: 8.654 MB / 0.7105 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/1.262, allocations: 2.858 MB / 0.7133 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/1.262, allocations: 103.9 kB / 0.7133 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004846/1.267, allocations: 3.434 MB / 0.7167 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=727): time 8.856e-06/1.267, allocations: 0 / 0.7167 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=727): time 0.04734/1.315, allocations: 15.49 MB / 0.7318 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/1.315, allocations: 0.6204 MB / 0.7324 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.326, allocations: 6.69 MB / 0.739 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/1.328, allocations: 176.4 kB / 0.7391 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003802/1.332, allocations: 3.427 MB / 0.7425 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.005164/1.337, allocations: 2.802 MB / 0.7452 GB, free: 134 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0089/1.346, allocations: 3.524 MB / 0.7487 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/1.346, allocations: 301.1 kB / 0.7489 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008983/1.355, allocations: 5.244 MB / 0.7541 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/1.366, allocations: 7.047 MB / 0.761 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.381, allocations: 10.58 MB / 0.7713 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.762e-05/1.381, allocations: 8 kB / 0.7713 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2563) (initialization): time 0.03538/1.417, allocations: 17.71 MB / 0.7886 GB, free: 91.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.417, allocations: 234.2 kB / 0.7888 GB, free: 90.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/1.417, allocations: 20.5 kB / 0.7888 GB, free: 90.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/1.429, allocations: 2.743 MB / 0.7915 GB, free: 88.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01533/1.445, allocations: 3.909 MB / 0.7953 GB, free: 84.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02993/1.475, allocations: 22.01 MB / 0.8168 GB, free: 61.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01584/1.491, allocations: 1.193 MB / 0.818 GB, free: 60.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/1.493, allocations: 0.6132 MB / 0.8186 GB, free: 59.73 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 (2375): * Single equations (assignments): 2363 * 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 {(44,0), (50,0), (44,0), (50,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00553/1.499, allocations: 1.846 MB / 0.8204 GB, free: 57.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002629/1.502, allocations: 0.8106 MB / 0.8212 GB, free: 57.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.515, allocations: 7.816 MB / 0.8288 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/1.515, allocations: 35.88 kB / 0.8288 GB, free: 49.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.515, allocations: 3.938 kB / 0.8288 GB, free: 49.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00583/1.521, allocations: 1.751 MB / 0.8306 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00284/1.524, allocations: 124 kB / 0.8307 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01103/1.535, allocations: 271.1 kB / 0.8309 GB, free: 46.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0019/1.537, allocations: 0.5616 MB / 0.8315 GB, free: 46.4 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01774/1.554, allocations: 8.382 MB / 0.8397 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01289/1.567, allocations: 8.729 MB / 0.8482 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002977/1.57, allocations: 2.287 MB / 0.8504 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007047/1.577, allocations: 4.032 MB / 0.8544 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of Backend: time 1.102e-06/1.577, allocations: 0 / 0.8544 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0344/1.612, allocations: 14.08 MB / 0.8681 GB, free: 8.809 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.03408/1.646, allocations: 17.22 MB / 0.8849 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.6487/2.295, allocations: 194.4 MB / 1.075 GB, free: 169.2 MB / 0.5137 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