Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0007444/0.0007444, allocations: 90.84 kB / 16.33 MB, free: 6.344 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.0008553/0.0008553, allocations: 186.9 kB / 17.23 MB, free: 6.234 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.46/1.46, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05807/0.05807, allocations: 14.16 MB / 285.8 MB, free: 7.129 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.0004832/0.0004832, allocations: 16 kB / 348.8 MB, free: 18.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 51.12 MB / 399.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.001374/0.1024, allocations: 1.136 MB / 401 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.1033, allocations: 0.5157 MB / 401.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.1033, allocations: 7.875 kB / 401.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1033, allocations: 0 / 401.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.1034, allocations: 7.922 kB / 401.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.1036, allocations: 67.8 kB / 401.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1038, allocations: 171.6 kB / 401.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.1038, allocations: 0 / 401.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1039, allocations: 95.78 kB / 401.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1041, allocations: 91.72 kB / 402 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1041, allocations: 12 kB / 402 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.1041, allocations: 16 kB / 402 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1042, allocations: 51.91 kB / 402.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.1043, allocations: 53.64 kB / 402.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.1044, allocations: 84.11 kB / 402.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1044, allocations: 0 / 402.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1044, allocations: 0 / 402.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1044, allocations: 4 kB / 402.2 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.0007858/0.1052, allocations: 490.9 kB / 402.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1053, allocations: 12.02 kB / 402.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.1053, allocations: 31.83 kB / 402.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1055, allocations: 178.5 kB / 402.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1055, allocations: 11.98 kB / 402.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.1056, allocations: 27.97 kB / 402.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.1061, allocations: 373.1 kB / 403.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1061, allocations: 0 / 403.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.1062, allocations: 11.98 kB / 403.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1062, allocations: 0 / 403.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1063, allocations: 71.88 kB / 403.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1068, allocations: 376.6 kB / 403.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.107, allocations: 170.5 kB / 403.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1072, allocations: 160.8 kB / 404.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1072, allocations: 4 kB / 404.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/0.108, allocations: 0.5269 MB / 404.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.108, allocations: 0 / 404.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0008776/0.1088, allocations: 0.6457 MB / 405.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1089, allocations: 63.39 kB / 405.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.109, allocations: 129.7 kB / 405.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1091, allocations: 45.69 kB / 405.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.1091, allocations: 96.7 kB / 405.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.1092, allocations: 71.22 kB / 405.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.1092, allocations: 4 kB / 405.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1093, allocations: 330.8 kB / 406 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1095, allocations: 84.3 kB / 406.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.1097, allocations: 155.4 kB / 406.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.1098, allocations: 52.34 kB / 406.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1098, allocations: 3.938 kB / 406.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003455/0.1101, allocations: 241.4 kB / 406.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1102, allocations: 8.062 kB / 406.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1102, allocations: 8 kB / 406.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1102, allocations: 0 / 406.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.1103, allocations: 15.94 kB / 406.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1103, allocations: 3.984 kB / 406.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1105, allocations: 47.88 kB / 406.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1105, allocations: 8 kB / 406.6 MB, free: 8.414 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.000185/0.1107, allocations: 161.5 kB / 406.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.1107, allocations: 27.8 kB / 406.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.1108, allocations: 33.62 kB / 406.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1108, allocations: 4.047 kB / 406.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1109, allocations: 3.984 kB / 406.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1109, allocations: 0 / 406.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1111, allocations: 281.4 kB / 407.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1111, allocations: 0 / 407.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.1111, allocations: 7.938 kB / 407.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1112, allocations: 3.938 kB / 407.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.1112, allocations: 31.95 kB / 407.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1112, allocations: 4 kB / 407.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1112, allocations: 0 / 407.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1123, allocations: 1.273 MB / 408.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.1125, allocations: 120.8 kB / 408.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.1125, allocations: 27.97 kB / 408.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1127, allocations: 47.94 kB / 408.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.1129, allocations: 107.7 kB / 408.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.113, allocations: 39.95 kB / 408.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.1131, allocations: 107.2 kB / 408.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1131, allocations: 0 / 408.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1134, allocations: 75.98 kB / 408.9 MB, free: 5.941 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.0001517/0.1136, allocations: 133.4 kB / 409.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.114, allocations: 295.8 kB / 409.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.114, allocations: 0 / 409.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.1146, allocations: 0.7225 MB / 410.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1149, allocations: 55.7 kB / 410.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.1159, allocations: 0.651 MB / 410.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1161, allocations: 0.718 MB / 411.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1162, allocations: 39.39 kB / 411.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1162, allocations: 0 / 411.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of Templates: time 0.003988/0.1202, allocations: 2.561 MB / 414.1 MB, free: 0.7109 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMaxCalcHelperMain.o] Error 1