Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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 -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009006, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.524/1.524, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05925/0.05925, allocations: 14.17 MB / 285.2 MB, free: 7.117 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.0004892/0.0004892, allocations: 15.98 kB / 348.1 MB, free: 18.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09632, allocations: 51.11 MB / 399.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.001544/0.09789, allocations: 1.137 MB / 400.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.09894, allocations: 0.5235 MB / 400.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.09903, allocations: 0 / 400.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.09905, allocations: 0 / 400.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.09915, allocations: 19.84 kB / 400.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.09935, allocations: 59.88 kB / 401 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.09955, allocations: 163.6 kB / 401.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.09961, allocations: 7.984 kB / 401.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.09978, allocations: 91.78 kB / 401.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.09991, allocations: 87.73 kB / 401.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.09997, allocations: 20 kB / 401.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.1, allocations: 12 kB / 401.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1001, allocations: 51.91 kB / 401.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.1002, allocations: 65.56 kB / 401.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1003, allocations: 76.12 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1003, allocations: 0 / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1003, allocations: 0 / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1003, allocations: 0 / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008653/0.1012, allocations: 494.9 kB / 402 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1012, allocations: 12.02 kB / 402 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1013, allocations: 23.89 kB / 402.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1015, allocations: 182.5 kB / 402.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.1016, allocations: 23.97 kB / 402.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.1017, allocations: 31.92 kB / 402.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.1023, allocations: 373.1 kB / 402.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1023, allocations: 0 / 402.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.1023, allocations: 11.97 kB / 402.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1023, allocations: 4 kB / 402.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1025, allocations: 63.89 kB / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.103, allocations: 368.6 kB / 403.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.1033, allocations: 178.5 kB / 403.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.1036, allocations: 160.8 kB / 403.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1036, allocations: 288 / 403.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008286/0.1045, allocations: 0.5228 MB / 404 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.1045, allocations: 0 / 404 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0009844/0.1055, allocations: 0.6496 MB / 404.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1055, allocations: 63.39 kB / 404.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1057, allocations: 121.8 kB / 404.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.1057, allocations: 49.69 kB / 404.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1058, allocations: 92.69 kB / 404.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.1059, allocations: 67.23 kB / 405 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.1059, allocations: 8 kB / 405 MB, free: 9.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.106, allocations: 338.7 kB / 405.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1062, allocations: 84.28 kB / 405.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1064, allocations: 151.4 kB / 405.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1065, allocations: 52.36 kB / 405.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1065, allocations: 0 / 405.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004082/0.107, allocations: 245.3 kB / 405.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.107, allocations: 4 kB / 405.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.107, allocations: 7.938 kB / 405.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.107, allocations: 4 kB / 405.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1071, allocations: 19.92 kB / 405.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1071, allocations: 12.11 kB / 405.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1074, allocations: 39.88 kB / 405.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1074, allocations: 15.98 kB / 406 MB, free: 8.398 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: locked:DISCRETE(start = lockedStart fixed = true ) "whether the tap-changer/phase-shifter is locked" type: Boolean valueUnderStop:DISCRETE(start = false fixed = true protected = true ) "whether the monitored signal is under the stop limit" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) "wheter the monitored signal is above the maximum limit" type: Boolean running:DISCRETE(start = runningStart fixed = true ) "whether the tap-changer/phase-shifter is running" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$PRE.state,state,$PRE.locked,$PRE.tap,tap,lookingToIncreaseTap,lookingToDecreaseTap,$PRE.tTapMoved,tTapMoved,$PRE.valueUnderStop,$PRE.valueAboveMax,$PRE.tValueAboveMaxWhileRunning,tValueAboveMaxWhileRunning,$PRE.running,valueAboveMax,valueUnderStop,locked,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.1076, allocations: 161.5 kB / 406.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.1077, allocations: 35.83 kB / 406.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1078, allocations: 29.62 kB / 406.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1078, allocations: 4 kB / 406.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.1078, allocations: 0 / 406.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1079, allocations: 3.984 kB / 406.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.1081, allocations: 269.4 kB / 406.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1082, allocations: 0 / 406.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.1082, allocations: 11.94 kB / 406.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1082, allocations: 4 kB / 406.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.1083, allocations: 31.94 kB / 406.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1083, allocations: 0 / 406.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1083, allocations: 0 / 406.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.1091, allocations: 0.5592 MB / 407.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1093, allocations: 112.9 kB / 407.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.1094, allocations: 27.95 kB / 407.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1096, allocations: 51.95 kB / 407.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.1098, allocations: 115.7 kB / 407.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.1099, allocations: 43.95 kB / 407.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.746e-05/0.11, allocations: 99.2 kB / 407.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.11, allocations: 0 / 407.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00033/0.1103, allocations: 71.98 kB / 407.6 MB, free: 6.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderStop,valueAboveMax,tValueAboveMaxWhileRunning) * Number of discrete states: 6 (valueAboveMax,tap,locked,state,valueUnderStop,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.1105, allocations: 129.5 kB / 407.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.1111, allocations: 301 kB / 408 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1111, allocations: 0 / 408 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.1118, allocations: 0.7263 MB / 408.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1121, allocations: 59.33 kB / 408.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1131, allocations: 488.7 kB / 409.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1135, allocations: 0.7102 MB / 410 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1136, allocations: 39.41 kB / 410 MB, free: 4.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1136, allocations: 3.938 kB / 410 MB, free: 4.203 MB / 302.1 MB Notification: Performance of Templates: time 0.005273/0.1189, allocations: 2.551 MB / 412.6 MB, free: 1.656 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.o] Error 1